Interface FormulationService<T extends FormulatedEntity>

All Known Implementing Classes:
FormulationServiceImpl

public interface FormulationService<T extends FormulatedEntity>

FormulationService interface.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

    • DEFAULT_CHAIN_ID

      static final String DEFAULT_CHAIN_ID
      Constant DEFAULT_CHAIN_ID="default"
      See Also:
    • FAST_FORMULATION_CHAINID

      static final String FAST_FORMULATION_CHAINID
      Constant FAST_FORMULATION_CHAINID="fastFormulationChain"
      See Also:
  • Method Details

    • formulate

      T formulate(org.alfresco.service.cmr.repository.NodeRef entityNodeRef, String chainId)

      formulate.

      Parameters:
      entityNodeRef - a NodeRef object.
      chainId - a String object.
      Returns:
      a T object.
      Throws:
      FormulateException - if any.
    • formulate

      T formulate(T repositoryEntity, String chainId)

      formulate.

      Parameters:
      repositoryEntity - a T object.
      chainId - a String object.
      Returns:
      a T object.
      Throws:
      FormulateException - if any.
    • formulate

      T formulate(org.alfresco.service.cmr.repository.NodeRef entityNodeRef)

      formulate.

      Parameters:
      entityNodeRef - a NodeRef object.
      Returns:
      a T object.
      Throws:
      FormulateException - if any.
    • formulate

      T formulate(T repositoryEntity)

      formulate.

      Parameters:
      repositoryEntity - a T object.
      Returns:
      a T object.
      Throws:
      FormulateException - if any.
    • registerFormulationChain

      void registerFormulationChain(Class<T> clazz, FormulationChain<T> chain)

      registerFormulationChain.

      Parameters:
      clazz - a Class object.
      chain - a FormulationChain object.
    • shouldFormulate

      boolean shouldFormulate(org.alfresco.service.cmr.repository.NodeRef entityNodeRef)

      shouldFormulate.

      Parameters:
      entityNodeRef - a NodeRef object.
      Returns:
      a boolean.