Class AbstractAuditWebScript

    • Constructor Detail

      • AbstractAuditWebScript

        public AbstractAuditWebScript()
    • Method Detail

      • setAuditService

        public void setAuditService​(AuditService auditService)
        Parameters:
        auditService - the service that provides the actual data
      • getI18NMessage

        protected String getI18NMessage​(String key,
                                        Object... args)
        Return an I18N'd message for the given key or the key itself if not present
        Parameters:
        args - arguments to replace the variables in the message
      • getParamAppName

        protected final String getParamAppName​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Get the application name from the request.
        Returns:
        Returns the application name or null if not present
      • getId

        protected Long getId​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Get the entry id from the request.
        Returns:
        Returns the id or null if not present
      • getParamPath

        protected String getParamPath​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Get the path from the request.
        Returns:
        Returns the path or null if not present
      • getParamEnableDisable

        protected boolean getParamEnableDisable​(org.springframework.extensions.webscripts.WebScriptRequest req)
      • getParamValue

        protected String getParamValue​(org.springframework.extensions.webscripts.WebScriptRequest req)
      • getParamValueType

        protected String getParamValueType​(org.springframework.extensions.webscripts.WebScriptRequest req)
      • getParamFromTime

        protected Long getParamFromTime​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_FROM_TIME
      • getParamToTime

        protected Long getParamToTime​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_TO_TIME
      • getParamFromId

        protected Long getParamFromId​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_FROM_ID
      • getParamToId

        protected Long getParamToId​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_TO_ID
      • getParamUser

        protected String getParamUser​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_USER
      • getParamForward

        protected boolean getParamForward​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_FORWARD
      • getParamLimit

        protected int getParamLimit​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_LIMIT
      • getParamVerbose

        protected boolean getParamVerbose​(org.springframework.extensions.webscripts.WebScriptRequest req)
        See Also:
        DEFAULT_VERBOSE