|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a Content Management-specific interface for event generation and event listener registration.
Method Summary | |
boolean |
addCategoryStateChangeListener(EbiStateChangeListener listener)
Adds a state change listener as one interested in all events that occur on categories. |
boolean |
addDocumentStateChangeListener(EbiStateChangeListener listener)
Adds a state change listener as one interested in all events that occur on documents. |
boolean |
addFolderStateChangeListener(EbiStateChangeListener listener)
Adds a state change listener as one interested in all events that occur on folders. |
boolean |
addStateChangeListener(BitSet events,
EbiDirectoryEntry entry,
int depth,
EbiStateChangeListener listener)
Adds a state change listener for specific events on a specific CM directory entry specified by its path. |
boolean |
addVetoableCategoryStateChangeListener(EbiVetoableStateChangeListener listener)
Adds a state change listener as one interested in all events that occur on categories. |
boolean |
addVetoableDocumentStateChangeListener(EbiVetoableStateChangeListener listener)
Adds a vetoable state change listener as one interested in all events that occur on documents. |
boolean |
addVetoableFolderStateChangeListener(EbiVetoableStateChangeListener listener)
Adds a state change listener as one interested in all events that occur on folders. |
boolean |
addVetoableStateChangeListener(BitSet events,
EbiDirectoryEntry entry,
int depth,
EbiVetoableStateChangeListener listener)
Adds a vetoable state change listener for specific events on a specific CM directory entry specified by its path. |
Methods implemented from interface com.sssw.fw.event.api.EbiStateChangeProducer |
addStateChangeListener,
addStateChangeListener,
addVetoableStateChangeListener,
addVetoableStateChangeListener,
fireStateChange,
fireVetoableStateChange,
getListeners,
getScpDescription,
getScpLog,
getVetoableListeners,
hasListeners,
hasVetoableListeners,
removeStateChangeListener,
removeVetoableStateChangeListener,
setScpDescription,
setScpLog |
Method Detail |
public boolean addStateChangeListener(BitSet events, EbiDirectoryEntry entry, int depth, EbiStateChangeListener listener) throws EboUnrecoverableSystemException, EboSecurityException
events
- the set of events the listener is interested in; pass in
null to signify "all events"entry
- the directory entrydepth
- specifies whether the registration is for the element named
by path (depth = 0), the element and its immediate children (depth = 1),
or some other depth of tree; a depth value of -1 corresponds to an
"infinite depth", meaning the entire subtree rooted at the pathlistener
- the listener to addpublic boolean addVetoableStateChangeListener(BitSet events, EbiDirectoryEntry entry, int depth, EbiVetoableStateChangeListener listener) throws EboUnrecoverableSystemException, EboSecurityException
events
- the set of events the listener is interested in; pass in
null to signify "all events"entry
- the directory entrydepth
- specifies whether the registration is for the element named
by path (depth = 0), the element and its immediate children (depth = 1),
or some other depth of tree; a depth value of -1 corresponds to an
"infinite depth", meaning the entire subtree rooted at the pathlistener
- the vetoable listener to addpublic boolean addDocumentStateChangeListener(EbiStateChangeListener listener)
listener
- the listener to addpublic boolean addVetoableDocumentStateChangeListener(EbiVetoableStateChangeListener listener)
listener
- the vetoable listener to addpublic boolean addFolderStateChangeListener(EbiStateChangeListener listener)
listener
- the listener to addpublic boolean addVetoableFolderStateChangeListener(EbiVetoableStateChangeListener listener)
listener
- the listener to addpublic boolean addCategoryStateChangeListener(EbiStateChangeListener listener)
listener
- the listener to addpublic boolean addVetoableCategoryStateChangeListener(EbiVetoableStateChangeListener listener)
listener
- the listener to add
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |