Class AuditLogStatusGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.AuditLogStatusGet
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class AuditLogStatusGet
extends org.springframework.extensions.webscripts.DeclarativeWebScript
GET audit log status
- Author:
- Roy Wetherall
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FilePlanService
File plan serviceprotected RecordsManagementAuditService
Records management audit service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl
(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) protected NodeRef
Helper method to get default file plan.void
setFilePlanService
(FilePlanService filePlanService) void
setRecordsManagementAuditService
(RecordsManagementAuditService rmAuditService) Sets the RecordsManagementAuditService instanceMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Field Details
-
rmAuditService
Records management audit service -
filePlanService
File plan service
-
-
Constructor Details
-
AuditLogStatusGet
public AuditLogStatusGet()
-
-
Method Details
-
setRecordsManagementAuditService
Sets the RecordsManagementAuditService instance- Parameters:
rmAuditService
- The RecordsManagementAuditService instance
-
setFilePlanService
- Parameters:
filePlanService
- file plan service
-
executeImpl
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) - Overrides:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
- See Also:
-
getDefaultFilePlan
Helper method to get default file plan.- Returns:
- NodeRef default file plan
-