Package fr.becpg.repo.web.scripts.remote
Class GetContentWebScript
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.remote.AbstractEntityWebScript
fr.becpg.repo.web.scripts.remote.GetContentWebScript
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
GetContentWebScript class.
- Version:
- $Id: $Id
- Author:
- steven
-
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 AssociationServiceprivate org.alfresco.service.cmr.repository.ContentServiceprivate EntityReportServiceprivate static final Stringprivate org.alfresco.service.cmr.quickshare.QuickShareServiceFields inherited from class fr.becpg.repo.web.scripts.remote.AbstractEntityWebScript
advSearchService, JSON_PARAM, logger, mimetypeService, namespaceService, nodeService, PARAM_ALL_VERSION, PARAM_CALLBACK, PARAM_CALLBACK_PASSWORD, PARAM_CALLBACK_USER, 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, systemConfigurationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteInternal(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) executeInternal.voidsetAssociationService(AssociationService associationService) Setter for the fieldassociationService.voidsetContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the fieldcontentService.voidsetEntityReportService(EntityReportService entityReportService) Setter for the fieldentityReportService.voidsetQuickShareService(org.alfresco.service.cmr.quickshare.QuickShareService quickShareService) Setter for the fieldquickShareService.Methods inherited from class fr.becpg.repo.web.scripts.remote.AbstractEntityWebScript
decodeParam, execute, extractFields, extractJsonParamName, extractLists, extractParams, findEntities, findEntity, getContentType, getEntityProviderCallback, getFormat, intParam, maxResultsLimit, sendOKStatus, setAdvSearchService, setMimetypeService, setNamespaceService, setNodeService, setPermissionService, setRemoteEntityService, setRemoteRateLimiter, 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
-
PARAM_SHARE
- See Also:
-
entityReportService
-
associationService
-
contentService
private org.alfresco.service.cmr.repository.ContentService contentService
-
-
Constructor Details
-
GetContentWebScript
public GetContentWebScript()
-
-
Method Details
-
setEntityReportService
Setter for the field
entityReportService.- Parameters:
entityReportService- aEntityReportServiceobject.
-
setAssociationService
Setter for the field
associationService.- Parameters:
associationService- aAssociationServiceobject.
-
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 res) throws IOException executeInternal.
- Specified by:
executeInternalin classAbstractEntityWebScript- Parameters:
req- aWebScriptRequestobjectres- aWebScriptResponseobject- Throws:
IOException- if any.
-