|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.policy.BehaviourFilterImpl
public class BehaviourFilterImpl
Implementation of Behaviour Filter.
| Constructor Summary | |
|---|---|
BehaviourFilterImpl()
|
|
| 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 |
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. |
void |
setDictionaryService(DictionaryService dictionaryService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BehaviourFilterImpl()
| Method Detail |
|---|
public void setDictionaryService(DictionaryService dictionaryService)
dictionaryService - dictionary servicepublic boolean disableBehaviour(QName className)
BehaviourFilter
disableBehaviour in interface BehaviourFilterclassName - the type/aspect behaviour to disable
public boolean disableBehaviour(NodeRef nodeRef,
QName className)
BehaviourFilter
disableBehaviour in interface BehaviourFilternodeRef - the node to disable forclassName - the type/aspect behaviour to disable
public void enableBehaviour(QName className)
BehaviourFilter
enableBehaviour in interface BehaviourFilterclassName - the type/aspect behaviour to enable
public void enableBehaviour(NodeRef nodeRef,
QName className)
BehaviourFilter
enableBehaviour in interface BehaviourFilternodeRef - the node to enable forclassName - the type/aspect behaviour to enablepublic void enableBehaviours(NodeRef nodeRef)
BehaviourFilter
enableBehaviours in interface BehaviourFilternodeRef - the node to enable forpublic void enableAllBehaviours()
BehaviourFilter
enableAllBehaviours in interface BehaviourFilter
public boolean isEnabled(NodeRef nodeRef,
QName className)
BehaviourFilter
isEnabled in interface BehaviourFilternodeRef - the node to test forclassName - the behaviour to test for
public boolean isEnabled(QName className)
BehaviourFilter
isEnabled in interface BehaviourFilterclassName - the behaviour to test for
public boolean isActivated()
BehaviourFilter
isActivated in interface BehaviourFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||