|
||||||||||
| 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(ServerEntry entry)
|
org.apache.directory.shared.ldap.name.LdapDN |
denormalizeTypes(org.apache.directory.shared.ldap.name.LdapDN 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 Interceptorinit in class BaseInterceptorjava.lang.Exceptionpublic void destroy()
BaseInterceptor
destroy in interface Interceptordestroy in class BaseInterceptor
public void add(NextInterceptor nextInterceptor,
AddOperationContext opContext)
throws java.lang.Exception
add in interface Interceptoradd in class BaseInterceptorjava.lang.Exception
public void modify(NextInterceptor nextInterceptor,
ModifyOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.modify( ModifyOperationContext ) call.
modify in interface Interceptormodify in class BaseInterceptorjava.lang.Exception
public void rename(NextInterceptor nextInterceptor,
RenameOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.rename( RenameOperationContext ) call.
rename in interface Interceptorrename in class BaseInterceptorjava.lang.Exception
public void move(NextInterceptor nextInterceptor,
MoveOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.move( MoveOperationContext ) call.
move in interface Interceptormove in class BaseInterceptorjava.lang.Exception
public void moveAndRename(NextInterceptor nextInterceptor,
MoveAndRenameOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.moveAndRename( MoveAndRenameOperationContext) call.
moveAndRename in interface InterceptormoveAndRename in class BaseInterceptorjava.lang.Exception
public ClonedServerEntry lookup(NextInterceptor nextInterceptor,
LookupOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.lookup( LookupOperationContext ) call.
lookup in interface Interceptorlookup in class BaseInterceptorjava.lang.Exception
public EntryFilteringCursor list(NextInterceptor nextInterceptor,
ListOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.list( ListOperationContext ) call.
list in interface Interceptorlist in class BaseInterceptorjava.lang.Exception
public EntryFilteringCursor search(NextInterceptor nextInterceptor,
SearchOperationContext opContext)
throws java.lang.Exception
InterceptorPartition.search( SearchOperationContext ) call.
search in interface Interceptorsearch in class BaseInterceptorjava.lang.Exception
public void denormalizeEntryOpAttrs(ServerEntry entry)
throws java.lang.Exception
java.lang.Exception
public org.apache.directory.shared.ldap.name.LdapDN denormalizeTypes(org.apache.directory.shared.ldap.name.LdapDN 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 | |||||||||