public abstract class AbstractAuditWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
AuditService
.Constructor and Description |
---|
AbstractAuditWebScript() |
Modifier and Type | Method and Description |
---|---|
protected String |
getI18NMessage(String key,
Object... args)
Return an I18N'd message for the given key or the key itself if not present
|
protected Long |
getId(org.springframework.extensions.webscripts.WebScriptRequest req)
Get the entry id from the request.
|
protected String |
getParamAppName(org.springframework.extensions.webscripts.WebScriptRequest req)
Get the application name from the request.
|
protected boolean |
getParamEnableDisable(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected boolean |
getParamForward(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected Long |
getParamFromId(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected Long |
getParamFromTime(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected int |
getParamLimit(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected String |
getParamPath(org.springframework.extensions.webscripts.WebScriptRequest req)
Get the path from the request.
|
protected Long |
getParamToId(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected Long |
getParamToTime(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected String |
getParamUser(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected String |
getParamValue(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected String |
getParamValueType(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected boolean |
getParamVerbose(org.springframework.extensions.webscripts.WebScriptRequest req) |
void |
setAuditService(AuditService auditService) |
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
public static final String PARAM_APPLICATION
public static final String PARAM_PATH
public static final String PARAM_ENABLE
public static final String PARAM_VALUE
public static final String PARAM_VALUE_TYPE
public static final String PARAM_FROM_TIME
public static final String PARAM_TO_TIME
public static final String PARAM_FROM_ID
public static final String PARAM_TO_ID
public static final String PARAM_USER
public static final String PARAM_FORWARD
public static final String PARAM_LIMIT
public static final String PARAM_VERBOSE
public static final Long DEFAULT_FROM_TIME
public static final Long DEFAULT_TO_TIME
public static final Long DEFAULT_FROM_ID
public static final Long DEFAULT_TO_ID
public static final String DEFAULT_USER
public static final boolean DEFAULT_FORWARD
public static final int DEFAULT_LIMIT
public static final boolean DEFAULT_VERBOSE
public static final String JSON_KEY_ENABLED
public static final String JSON_KEY_APPLICATIONS
public static final String JSON_KEY_NAME
public static final String JSON_KEY_PATH
public static final String JSON_KEY_CLEARED
public static final String JSON_KEY_DELETED
public static final String JSON_KEY_ENTRY_COUNT
public static final String JSON_KEY_ENTRIES
public static final String JSON_KEY_ENTRY_ID
public static final String JSON_KEY_ENTRY_APPLICATION
public static final String JSON_KEY_ENTRY_USER
public static final String JSON_KEY_ENTRY_TIME
public static final String JSON_KEY_ENTRY_VALUES
protected final org.apache.commons.logging.Log logger
protected AuditService auditService
public void setAuditService(AuditService auditService)
auditService
- the service that provides the actual dataprotected String getI18NMessage(String key, Object... args)
args
- arguments to replace the variables in the messageprotected final String getParamAppName(org.springframework.extensions.webscripts.WebScriptRequest req)
protected Long getId(org.springframework.extensions.webscripts.WebScriptRequest req)
protected String getParamPath(org.springframework.extensions.webscripts.WebScriptRequest req)
protected boolean getParamEnableDisable(org.springframework.extensions.webscripts.WebScriptRequest req)
protected String getParamValue(org.springframework.extensions.webscripts.WebScriptRequest req)
protected String getParamValueType(org.springframework.extensions.webscripts.WebScriptRequest req)
protected Long getParamFromTime(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_FROM_TIME
protected Long getParamToTime(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_TO_TIME
protected Long getParamFromId(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_FROM_ID
protected Long getParamToId(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_TO_ID
protected String getParamUser(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_USER
protected boolean getParamForward(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_FORWARD
protected int getParamLimit(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_LIMIT
protected boolean getParamVerbose(org.springframework.extensions.webscripts.WebScriptRequest req)
DEFAULT_VERBOSE
Copyright © 2005–2017 Alfresco Software. All rights reserved.