Class AbstractEventGenerationBehaviours

java.lang.Object
org.alfresco.repo.events.AbstractEventGenerationBehaviours
Direct Known Subclasses:
EventGenerationBehaviours

public abstract class AbstractEventGenerationBehaviours extends Object
Author:
steveglover
  • Field Details

  • Constructor Details

    • AbstractEventGenerationBehaviours

      public AbstractEventGenerationBehaviours()
  • Method Details

    • addBehaviour

      protected void addBehaviour(BehaviourDefinition<ClassBehaviourBinding> binding)
    • removeBehaviour

      protected void removeBehaviour(BehaviourDefinition<ClassBehaviourBinding> binding)
    • removeBehaviourImpl

      protected void removeBehaviourImpl(BehaviourDefinition<ClassBehaviourBinding> binding)
    • cleanUp

      public void cleanUp()
    • setIncludeEventTypes

      public void setIncludeEventTypes(String includeEventTypesStr)
    • setPolicyComponent

      public void setPolicyComponent(PolicyComponent policyComponent)
    • includeEventType

      protected boolean includeEventType(String eventType)
    • bindClassPolicy

      protected void bindClassPolicy(QName policyName, String eventTypeToCheck)
      Bind a class policy to a JavaBehaviour if a specific event type is enabled
      Parameters:
      policyName - the policy to implement or in other words the one we bind to the JavaBehaviour
      eventTypeToCheck - implement the policy only if the event is supported
    • bindClassPolicy

      protected void bindClassPolicy(QName policyName, QName className, String eventTypeToCheck)
      Bind a class policy to a JavaBehaviour if a specific event type is enabled
      Parameters:
      policyName - the policy to implement or in other words the one we bind to the JavaBehaviour
      className - the class to bind to
      eventTypeToCheck - implement the policy only if the event is supported
    • bindAssociationPolicy

      protected void bindAssociationPolicy(QName policyName, String eventTypeToCheck)
      Bind an association policy to a JavaBehaviour if a specific event type is enabled
      Parameters:
      policyName - the policy to implement or in other words the one we bind to the JavaBehaviour
      eventTypeToCheck - implement the policy only if this event type is enabled
    • bindClassPolicy

      protected void bindClassPolicy(QName policyName)
      Bind a class policy to a JavaBehaviour.
      Parameters:
      policyName - the policy to implement or in other words the one we bind to the JavaBehaviour