|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.policy.BaseBehaviour
public abstract class BaseBehaviour
Base behaviour implementation
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Behaviour |
---|
Behaviour.NotificationFrequency |
Field Summary | |
---|---|
protected Behaviour.NotificationFrequency |
frequency
The notification frequency |
protected java.util.Map |
proxies
Proxies |
Constructor Summary | |
---|---|
BaseBehaviour()
Default constructor |
|
BaseBehaviour(Behaviour.NotificationFrequency frequency)
Constructor |
Method Summary | |
---|---|
void |
disable()
Disable this behaviour for the curent thread |
void |
enable()
Enable this behaviour for the current thread |
Behaviour.NotificationFrequency |
getNotificationFrequency()
Get the notification frequency |
boolean |
isEnabled()
Indicates whether the this behaviour is current enabled or not |
void |
setNotificationFrequency(Behaviour.NotificationFrequency frequency)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.policy.Behaviour |
---|
getInterface |
Field Detail |
---|
protected Behaviour.NotificationFrequency frequency
protected java.util.Map proxies
Constructor Detail |
---|
public BaseBehaviour()
public BaseBehaviour(Behaviour.NotificationFrequency frequency)
frequency
- the notification frequencyMethod Detail |
---|
public void setNotificationFrequency(Behaviour.NotificationFrequency frequency)
public void disable()
disable
in interface Behaviour
public void enable()
enable
in interface Behaviour
public boolean isEnabled()
isEnabled
in interface Behaviour
public Behaviour.NotificationFrequency getNotificationFrequency()
getNotificationFrequency
in interface Behaviour
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |