Open Journal Systems  3.3.0
FileUploadWizardHandler Class Reference
Inheritance diagram for FileUploadWizardHandler:
PKPFileUploadWizardHandler Handler PKPHandler

Public Member Functions

 authorize ($request, &$args, $roleAssignments)
 
- Public Member Functions inherited from PKPFileUploadWizardHandler
 __construct ()
 
_checkForRevision (&$uploadedFile, &$submissionFiles)
 
 _getMetadataForm ($request)
 
 _getUploadedFileInfo ($uploadedFile)
 
 _onlyNumbersDiffer ($a, $b)
 
 confirmRevision ($args, $request)
 
 displayFileUploadForm ($args, $request)
 
 editMetadata ($args, $request)
 
 finishFileSubmission ($args, $request)
 
 getAssocId ()
 
 getAssocType ()
 
 getFileStage ()
 
 getReviewRound ()
 
 getRevisedFileId ()
 
 getRevisionOnly ()
 
 getStageId ()
 
 getSubmission ()
 
 getUploaderRoles ()
 
 initialize ($request)
 
 startWizard ($args, $request)
 
 uploadFile ($args, $request)
 
- Public Member Functions inherited from PKPHandler
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 getApiToken ()
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, &$contextsCount=null)
 
 index ($args, $request)
 
 markRoleAssignmentsChecked ()
 
 requireSSL ()
 
 setApiToken ($apiToken)
 
 setDispatcher ($dispatcher)
 
 setEnforceRestrictedSite ($enforceRestrictedSite)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Protected Member Functions

 _attachEntities ($submissionFile)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Data Fields inherited from PKPFileUploadWizardHandler
 $_assocId
 
 $_assocType
 
 $_fileStage
 
 $_reviewRound
 
 $_revisedFileId
 
 $_revisionOnly
 
 $_uploaderRoles
 
- Data Fields inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_enforceRestrictedSite = true
 
 $_id
 
 $_isBackendPage = false
 
 $_roleAssignments = array()
 
 $_roleAssignmentsChecked = false
 
- Protected Attributes inherited from PKPHandler
 $_apiToken = null
 

Detailed Description

A controller that handles basic server-side operations of the file upload wizard.

Definition at line 25 of file FileUploadWizardHandler.inc.php.

Member Function Documentation

◆ _attachEntities()

FileUploadWizardHandler::_attachEntities (   $submissionFile)
protected

Attach any dependent entities to a new file upload.

Parameters
$submissionFileSubmissionFile

Reimplemented from PKPFileUploadWizardHandler.

Definition at line 81 of file FileUploadWizardHandler.inc.php.

References DAORegistry\getDAO().

◆ authorize()

FileUploadWizardHandler::authorize (   $request,
$args,
  $roleAssignments 
)

Authorize this request.

Routers will call this method automatically thereby enforcing authorization. This method will be called before the validate() method and before passing control on to the handler operation.

NB: This method will be called once for every request only.

Parameters
$requestRequest
$argsarray request arguments
$roleAssignmentsarray the operation role assignment, see getRoleAssignment() for more details.
Returns
boolean

Reimplemented from PKPHandler.

Definition at line 29 of file FileUploadWizardHandler.inc.php.

References PKPHandler\addPolicy(), and DAORegistry\getDAO().


The documentation for this class was generated from the following file: