|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.interceptor.BaseInterceptor
org.apache.directory.server.core.operational.OperationalAttributeInterceptor
public class OperationalAttributeInterceptor
An Interceptor
that adds or modifies the default attributes
of entries. There are four default attributes for now;
'creatorsName', 'createTimestamp', 'modifiersName',
and 'modifyTimestamp'.
Constructor Summary | |
---|---|
OperationalAttributeInterceptor()
Creates the operational attribute management service interceptor. |
Method Summary | |
---|---|
void |
add(NextInterceptor nextInterceptor,
AddOperationContext opContext)
Adds extra operational attributes to the entry before it is added. |
void |
denormalizeEntryOpAttrs(org.apache.directory.shared.ldap.entry.ServerEntry entry)
|
org.apache.directory.shared.ldap.name.DN |
denormalizeTypes(org.apache.directory.shared.ldap.name.DN dn)
Does not create a new DN but alters existing DN by using the first short name for an attributeType definition. |
void |
destroy()
This method does nothing by default. |
void |
init(DirectoryService directoryService)
This method does nothing by default. |
EntryFilteringCursor |
list(NextInterceptor nextInterceptor,
ListOperationContext opContext)
Filters Partition.list( ListOperationContext ) call. |
ClonedServerEntry |
lookup(NextInterceptor nextInterceptor,
LookupOperationContext opContext)
Filters Partition.lookup( LookupOperationContext ) call. |
void |
modify(NextInterceptor nextInterceptor,
ModifyOperationContext opContext)
Filters Partition.modify( ModifyOperationContext ) call. |
void |
move(NextInterceptor nextInterceptor,
MoveOperationContext opContext)
Filters Partition.move( MoveOperationContext ) call. |
void |
moveAndRename(NextInterceptor nextInterceptor,
MoveAndRenameOperationContext opContext)
Filters Partition.moveAndRename( MoveAndRenameOperationContext) call. |
void |
rename(NextInterceptor nextInterceptor,
RenameOperationContext opContext)
Filters Partition.rename( RenameOperationContext ) call. |
EntryFilteringCursor |
search(NextInterceptor nextInterceptor,
SearchOperationContext opContext)
Filters Partition.search( SearchOperationContext ) call. |
Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
---|
addContextPartition, bind, compare, delete, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, listSuffixes, removeContextPartition, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationalAttributeInterceptor()
Method Detail |
---|
public void init(DirectoryService directoryService) throws java.lang.Exception
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
java.lang.Exception
public void destroy()
BaseInterceptor
destroy
in interface Interceptor
destroy
in class BaseInterceptor
public void add(NextInterceptor nextInterceptor, AddOperationContext opContext) throws java.lang.Exception
add
in interface Interceptor
add
in class BaseInterceptor
java.lang.Exception
public void modify(NextInterceptor nextInterceptor, ModifyOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.modify( ModifyOperationContext )
call.
modify
in interface Interceptor
modify
in class BaseInterceptor
java.lang.Exception
public void rename(NextInterceptor nextInterceptor, RenameOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.rename( RenameOperationContext )
call.
rename
in interface Interceptor
rename
in class BaseInterceptor
java.lang.Exception
public void move(NextInterceptor nextInterceptor, MoveOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.move( MoveOperationContext )
call.
move
in interface Interceptor
move
in class BaseInterceptor
java.lang.Exception
public void moveAndRename(NextInterceptor nextInterceptor, MoveAndRenameOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.
moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
java.lang.Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor, LookupOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.lookup( LookupOperationContext )
call.
lookup
in interface Interceptor
lookup
in class BaseInterceptor
java.lang.Exception
public EntryFilteringCursor list(NextInterceptor nextInterceptor, ListOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.list( ListOperationContext )
call.
list
in interface Interceptor
list
in class BaseInterceptor
java.lang.Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor, SearchOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.search( SearchOperationContext )
call.
search
in interface Interceptor
search
in class BaseInterceptor
java.lang.Exception
public void denormalizeEntryOpAttrs(org.apache.directory.shared.ldap.entry.ServerEntry entry) throws java.lang.Exception
java.lang.Exception
public org.apache.directory.shared.ldap.name.DN denormalizeTypes(org.apache.directory.shared.ldap.name.DN dn) throws java.lang.Exception
dn
- the normalized distinguished name
java.lang.Exception
- if there are problems denormalizing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |