|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BehaviourFilter
Contract disabling and enabling policy behaviours.
Method Summary | |
---|---|
boolean |
disableBehaviour(NodeRef nodeRef,
QName className)
Disable behaviour for specific node |
boolean |
disableBehaviour(QName className)
Disable behaviour for all nodes. |
void |
enableAllBehaviours()
Enable all behaviours i.e. |
void |
enableBehaviour(NodeRef nodeRef,
QName className)
Enable behaviour for specific node |
void |
enableBehaviour(QName className)
Enable behaviour for all nodes |
void |
enableBehaviours(NodeRef nodeRef)
Enable all behaviours for specific node |
boolean |
isActivated()
Determine if any behaviours have been disabled? |
boolean |
isEnabled(NodeRef nodeRef,
QName className)
Determine if behaviour is enabled for specific node. |
boolean |
isEnabled(QName className)
Determine if behaviour is enabled across all nodes. |
Method Detail |
---|
boolean disableBehaviour(QName className)
The change applies ONLY to the current trasaction.
className
- the type/aspect behaviour to disable
boolean disableBehaviour(NodeRef nodeRef, QName className)
The change applies ONLY to the current trasaction.
nodeRef
- the node to disable forclassName
- the type/aspect behaviour to disable
void enableBehaviour(QName className)
The change applies ONLY to the current trasaction.
className
- the type/aspect behaviour to enablevoid enableBehaviour(NodeRef nodeRef, QName className)
The change applies ONLY to the current trasaction.
nodeRef
- the node to enable forclassName
- the type/aspect behaviour to enablevoid enableBehaviours(NodeRef nodeRef)
The change applies ONLY to the current trasaction.
nodeRef
- the node to enable forvoid enableAllBehaviours()
The change applies ONLY to the current trasaction.
boolean isEnabled(QName className)
The change applies ONLY to the current trasaction.
className
- the behaviour to test for
boolean isEnabled(NodeRef nodeRef, QName className)
Note: A node behaviour is enabled only when: a) the behaviour is not disabled across all nodes b) the behaviour is not disabled specifically for the provided node
The change applies ONLY to the current trasaction.
nodeRef
- the node to test forclassName
- the behaviour to test for
boolean isActivated()
The change applies ONLY to the current trasaction.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |