Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
authorize ( $request, &$args, $roleAssignments ) | ||
deleteFile ( $args, $request ) : JSONMessage | Delete a file or revision | |
editMetadata ( $args, $request ) : JSONMessage | Edit submission file metadata modal. | |
editMetadataTab ( $args, $request ) : JSONMessage | Edit submission file metadata tab. | |
getFileManager ( $contextId, $submissionId ) : SubmissionFileManager | Get the submission file manager. | |
logDeletionEvent ( $request, $submission, $submissionFile, $user ) | Logs the deletion event using app-specific logging classes. | |
removeFileIndex ( $submission, $submissionFile ) | Remove the submission file index. | |
saveMetadata ( $args, $request ) : JSONMessage | Save the metadata of the latest revision of the requested submission file. |
Method | Description | |
---|---|---|
getUpdateNotifications ( ) : array | Get the list of notifications to be updated on metadata form submission. |
public deleteFile ( $args, $request ) : JSONMessage | ||
$args | array | |
$request | Request | |
return | JSONMessage | JSON object |
public editMetadata ( $args, $request ) : JSONMessage | ||
$args | array | |
$request | Request | |
return | JSONMessage | JSON object |
public editMetadataTab ( $args, $request ) : JSONMessage | ||
$args | array | |
$request | Request | |
return | JSONMessage | JSON object |
public getFileManager ( $contextId, $submissionId ) : SubmissionFileManager | ||
$contextId | int the context id. | |
$submissionId | int the submission id. | |
return | SubmissionFileManager |
protected getUpdateNotifications ( ) : array | ||
return | array |
abstract public logDeletionEvent ( $request, $submission, $submissionFile, $user ) | ||
$request | PKPRequest | |
$submission | Submission | |
$submissionFile | SubmissionFile | |
$user | PKPUser |
abstract public removeFileIndex ( $submission, $submissionFile ) | ||
$submission | Submission | |
$submissionFile | SubmissionFile |
public saveMetadata ( $args, $request ) : JSONMessage | ||
$args | array | |
$request | Request | |
return | JSONMessage | JSON object |