Class EntryFilteringWrapperCursor
- java.lang.Object
-
- org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.entry.Entry>
-
- technology.openpool.ldap.adapter.api.cursor.apacheds.EntryFilteringWrapperCursor
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<org.apache.directory.api.ldap.model.entry.Entry>,org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>,org.apache.directory.server.core.api.filtering.EntryFilteringCursor
public class EntryFilteringWrapperCursor extends org.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.entry.Entry> implements org.apache.directory.server.core.api.filtering.EntryFilteringCursor
-
-
Constructor Summary
Constructors Constructor Description EntryFilteringWrapperCursor(org.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry> entries, org.apache.directory.server.core.api.interceptor.context.SearchOperationContext operationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddEntryFilter(org.apache.directory.server.core.api.filtering.EntryFilter filter)voidafter(org.apache.directory.api.ldap.model.entry.Entry attributes)voidafterLast()booleanavailable()voidbefore(org.apache.directory.api.ldap.model.entry.Entry attributes)voidbeforeFirst()voidclose()voidclose(Exception cause)booleanfirst()org.apache.directory.api.ldap.model.entry.Entryget()List<org.apache.directory.server.core.api.filtering.EntryFilter>getEntryFilters()org.apache.directory.server.core.api.interceptor.context.SearchOperationContextgetOperationContext()booleanlast()booleannext()booleanprevious()-
Methods inherited from class org.apache.directory.api.ldap.model.cursor.AbstractCursor
checkNotClosed, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitor, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.ldap.model.cursor.Cursor
isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, setClosureMonitor, toString
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
addEntryFilter
public boolean addEntryFilter(org.apache.directory.server.core.api.filtering.EntryFilter filter)
- Specified by:
addEntryFilterin interfaceorg.apache.directory.server.core.api.filtering.EntryFilteringCursor
-
getEntryFilters
public List<org.apache.directory.server.core.api.filtering.EntryFilter> getEntryFilters()
- Specified by:
getEntryFiltersin interfaceorg.apache.directory.server.core.api.filtering.EntryFilteringCursor
-
getOperationContext
public org.apache.directory.server.core.api.interceptor.context.SearchOperationContext getOperationContext()
- Specified by:
getOperationContextin interfaceorg.apache.directory.server.core.api.filtering.EntryFilteringCursor
-
before
public void before(org.apache.directory.api.ldap.model.entry.Entry attributes) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
beforein interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
after
public void after(org.apache.directory.api.ldap.model.entry.Entry attributes) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
afterin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
beforeFirst
public void beforeFirst() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
beforeFirstin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
afterLast
public void afterLast() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
afterLastin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
first
public boolean first() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
firstin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
last
public boolean last() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
lastin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
previous
public boolean previous() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
previousin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
available
public boolean available()
- Specified by:
availablein interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
IOException
-
close
public void close(Exception cause) throws IOException
- Specified by:
closein interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Overrides:
closein classorg.apache.directory.api.ldap.model.cursor.AbstractCursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
IOException
-
next
public boolean next() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException- Specified by:
nextin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorException
-
get
public org.apache.directory.api.ldap.model.entry.Entry get() throws org.apache.directory.api.ldap.model.cursor.InvalidCursorPositionException- Specified by:
getin interfaceorg.apache.directory.api.ldap.model.cursor.Cursor<org.apache.directory.api.ldap.model.entry.Entry>- Throws:
org.apache.directory.api.ldap.model.cursor.InvalidCursorPositionException
-
-