public class SchemaInterceptor extends BaseInterceptor
Interceptor that manages and enforces schemas.| Constructor and Description |
|---|
SchemaInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(NextInterceptor next,
AddOperationContext addContext)
Check that all the attributes exist in the schema for this entry.
|
void |
init(DirectoryService directoryService)
Initialize the Schema Service
|
EntryFilteringCursor |
list(NextInterceptor nextInterceptor,
ListOperationContext opContext)
Filters
Partition.list( ListOperationContext ) call. |
ClonedServerEntry |
lookup(NextInterceptor nextInterceptor,
LookupOperationContext opContext)
Search for an entry, using its DN.
|
void |
modify(NextInterceptor next,
ModifyOperationContext opContext)
Filters
Partition.modify( ModifyOperationContext ) 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, delete, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, listSuffixes, move, moveAndRename, removeContextPartition, unbindpublic void init(DirectoryService directoryService) throws Exception
init in interface Interceptorinit in class BaseInterceptordirectoryService - the directory service coreException - if there are problems during initializationpublic 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 ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws Exception
lookup in interface Interceptorlookup in class BaseInterceptorExceptionpublic void rename(NextInterceptor next, RenameOperationContext opContext) throws Exception
InterceptorPartition.rename( RenameOperationContext ) call.rename in interface Interceptorrename in class BaseInterceptorExceptionpublic void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
Partition.modify( ModifyOperationContext ) call.modify in interface Interceptormodify in class BaseInterceptorExceptionpublic void add(NextInterceptor next, AddOperationContext addContext) throws Exception
add in interface Interceptoradd in class BaseInterceptorExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.