Class PolicyRegistration

    • Field Detail

      • policyComponent

        protected PolicyComponent policyComponent
        The policy componenet
      • policyNames

        protected java.util.List<org.alfresco.service.namespace.QName> policyNames
        The policy names
      • className

        protected org.alfresco.service.namespace.QName className
        The class name
      • behaviour

        protected Behaviour behaviour
        The behaviour
    • Constructor Detail

      • PolicyRegistration

        public PolicyRegistration()
    • Method Detail

      • setPolicyComponent

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

        public void setPolicyName​(java.lang.String policyName)
        Set the policy name
        Parameters:
        policyName - the policy name
      • setPolicyNames

        public void setPolicyNames​(java.util.List<java.lang.String> policyNames)
        Set the policy names. The behaviour will be added for each for the policies.
        Parameters:
        policyNames - the policy names
      • setClassName

        public void setClassName​(java.lang.String className)
        Set the class name
        Parameters:
        className - the class name
      • setBehaviour

        public void setBehaviour​(Behaviour behaviour)
        Set the behaviour
        Parameters:
        behaviour - the behaviour
      • register

        public abstract void register()
        Registers the behaviour with the policy component for the policy and type specified. Called as the init method of the bean. TODO supoort service registration?