|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.module.observation.ObservationConfiguration
public class ObservationConfiguration
Bean for the observation module, loaded automatically by Content2Bean.
Field Summary | |
---|---|
javax.jcr.observation.EventListener |
deferredListener
|
org.apache.jackrabbit.core.observation.SynchronousEventListener |
synchListener
|
Constructor Summary | |
---|---|
ObservationConfiguration()
|
|
ObservationConfiguration(String name,
String description,
boolean active,
javax.jcr.observation.EventListener listener,
String repository,
String path,
String eventTypes,
boolean includeSubNodes,
String nodeType,
long delay,
long maxDelay)
|
Method Summary | |
---|---|
int |
getConvertedEventTypes()
Translates the eventTypes String into int value. |
long |
getDelay()
|
String |
getDescription()
|
String |
getEventTypes()
|
boolean |
getIncludeSubNodes()
|
javax.jcr.observation.EventListener |
getListener()
|
long |
getMaxDelay()
|
String |
getName()
Gets custom user name (node name) for the eventlistener configuration. |
String |
getNodeType()
|
String |
getPath()
|
String |
getRepository()
|
boolean |
isActive()
|
boolean |
isPopulated()
If all mandatory fields are present and valid we can instantiate the event listener. |
boolean |
isSynchronous()
|
void |
setActive(boolean active)
|
void |
setDelay(long delay)
|
void |
setDescription(String description)
|
void |
setEventTypes(String eventTypes)
|
void |
setIncludeSubNodes(boolean includeSubNodes)
|
void |
setListener(javax.jcr.observation.EventListener listener)
|
void |
setMaxDelay(long maxDelay)
|
void |
setName(String name)
Sets custom user name (node name) for the eventlistener configuration. |
void |
setNodeType(String nodeType)
|
void |
setPath(String path)
|
void |
setRepository(String repository)
|
void |
setSynchronous(boolean synchronous)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public javax.jcr.observation.EventListener deferredListener
public org.apache.jackrabbit.core.observation.SynchronousEventListener synchListener
Constructor Detail |
---|
public ObservationConfiguration()
public ObservationConfiguration(String name, String description, boolean active, javax.jcr.observation.EventListener listener, String repository, String path, String eventTypes, boolean includeSubNodes, String nodeType, long delay, long maxDelay)
Method Detail |
---|
public boolean isSynchronous()
public void setSynchronous(boolean synchronous)
public long getDelay()
public void setDelay(long delay)
public long getMaxDelay()
public void setMaxDelay(long maxDelay)
public String getNodeType()
public void setNodeType(String nodeType)
public boolean getIncludeSubNodes()
public void setIncludeSubNodes(boolean includeSubNodes)
public boolean isActive()
public void setActive(boolean active)
public String getDescription()
public void setDescription(String description)
public javax.jcr.observation.EventListener getListener()
public void setListener(javax.jcr.observation.EventListener listener)
public String getName()
public void setName(String name)
public String getEventTypes()
public void setEventTypes(String eventTypes)
public String getPath()
public void setPath(String path)
public String getRepository()
public void setRepository(String repository)
public int getConvertedEventTypes()
public boolean isPopulated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |