Package fr.becpg.repo.formulation
Class FormulationExecutor
java.lang.Object
fr.becpg.repo.formulation.FormulationExecutor
FormulationExecutor class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FormulationChainPlugin[]private org.alfresco.service.cmr.repository.NodeServiceprivate FormulationPlugin[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute.getDisabledFormulationChainIds.getState(org.alfresco.service.cmr.repository.NodeRef entityNodeRef) getState.private FormulationPluginretrievePlugin(org.alfresco.service.cmr.repository.NodeRef entityNodeRef)
-
Field Details
-
plugins
-
formulationChainPlugins
-
nodeService
@Autowired private org.alfresco.service.cmr.repository.NodeService nodeService
-
-
Constructor Details
-
FormulationExecutor
public FormulationExecutor()
-
-
Method Details
-
execute
public FormulationExecutor.FormulationExecutorState execute(org.alfresco.service.cmr.repository.NodeRef entityNodeRef, String chainId, boolean async) execute.
- Parameters:
entityNodeRef- aNodeRefobject.async- a boolean.chainId- aStringobject- Returns:
- a
FormulationExecutor.FormulationExecutorStateobject. - Throws:
FormulateException- if any.
-
getDisabledFormulationChainIds
getDisabledFormulationChainIds.
- Parameters:
entity- aReportableEntityobject- Returns:
- a
Listobject
-
getState
public FormulationExecutor.FormulationExecutorState getState(org.alfresco.service.cmr.repository.NodeRef entityNodeRef) getState.
- Parameters:
entityNodeRef- aNodeRefobject- Returns:
- a
FormulationExecutor.FormulationExecutorStateobject
-
retrievePlugin
-