Package fr.becpg.repo.web.scripts.entity
Class CompareEntityDataSourceWebScript
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.entity.CompareEntityDataSourceWebScript
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class CompareEntityDataSourceWebScript
extends org.springframework.extensions.webscripts.AbstractWebScript
The Class CompareEntityDataSourceWebscript.
- Version:
- $Id: $Id
- Author:
- querephi, matthieu, kevin
-
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 CompareEntityReportServiceprivate EntityVersionServiceprivate static final org.apache.commons.logging.Logprivate static final intprivate org.alfresco.service.cmr.repository.NodeServiceprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate org.alfresco.service.cmr.version.VersionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) voidsetCompareEntityReportService(CompareEntityReportService compareEntityReportService) Setter for the fieldcompareEntityReportService.voidsetEntityVersionService(EntityVersionService entityVersionService) Setter for the fieldentityVersionService.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the fieldnodeService.voidsetVersionService(org.alfresco.service.cmr.version.VersionService versionService) Setter for the fieldversionService.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
-
Field Details
-
MAX_ENTITIES
private static final int MAX_ENTITIES- See Also:
-
PARAM_ENTITY
- See Also:
-
PARAM_STORE_TYPE
- See Also:
-
PARAM_STORE_ID
- See Also:
-
PARAM_ID
- See Also:
-
PARAM_ENTITIES
- See Also:
-
PARAM_VERSION_LABEL
- See Also:
-
logger
private static final org.apache.commons.logging.Log logger -
compareEntityReportService
-
versionService
@Autowired private org.alfresco.service.cmr.version.VersionService versionService -
entityVersionService
-
nodeService
@Autowired private org.alfresco.service.cmr.repository.NodeService nodeService
-
-
Constructor Details
-
CompareEntityDataSourceWebScript
public CompareEntityDataSourceWebScript()
-
-
Method Details
-
setCompareEntityReportService
Setter for the field
compareEntityReportService.- Parameters:
compareEntityReportService- aCompareEntityReportServiceobject.
-
setVersionService
public void setVersionService(org.alfresco.service.cmr.version.VersionService versionService) Setter for the field
versionService.- Parameters:
versionService- aVersionServiceobject.
-
setEntityVersionService
Setter for the field
entityVersionService.- Parameters:
entityVersionService- aEntityVersionServiceobject.
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the field
nodeService.- Parameters:
nodeService- aNodeServiceobject
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException - Throws:
IOException
-