public class NotificationCriteria extends Object
DirectoryListener
s.Constructor and Description |
---|
NotificationCriteria(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Create a new instance of a NotiticationCriteria
|
NotificationCriteria(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
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(String filter)
Set the filter
|
void |
setScope(org.apache.directory.api.ldap.model.message.SearchScope scope) |
String |
toString() |
public NotificationCriteria(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager
- The SchemaManager instancepublic NotificationCriteria(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, org.apache.directory.api.ldap.model.message.SearchRequest req)
schemaManager
- The SchemaManager instancereq
- The SearchRequestpublic 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(String filter) throws Exception
filter
- the filter to setException
- If the filter is invalidpublic 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()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.