Class MonitorWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
fr.becpg.repo.web.scripts.admin.MonitorWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Direct Known Subclasses:
AdminModuleWebScript

public class MonitorWebScript extends org.springframework.extensions.webscripts.DeclarativeWebScript

MonitorWebScript 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 org.alfresco.repo.security.authentication.AbstractAuthenticationService
     
    private org.alfresco.service.cmr.security.AuthorityService
     
     
    private String
     
    private static final double
     
    private org.alfresco.service.cmr.repository.ContentService
     
    private DataSource
     
     
    private static final org.apache.commons.logging.Log
     
    private org.alfresco.service.namespace.NamespaceService
     
    private static final String
     
    private org.alfresco.repo.tenant.TenantAdminService
     
    private static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
    private String
    extractQNameString(org.alfresco.service.namespace.QName qname)
     
    protected Set<String>
    fillMonitoringInformation(Map<String,Object> ret, boolean includeTenantUsers)
    fillMonitoringInformation.
    private void
     
    void
    setAuthenticationService(org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService)
    Setter for the field authenticationService.
    void
    setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
    Setter for the field authorityService.
    void
    Setter for the field batchQueueService.
    void
    setBecpgSchema(String becpgSchema)
    Setter for the field becpgSchema.
    void
    setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
    Setter for the field contentService.
    void
    Setter for the field dataSource.
    void
    Setter for the field licenseManager.
    void
    setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
    Setter for the field namespaceService.
    void
    setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService)
    Setter for the field tenantAdminService.

    Methods 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

    Methods inherited from class java.lang.Object

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

    • SOLR_STATUS

      private static final String SOLR_STATUS
      See Also:
    • VOLUMETRY_QUERY

      private static final String VOLUMETRY_QUERY
      See Also:
    • BYTES_TO_MEGA_BYTES

      private static final double BYTES_TO_MEGA_BYTES
      See Also:
    • logger

      private static final org.apache.commons.logging.Log logger
    • contentService

      private org.alfresco.service.cmr.repository.ContentService contentService
    • authenticationService

      private org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService
    • licenseManager

      private BeCPGLicenseManager licenseManager
    • tenantAdminService

      private org.alfresco.repo.tenant.TenantAdminService tenantAdminService
    • becpgSchema

      private String becpgSchema
    • authorityService

      private org.alfresco.service.cmr.security.AuthorityService authorityService
    • batchQueueService

      private BatchQueueService batchQueueService
    • dataSource

      private DataSource dataSource
    • namespaceService

      private org.alfresco.service.namespace.NamespaceService namespaceService
  • Constructor Details

    • MonitorWebScript

      public MonitorWebScript()
  • Method Details

    • setNamespaceService

      public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)

      Setter for the field namespaceService.

      Parameters:
      namespaceService - a NamespaceService object
    • setDataSource

      public void setDataSource(DataSource dataSource)

      Setter for the field dataSource.

      Parameters:
      dataSource - a DataSource object
    • 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 class org.springframework.extensions.webscripts.DeclarativeWebScript
    • fillVolumetry

      private void fillVolumetry(Map<String,Object> ret)
    • extractQNameString

      private String extractQNameString(org.alfresco.service.namespace.QName qname)
    • fillMonitoringInformation

      protected Set<String> fillMonitoringInformation(Map<String,Object> ret, boolean includeTenantUsers)

      fillMonitoringInformation.

      Parameters:
      ret - a Map object
      includeTenantUsers - a boolean
      Returns:
      a Set object
    • setAuthenticationService

      public void setAuthenticationService(org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService)

      Setter for the field authenticationService.

      Parameters:
      authenticationService - a AbstractAuthenticationService object.
    • setContentService

      public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)

      Setter for the field contentService.

      Parameters:
      contentService - a ContentService object.
    • setTenantAdminService

      public void setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService)

      Setter for the field tenantAdminService.

      Parameters:
      tenantAdminService - a TenantAdminService object
    • setBecpgSchema

      public void setBecpgSchema(String becpgSchema)

      Setter for the field becpgSchema.

      Parameters:
      becpgSchema - a String object
    • setAuthorityService

      public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)

      Setter for the field authorityService.

      Parameters:
      authorityService - a AuthorityService object
    • setBatchQueueService

      public void setBatchQueueService(BatchQueueService batchQueueService)

      Setter for the field batchQueueService.

      Parameters:
      batchQueueService - a BatchQueueService object
    • setLicenseManager

      public void setLicenseManager(BeCPGLicenseManager licenseManager)

      Setter for the field licenseManager.

      Parameters:
      licenseManager - a BeCPGLicenseManager object