public class NotificationCriteria
extends java.lang.Object
DirectoryListeners.| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.message.AliasDerefMode |
aliasDerefMode
The AliasderefMode to use (default to DEREF_ALWAYS)
|
private org.apache.directory.api.ldap.model.name.Dn |
base
The Base DN to search from (default to null)
|
private int |
eventMask
The event mask to use (default to everything)
|
private org.apache.directory.api.ldap.model.filter.ExprNode |
filter
The filter to use (default to '(ObjectClass=*)')
|
private org.apache.directory.api.ldap.model.message.SearchScope |
scope
The scope to use (default to ONE_LEVEL)
|
| Constructor and Description |
|---|
NotificationCriteria()
Create a new instance of a NotiticationCriteria
|
NotificationCriteria(org.apache.directory.api.ldap.model.message.SearchRequest req)
Create a new instance of a NotiticationCriteria initialized with a search request
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.message.AliasDerefMode |
getAliasDerefMode() |
org.apache.directory.api.ldap.model.name.Dn |
getBase() |
int |
getEventMask() |
org.apache.directory.api.ldap.model.filter.ExprNode |
getFilter() |
org.apache.directory.api.ldap.model.message.SearchScope |
getScope() |
void |
setAliasDerefMode(org.apache.directory.api.ldap.model.message.AliasDerefMode aliasDerefMode) |
void |
setBase(org.apache.directory.api.ldap.model.name.Dn base) |
void |
setEventMask(EventType... eventTypes) |
void |
setEventMask(int eventMask) |
void |
setFilter(org.apache.directory.api.ldap.model.filter.ExprNode filter) |
void |
setFilter(java.lang.String filter) |
void |
setScope(org.apache.directory.api.ldap.model.message.SearchScope scope) |
java.lang.String |
toString() |
private org.apache.directory.api.ldap.model.message.SearchScope scope
private org.apache.directory.api.ldap.model.message.AliasDerefMode aliasDerefMode
private org.apache.directory.api.ldap.model.name.Dn base
private org.apache.directory.api.ldap.model.filter.ExprNode filter
private int eventMask
public NotificationCriteria()
public NotificationCriteria(org.apache.directory.api.ldap.model.message.SearchRequest req)
public void setScope(org.apache.directory.api.ldap.model.message.SearchScope scope)
scope - the scope to setpublic org.apache.directory.api.ldap.model.message.SearchScope getScope()
public void setAliasDerefMode(org.apache.directory.api.ldap.model.message.AliasDerefMode aliasDerefMode)
aliasDerefMode - the aliasDerefMode to setpublic org.apache.directory.api.ldap.model.message.AliasDerefMode getAliasDerefMode()
public void setBase(org.apache.directory.api.ldap.model.name.Dn base)
base - the base to setpublic org.apache.directory.api.ldap.model.name.Dn getBase()
public void setFilter(org.apache.directory.api.ldap.model.filter.ExprNode filter)
filter - the filter to setpublic void setFilter(java.lang.String filter)
throws java.lang.Exception
filter - the filter to setjava.lang.Exceptionpublic org.apache.directory.api.ldap.model.filter.ExprNode getFilter()
public void setEventMask(int eventMask)
eventMask - the eventMask to setpublic void setEventMask(EventType... eventTypes)
eventTypes - the eventTypes to setpublic int getEventMask()
public java.lang.String toString()
toString in class java.lang.Object