public class SubentryInterceptor extends BaseInterceptor
| Modifier and Type | Class and Description |
|---|---|
class |
SubentryInterceptor.HideEntriesFilter
SearchResultFilter used to filter out normal entries but shows subentries based on
objectClass values.
|
class |
SubentryInterceptor.HideSubentriesFilter
SearchResultFilter used to filter out subentries based on objectClass values.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
AC_AREA |
static String |
AC_INNERAREA |
static String |
COLLECTIVE_AREA |
static String |
COLLECTIVE_INNERAREA |
static String |
SCHEMA_AREA |
static String[] |
SUBENTRY_OPATTRS |
static String |
TRIGGER_AREA |
static String |
TRIGGER_INNERAREA |
| Constructor and Description |
|---|
SubentryInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(NextInterceptor next,
AddOperationContext addContext)
Filters
Partition.add( AddOperationContext ) call. |
void |
delete(NextInterceptor next,
DeleteOperationContext opContext)
Filters
Partition.delete( DeleteOperationContext ) call. |
List<org.apache.directory.shared.ldap.entry.Modification> |
getOperationalModsForAdd(org.apache.directory.shared.ldap.entry.ServerEntry entry,
org.apache.directory.shared.ldap.entry.ServerEntry operational)
Calculates the subentry operational attributes to add or replace from
a candidate entry selected by a subtree specification.
|
org.apache.directory.shared.ldap.entry.ServerEntry |
getSubentryAttributes(org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.entry.ServerEntry entryAttrs)
Evaluates the set of subentry subtrees upon an entry and returns the
operational subentry attributes that will be added to the entry if
added at the dn specified.
|
void |
init(DirectoryService directoryService)
This method does nothing by default.
|
EntryFilteringCursor |
list(NextInterceptor nextInterceptor,
ListOperationContext opContext)
Filters
Partition.list( ListOperationContext ) call. |
void |
modify(NextInterceptor next,
ModifyOperationContext opContext)
Filters
Partition.modify( ModifyOperationContext ) call. |
void |
move(NextInterceptor next,
MoveOperationContext opContext)
Filters
Partition.move( MoveOperationContext ) call. |
void |
moveAndRename(NextInterceptor next,
MoveAndRenameOperationContext opContext)
Filters
Partition.moveAndRename( MoveAndRenameOperationContext) call. |
void |
rename(NextInterceptor next,
RenameOperationContext opContext)
Filters
Partition.rename( RenameOperationContext ) call. |
EntryFilteringCursor |
search(NextInterceptor nextInterceptor,
SearchOperationContext opContext)
Filters
Partition.search( SearchOperationContext ) call. |
addContextPartition, bind, compare, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, listSuffixes, lookup, removeContextPartition, unbindpublic static final String AC_AREA
public static final String AC_INNERAREA
public static final String SCHEMA_AREA
public static final String COLLECTIVE_AREA
public static final String COLLECTIVE_INNERAREA
public static final String TRIGGER_AREA
public static final String TRIGGER_INNERAREA
public static final String[] SUBENTRY_OPATTRS
public void init(DirectoryService directoryService) throws Exception
BaseInterceptorinit in interface Interceptorinit in class BaseInterceptorExceptionpublic EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws Exception
InterceptorPartition.list( ListOperationContext ) call.list in interface Interceptorlist in class BaseInterceptorExceptionpublic EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws Exception
InterceptorPartition.search( SearchOperationContext ) call.search in interface Interceptorsearch in class BaseInterceptorExceptionpublic org.apache.directory.shared.ldap.entry.ServerEntry getSubentryAttributes(org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.entry.ServerEntry entryAttrs)
throws Exception
dn - the normalized distinguished name of the entryentryAttrs - the entry attributes are generated forException - if there are problems accessing entry informationpublic void add(NextInterceptor next, AddOperationContext addContext) throws Exception
InterceptorPartition.add( AddOperationContext ) call.add in interface Interceptoradd in class BaseInterceptorExceptionpublic void delete(NextInterceptor next, DeleteOperationContext opContext) throws Exception
InterceptorPartition.delete( DeleteOperationContext ) call.delete in interface Interceptordelete in class BaseInterceptorExceptionpublic void rename(NextInterceptor next, RenameOperationContext opContext) throws Exception
InterceptorPartition.rename( RenameOperationContext ) call.rename in interface Interceptorrename in class BaseInterceptorExceptionpublic void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws Exception
InterceptorPartition.moveAndRename( MoveAndRenameOperationContext) call.moveAndRename in interface InterceptormoveAndRename in class BaseInterceptorExceptionpublic void move(NextInterceptor next, MoveOperationContext opContext) throws Exception
InterceptorPartition.move( MoveOperationContext ) call.move in interface Interceptormove in class BaseInterceptorExceptionpublic void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
InterceptorPartition.modify( ModifyOperationContext ) call.modify in interface Interceptormodify in class BaseInterceptorExceptionpublic List<org.apache.directory.shared.ldap.entry.Modification> getOperationalModsForAdd(org.apache.directory.shared.ldap.entry.ServerEntry entry, org.apache.directory.shared.ldap.entry.ServerEntry operational) throws Exception
entry - the entry being modifiedoperational - the set of operational attributes supported by the AP
of the subentryException - if there are probelms accessing modification itemsCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.