Package org.alfresco.repo.policy
Interface BehaviourDefinition<B extends BehaviourBinding>
-
- Type Parameters:
B- The type of Binding.
@AlfrescoPublicApi public interface BehaviourDefinition<B extends BehaviourBinding>Description of a bound Behaviour.- Author:
- David Caruana
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BehaviourgetBehaviour()Gets the BehaviourBgetBinding()Gets the binding used to bind the Behaviour to the Policyorg.alfresco.service.namespace.QNamegetPolicy()Gets the Policy bound toPolicyDefinitiongetPolicyDefinition()Gets the definition of the Policy bound to
-
-
-
Method Detail
-
getPolicy
org.alfresco.service.namespace.QName getPolicy()
Gets the Policy bound to- Returns:
- the policy name
-
getPolicyDefinition
PolicyDefinition getPolicyDefinition()
Gets the definition of the Policy bound to- Returns:
- the policy definition (or null, if the Policy has not been registered yet)
-
getBinding
B getBinding()
Gets the binding used to bind the Behaviour to the Policy- Returns:
- the binding
-
getBehaviour
Behaviour getBehaviour()
Gets the Behaviour- Returns:
- the behaviour
-
-