Class GetStatisticsWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.statistics.GetStatisticsWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class GetStatisticsWebScript extends org.springframework.extensions.webscripts.AbstractWebScript

GetStatisticsWebScript class.

Version:
$Id: $Id
Author:
matthieu
  • 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
     
    private static final String
    Constant PARAM_ASCENDING_ORDER="asc"
    private static final String
    Constant PARAM_DB_ASCENDING_ORDER="dbAsc"
    private static final String
    Constant PARAM_FILTER="filter"
    private static final String
    Constant PARAM_MAX_RESULTS="maxResults"
    private static final String
    Constant PARAM_SORT_BY="sortBy"
    private static final String
    Constant PARAM_TYPE="type"
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
    private AuditType
    getAuditType.
    void
    Setter for the field beCPGAuditService.

    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

    • GetStatisticsWebScript

      public GetStatisticsWebScript()
  • Method Details

    • setBeCPGAuditService

      public void setBeCPGAuditService(BeCPGAuditService beCPGAuditService)

      Setter for the field beCPGAuditService.

      Parameters:
      beCPGAuditService - a BeCPGAuditService object
    • execute

      public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
      Throws:
      IOException
    • getAuditType

      private AuditType getAuditType(String reqType)

      getAuditType.

      Parameters:
      reqType - a String object
      Returns:
      a AuditType object