public interface ChangeLogSearchEngine
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
RevisionOrder order)
Finds all the ChangeLogEvents altering a particular attributeType.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(org.apache.directory.api.ldap.model.ldif.ChangeType changeType,
RevisionOrder order)
Finds all the ChangeLogEvents of a particular change type.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(org.apache.directory.api.ldap.model.name.Dn dn,
RevisionOrder order)
Finds all the ChangeLogEvents on an entry.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(org.apache.directory.api.ldap.model.name.Dn base,
org.apache.directory.api.ldap.model.message.SearchScope scope,
RevisionOrder order)
Finds all the ChangeLogEvents on an entry base and/or it's children/descendants.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(org.apache.directory.api.ldap.model.filter.ExprNode filter,
RevisionOrder order)
Finds all the ChangeLogEvents matched by the filter expression tree parameter.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(LdapPrincipal principal,
RevisionOrder order)
Finds all the ChangeLogEvents triggered by a principal in the system.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(long startRevision,
long endRevision,
RevisionOrder order)
Finds the ChangeLogEvents that occurred between a revision range inclusive.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(org.apache.directory.api.ldap.model.schema.ObjectClass objectClass,
RevisionOrder order)
Finds all the ChangeLogEvents altering a particular objectClass.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
find(RevisionOrder order)
Finds all the ChangeLogEvents within the system since revision 0.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
findAfter(long revision,
RevisionOrder order)
Finds the ChangeLogEvents that occurred after a revision inclusive.
|
org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> |
findBefore(long revision,
RevisionOrder order)
Finds the ChangeLogEvents that occurred before a revision inclusive.
|
ChangeLogEvent |
lookup(long revision)
Looks up the ChangeLogEvent for a revision.
|
long |
lookup(String generalizedTime)
Looks up the revision in effect at some time specified by a generalized
time descriptor.
|
long lookup(String generalizedTime) throws Exception
generalizedTime - the generalized time descriptor to find the effective revision forException - if there are failures accessing the storeChangeLogEvent lookup(long revision) throws Exception
revision - to get a ChangeLogEvent forException - if there are failures accessing the storeIllegalArgumentException - if the revision is out of range (less than 0
and greater than the current revision)org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(RevisionOrder order) throws Exception
order - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> findBefore(long revision, RevisionOrder order) throws Exception
revision - the revision number to get the ChangeLogEvents beforeorder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeIllegalArgumentException - if the revision is out of range (less than 0
and greater than the current revision)org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> findAfter(long revision, RevisionOrder order) throws Exception
revision - the revision number to get the ChangeLogEvents afterorder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeIllegalArgumentException - if the revision is out of range (less than 0
and greater than the current revision)org.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(long startRevision, long endRevision, RevisionOrder order) throws Exception
startRevision - the revision number to start getting the ChangeLogEvents aboveendRevision - the revision number to start getting the ChangeLogEvents beloworder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeIllegalArgumentException - if the start and end revisions are out of range
(less than 0 and greater than the current revision), or if startRevision > endRevisionorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(org.apache.directory.api.ldap.model.name.Dn dn, RevisionOrder order) throws Exception
dn - the normalized Dn of the entry to get ChangeLogEvents fororder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(org.apache.directory.api.ldap.model.name.Dn base, org.apache.directory.api.ldap.model.message.SearchScope scope, RevisionOrder order) throws Exception
base - the normalized Dn of the entry base to get ChangeLogEvents forscope - the scope of the search under the base similar to LDAP search scopeorder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(LdapPrincipal principal, RevisionOrder order) throws Exception
principal - the LDAP principal who triggered the eventsorder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(org.apache.directory.api.ldap.model.ldif.ChangeType changeType, RevisionOrder order) throws Exception
changeType - the change type of the ChangeLogEvents to search fororder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, RevisionOrder order) throws Exception
attributeType - the attributeType definition for the changed attribute to search changes fororder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(org.apache.directory.api.ldap.model.schema.ObjectClass objectClass, RevisionOrder order) throws Exception
objectClass - the objectClass definition for the entries to search changes fororder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeorg.apache.directory.api.ldap.model.cursor.Cursor<ChangeLogEvent> find(org.apache.directory.api.ldap.model.filter.ExprNode filter, RevisionOrder order) throws Exception
filter - the filter to use for finding the changeorder - the order in which to return ChangeLogEvents (ordered by revision number)Exception - if there are failures accessing the storeCopyright © 2021. All rights reserved.