Package fr.becpg.repo.web.scripts.remote
Class EntityReportWebScript
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.remote.AbstractEntityWebScript
fr.becpg.repo.web.scripts.remote.EntityReportWebScript
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
EntityReportWebScript class.
- Version:
- $Id: $Id
- Author:
- rabah, 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.service.cmr.repository.ContentServiceprivate EntityReportServiceprivate static final org.apache.commons.logging.LogConstantloggerprivate static final StringConstantPARAM_LOCALE="locale"private static final StringConstantPARAM_TEMPLATE="tplNodeRef"Fields inherited from class fr.becpg.repo.web.scripts.remote.AbstractEntityWebScript
advSearchService, JSON_PARAM, mimetypeService, namespaceService, nodeService, PARAM_ALL_VERSION, PARAM_EXCLUDE_SYSTEMS, PARAM_FIELDS, PARAM_FORMAT, PARAM_LISTS, PARAM_MAX_RESULTS, PARAM_NODEREF, PARAM_PAGE, PARAM_PARAMS, PARAM_PATH, PARAM_QUERY, PARAM_TYPE, permissionService, remoteEntityService, remoteRateLimiter, securityService, systemConfigurationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteInternal(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse resp) executeInternal.private booleanA client abort takes different shapes depending on the connector: a SocketException, or the container's ClientAbortException, matched by name so that this class does not depend on container internals.voidsetContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the fieldcontentService.voidsetEntityReportService(EntityReportService entityReportService) Setter for the fieldentityReportService.Methods inherited from class fr.becpg.repo.web.scripts.remote.AbstractEntityWebScript
booleanParam, decodeParam, execute, extractFields, extractJsonParamName, extractLists, extractParams, findEntities, findEntity, getContentType, getFormat, intParam, intParam, isBrokenPipe, maxResultsHardLimit, maxResultsLimit, sendOKStatus, setAdvSearchService, setMimetypeService, setNamespaceService, setNodeService, setPermissionService, setRemoteEntityService, setRemoteRateLimiter, setSecurityService, setSystemConfigurationServiceMethods 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
-
logger
private static final org.apache.commons.logging.Log loggerConstantlogger -
PARAM_LOCALE
ConstantPARAM_LOCALE="locale"- See Also:
-
PARAM_TEMPLATE
ConstantPARAM_TEMPLATE="tplNodeRef"- See Also:
-
entityReportService
-
contentService
private org.alfresco.service.cmr.repository.ContentService contentService
-
-
Constructor Details
-
EntityReportWebScript
public EntityReportWebScript()
-
-
Method Details
-
setEntityReportService
Setter for the field
entityReportService.- Parameters:
entityReportService- aEntityReportServiceobject.
-
setContentService
public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the field
contentService.- Parameters:
contentService- aContentServiceobject.
-
executeInternal
public void executeInternal(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse resp) throws IOException executeInternal.
- Specified by:
executeInternalin classAbstractEntityWebScript- Parameters:
req- aWebScriptRequestobjectresp- aWebScriptResponseobject- Throws:
IOException- if any.
-
isClientAbort
A client abort takes different shapes depending on the connector: a SocketException, or the container's ClientAbortException, matched by name so that this class does not depend on container internals.
-