Class AbstractEventGenerationBehaviours

    • Constructor Detail

      • AbstractEventGenerationBehaviours

        public AbstractEventGenerationBehaviours()
    • Method Detail

      • 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​(org.alfresco.service.namespace.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​(org.alfresco.service.namespace.QName policyName,
                                       org.alfresco.service.namespace.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​(org.alfresco.service.namespace.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​(org.alfresco.service.namespace.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