Package fr.becpg.repo.formulation
Interface FormulationService<T extends FormulatedEntity>
- All Known Implementing Classes:
FormulationServiceImpl
public interface FormulationService<T extends FormulatedEntity>
FormulationService interface.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionformulate(org.alfresco.service.cmr.repository.NodeRef entityNodeRef) formulate.formulate.formulate.formulate.voidregisterFormulationChain(Class<T> clazz, FormulationChain<T> chain) registerFormulationChain.booleanshouldFormulate(org.alfresco.service.cmr.repository.NodeRef entityNodeRef) shouldFormulate.
-
Field Details
-
DEFAULT_CHAIN_ID
ConstantDEFAULT_CHAIN_ID="default"- See Also:
-
FAST_FORMULATION_CHAINID
ConstantFAST_FORMULATION_CHAINID="fastFormulationChain"- See Also:
-
-
Method Details
-
formulate
formulate.
- Parameters:
entityNodeRef- aNodeRefobject.chainId- aStringobject.- Returns:
- a T object.
- Throws:
FormulateException- if any.
-
formulate
formulate.
- Parameters:
repositoryEntity- a T object.chainId- aStringobject.- Returns:
- a T object.
- Throws:
FormulateException- if any.
-
formulate
formulate.
- Parameters:
entityNodeRef- aNodeRefobject.- Returns:
- a T object.
- Throws:
FormulateException- if any.
-
formulate
formulate.
- Parameters:
repositoryEntity- a T object.- Returns:
- a T object.
- Throws:
FormulateException- if any.
-
registerFormulationChain
registerFormulationChain.
- Parameters:
clazz- aClassobject.chain- aFormulationChainobject.
-
shouldFormulate
boolean shouldFormulate(org.alfresco.service.cmr.repository.NodeRef entityNodeRef) shouldFormulate.
- Parameters:
entityNodeRef- aNodeRefobject.- Returns:
- a boolean.
-