Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ManageFileApiHandler Class Reference
Inheritance diagram for ManageFileApiHandler:
PKPManageFileApiHandler Handler PKPHandler

Public Member Functions

 indexSubmissionFiles ($submission, $submissionFile)
 
 logDeletionEvent ($request, $submission, $submissionFile, $user)
 
 ManageFileApiHandler ()
 
- Public Member Functions inherited from PKPManageFileApiHandler
 deleteFile ($args, $request)
 
 getFileManager ($contextId, $submissionId)
 
 indexSubmissionFiles ($submission, $submissionFile)
 
 logDeletionEvent ($request, $submission, $submissionFile, $user)
 
 PKPManageFileApiHandler ()
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Class defining an AJAX API for file manipulation.

Definition at line 20 of file ManageFileApiHandler.inc.php.

Member Function Documentation

ManageFileApiHandler::indexSubmissionFiles (   $submission,
  $submissionFile 
)

indexes the files associated with a submission.

Parameters
$submissionSubmission
$submissionFileSubmissionFile

Definition at line 38 of file ManageFileApiHandler.inc.php.

References MonographSearchIndex\indexMonographFiles().

ManageFileApiHandler::logDeletionEvent (   $request,
  $submission,
  $submissionFile,
  $user 
)

logs the deletion event using app-specific logging classes.

Parameters
$requestPKPRequest
$submissionSubmission
$submissionFileSubmissionFile
$userPKPUser

Definition at line 56 of file ManageFileApiHandler.inc.php.

References SubmissionFileLog\logEvent(), and SubmissionLog\logEvent().

ManageFileApiHandler::ManageFileApiHandler ( )

Constructor.

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


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