Package org.alfresco.repo.policy
Interface BehaviourIndex<B extends BehaviourBinding>
- Type Parameters:
B- the type of Binding.
Index of Bound Behaviours.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeObserver(org.alfresco.repo.policy.BehaviourChangeObserver<B> observer) Add a Behaviour Change Observer.Gets all bound behaviours for the specified binding.getAll()Gets all bound behavioursGets the behaviour filter
-
Method Details
-
getAll
Collection<BehaviourDefinition> getAll()Gets all bound behaviours- Returns:
- the bound behaviours
-
find
Gets all bound behaviours for the specified binding. Note: The index may use any algorithm for determining which behaviours are returned for the binding e.g. based on hierarchical binding- Parameters:
binding- the binding- Returns:
- the associated behaviours
-
addChangeObserver
Add a Behaviour Change Observer.- Parameters:
observer- the observer
-
getFilter
BehaviourFilter getFilter()Gets the behaviour filter- Returns:
- the behaviour filter
-