Class WorkflowDefinitionType

    • Constructor Detail

      • WorkflowDefinitionType

        public WorkflowDefinitionType()
    • Method Detail

      • setPolicyComponent

        public void setPolicyComponent​(PolicyComponent policyComponent)
        Set the policy component
        Parameters:
        policyComponent - the policy component
      • setWorkflowDeployer

        public void setWorkflowDeployer​(WorkflowDeployer workflowDeployer)
        Set the workflow deployer / undeployer
        Parameters:
        workflowDeployer - the workflow deployer / undeployer
      • init

        public void init()
        The initialise method
      • onContentUpdate

        public void onContentUpdate​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                    boolean newContent)
        On content update behaviour implementation
        Specified by:
        onContentUpdate in interface ContentServicePolicies.OnContentUpdatePolicy
        Parameters:
        nodeRef - the node reference whose content has been updated
      • onUpdateProperties

        public void onUpdateProperties​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                       java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> before,
                                       java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> after)
        On update properties behaviour implementation
        Specified by:
        onUpdateProperties in interface NodeServicePolicies.OnUpdatePropertiesPolicy
        Parameters:
        nodeRef - the node reference
        before - the values of the properties before update
        after - the values of the properties after the update