Package fr.becpg.repo.formulation.impl
Class ScriptsFormulationHandler
java.lang.Object
fr.becpg.repo.formulation.FormulationBaseHandler<FormulatedEntity>
fr.becpg.repo.formulation.impl.ScriptsFormulationHandler
- All Implemented Interfaces:
FormulationHandler<FormulatedEntity>
ScriptsFormulationHandler class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AssociationServiceprivate org.alfresco.service.cmr.repository.ContentServiceprivate SpelFormulaServiceprivate static org.apache.commons.logging.Logprivate org.alfresco.service.namespace.NamespaceServiceprivate org.alfresco.service.cmr.repository.NodeServiceprivate org.alfresco.service.cmr.repository.ScriptService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(FormulatedEntity entity) Implements processing element logic in a chain.voidsetAssociationService(AssociationService associationService) Setter for the fieldassociationService.voidsetContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the fieldcontentService.voidsetFormulaService(SpelFormulaService formulaService) Setter for the fieldformulaService.static voidsetLogger(org.apache.commons.logging.Log logger) Setter for the fieldlogger.voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) Setter for the fieldnamespaceService.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the fieldnodeService.voidsetScriptService(org.alfresco.service.cmr.repository.ScriptService scriptService) Setter for the fieldscriptService.Methods inherited from class fr.becpg.repo.formulation.FormulationBaseHandler
onError, setNextHandler, start
-
Field Details
-
nodeService
private org.alfresco.service.cmr.repository.NodeService nodeService -
namespaceService
private org.alfresco.service.namespace.NamespaceService namespaceService -
scriptService
private org.alfresco.service.cmr.repository.ScriptService scriptService -
formulaService
-
contentService
private org.alfresco.service.cmr.repository.ContentService contentService -
associationService
-
logger
private static org.apache.commons.logging.Log logger
-
-
Constructor Details
-
ScriptsFormulationHandler
public ScriptsFormulationHandler()
-
-
Method Details
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the field
nodeService.- Parameters:
nodeService- aNodeServiceobject.
-
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) Setter for the field
namespaceService.- Parameters:
namespaceService- aNamespaceServiceobject.
-
setScriptService
public void setScriptService(org.alfresco.service.cmr.repository.ScriptService scriptService) Setter for the field
scriptService.- Parameters:
scriptService- aScriptServiceobject.
-
setFormulaService
Setter for the field
formulaService.- Parameters:
formulaService- aSpelFormulaServiceobject.
-
setContentService
public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService) Setter for the field
contentService.- Parameters:
contentService- aContentServiceobject.
-
setAssociationService
Setter for the field
associationService.- Parameters:
associationService- aAssociationServiceobject.
-
setLogger
public static void setLogger(org.apache.commons.logging.Log logger) Setter for the field
logger.- Parameters:
logger- aLogobject.
-
process
Implements processing element logic in a chain.- Parameters:
entity- Any type passed as context information.- Returns:
true, if should call next handler
-