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, unbind
public void init(DirectoryService directoryService) throws Exception
init
in interface Interceptor
init
in class BaseInterceptor
directoryService
- the directory service coreException
- if there are problems during initializationpublic EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws Exception
Interceptor
Partition.list( ListOperationContext )
call.list
in interface Interceptor
list
in class BaseInterceptor
Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws Exception
Interceptor
Partition.search( SearchOperationContext )
call.search
in interface Interceptor
search
in class BaseInterceptor
Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws Exception
lookup
in interface Interceptor
lookup
in class BaseInterceptor
Exception
public void rename(NextInterceptor next, RenameOperationContext opContext) throws Exception
Interceptor
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
Exception
public void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
Partition.modify( ModifyOperationContext )
call.modify
in interface Interceptor
modify
in class BaseInterceptor
Exception
public void add(NextInterceptor next, AddOperationContext addContext) throws Exception
add
in interface Interceptor
add
in class BaseInterceptor
Exception
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.