Package fr.becpg.repo.web.scripts.admin
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
FieldsModifier and TypeFieldDescriptionprivate org.alfresco.repo.security.authentication.AbstractAuthenticationServiceprivate org.alfresco.service.cmr.security.AuthorityServiceprivate BatchQueueServiceprivate Stringprivate static final doubleprivate org.alfresco.service.cmr.repository.ContentServiceprivate DataSourceprivate BeCPGLicenseManagerprivate static final org.apache.commons.logging.Logprivate org.alfresco.service.namespace.NamespaceServiceprivate static final Stringprivate org.alfresco.repo.tenant.TenantAdminServiceprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) private StringextractQNameString(org.alfresco.service.namespace.QName qname) fillMonitoringInformation(Map<String, Object> ret, boolean includeTenantUsers) fillMonitoringInformation.private voidfillVolumetry(Map<String, Object> ret) voidsetAuthenticationService(org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService) Setter for the fieldauthenticationService.voidsetAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService) Setter for the fieldauthorityService.voidsetBatchQueueService(BatchQueueService batchQueueService) Setter for the fieldbatchQueueService.voidsetBecpgSchema(String becpgSchema) Setter for the fieldbecpgSchema.voidsetContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the fieldcontentService.voidsetDataSource(DataSource dataSource) Setter for the fielddataSource.voidsetLicenseManager(BeCPGLicenseManager licenseManager) Setter for the fieldlicenseManager.voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) Setter for the fieldnamespaceService.voidsetTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService) Setter for the fieldtenantAdminService.Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods 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
-
Field Details
-
SOLR_STATUS
- See Also:
-
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
-
tenantAdminService
private org.alfresco.repo.tenant.TenantAdminService tenantAdminService -
becpgSchema
-
authorityService
private org.alfresco.service.cmr.security.AuthorityService authorityService -
batchQueueService
-
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- aNamespaceServiceobject
-
setDataSource
Setter for the field
dataSource.- Parameters:
dataSource- aDataSourceobject
-
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:
executeImplin classorg.springframework.extensions.webscripts.DeclarativeWebScript
-
fillVolumetry
-
extractQNameString
-
fillMonitoringInformation
fillMonitoringInformation.
-
setAuthenticationService
public void setAuthenticationService(org.alfresco.repo.security.authentication.AbstractAuthenticationService authenticationService) Setter for the field
authenticationService.- Parameters:
authenticationService- aAbstractAuthenticationServiceobject.
-
setContentService
public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the field
contentService.- Parameters:
contentService- aContentServiceobject.
-
setTenantAdminService
public void setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService) Setter for the field
tenantAdminService.- Parameters:
tenantAdminService- aTenantAdminServiceobject
-
setBecpgSchema
Setter for the field
becpgSchema.- Parameters:
becpgSchema- aStringobject
-
setAuthorityService
public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService) Setter for the field
authorityService.- Parameters:
authorityService- aAuthorityServiceobject
-
setBatchQueueService
Setter for the field
batchQueueService.- Parameters:
batchQueueService- aBatchQueueServiceobject
-
setLicenseManager
Setter for the field
licenseManager.- Parameters:
licenseManager- aBeCPGLicenseManagerobject
-