Class BaseAuditAdminWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.BaseAuditAdminWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Direct Known Subclasses:
AuditLogDelete, AuditLogPut

public class BaseAuditAdminWebScript extends org.springframework.extensions.webscripts.DeclarativeWebScript
Base class for all audit administration webscripts.
Author:
Gavin Cornwell
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected FilePlanService
    File plan service
    Records management audit service
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    Creates a model to represent the current status of the RM audit log.
    protected NodeRef
    Helper method to get default file plan.
    void
     
    void
    Sets the RecordsManagementAuditService instance

    Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript

    execute, executeFinallyImpl, executeImpl, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • BaseAuditAdminWebScript

      public BaseAuditAdminWebScript()
  • Method Details

    • setRecordsManagementAuditService

      public void setRecordsManagementAuditService(RecordsManagementAuditService rmAuditService)
      Sets the RecordsManagementAuditService instance
      Parameters:
      rmAuditService - The RecordsManagementAuditService instance
    • setFilePlanService

      public void setFilePlanService(FilePlanService filePlanService)
      Parameters:
      filePlanService - file plan service
    • createAuditStatusModel

      protected Map<String,Object> createAuditStatusModel()
      Creates a model to represent the current status of the RM audit log.
      Returns:
      Map of RM audit log status
    • getDefaultFilePlan

      protected NodeRef getDefaultFilePlan()
      Helper method to get default file plan.
      Returns:
      NodeRef default file plan