• Full name: \App\Infrastructure\Http\Controllers\AdminContentWorkflowController
  • Parent class: BaseController
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

requestReview

public requestReview(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


assignReviewers

public assignReviewers(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


completeReview

public completeReview(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


withdrawReview

public withdrawReview(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


approve

public approve(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


requestChanges

public requestChanges(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


publish

public publish(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


comment

public comment(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


updateComment

public updateComment(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


replyComment

public replyComment(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


resolveComment

public resolveComment(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


reopenComment

public reopenComment(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


commentSummary

public commentSummary(\App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


deleteComment

public deleteComment(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


permissions

private permissions(): array

Throws:


activity

public activity(\App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws:


revisions

public revisions(\App\Infrastructure\Services\Content\Workflow\ContentRevisionService $revisions, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$revisions \App\Infrastructure\Services\Content\Workflow\ContentRevisionService
$contentId string

Throws:


restoreRevision

public restoreRevision(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentRevisionService $revisions, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$revisions \App\Infrastructure\Services\Content\Workflow\ContentRevisionService
$contentId string

Throws:


revisionDiff

public revisionDiff(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentRevisionDiffService $diff, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$diff \App\Infrastructure\Services\Content\Workflow\ContentRevisionDiffService
$contentId string

Throws:


comments

public comments(\Qubus\Http\ServerRequest $request, \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService $workflow, string $contentId): \Psr\Http\Message\ResponseInterface

Parameters:

Parameter Type Description
$request \Qubus\Http\ServerRequest
$workflow \App\Infrastructure\Services\Content\Workflow\ContentWorkflowService
$contentId string

Throws: