|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.exist.fluent.Folder.DocumentsFacet.ListenersFacet
public class Folder.DocumentsFacet.ListenersFacet
The facet that gives control over listeners for documents contained directly within a folder.
| Constructor Summary | |
|---|---|
Folder.DocumentsFacet.ListenersFacet()
|
|
| Method Summary | |
|---|---|
void |
add(Set<Trigger> triggers,
Document.Listener listener)
Add a listener for all documents directly in this folder. |
void |
add(Trigger trigger,
Document.Listener listener)
Add a listener for all documents directly in this folder. |
void |
remove(Document.Listener listener)
Remove a listener previously added through this facet. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Folder.DocumentsFacet.ListenersFacet()
| Method Detail |
|---|
public void add(Trigger trigger,
Document.Listener listener)
add(EnumSet.of(trigger), listener).
trigger - the kind of event the listener should be notified oflistener - the listener to notify of eventsadd(Set, Document.Listener)
public void add(Set<Trigger> triggers,
Document.Listener listener)
triggers - the kinds of events the listener should be notified of; the set must not be emptylistener - the listener to notify of eventspublic void remove(Document.Listener listener)
add methods. However, it will not remove the listener from combinations
added through other facets.
listener - the listener to remove
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||