|
||||||||||
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.trigger.TriggerInterceptor
public class TriggerInterceptor
The Trigger Service based on the Trigger Specification.
Constructor Summary | |
---|---|
TriggerInterceptor()
|
Method Summary | |
---|---|
void |
add(NextInterceptor next,
AddOperationContext addContext)
Filters Partition.add( AddOperationContext ) call. |
void |
delete(NextInterceptor next,
DeleteOperationContext deleteContext)
Filters Partition.delete( DeleteOperationContext ) call. |
java.util.Map<org.apache.directory.shared.ldap.trigger.ActionTime,java.util.List<org.apache.directory.shared.ldap.trigger.TriggerSpecification>> |
getActionTimeMappedTriggerSpecsForOperation(java.util.List<org.apache.directory.shared.ldap.trigger.TriggerSpecification> triggerSpecs,
org.apache.directory.shared.ldap.trigger.LdapOperation ldapOperation)
Return a selection of trigger specifications for a certain type of trigger action time. |
void |
init(DirectoryService directoryService)
This method does nothing by default. |
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 renameContext)
Filters Partition.rename( RenameOperationContext ) call. |
Methods inherited from class org.apache.directory.server.core.interceptor.BaseInterceptor |
---|
addContextPartition, bind, compare, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, list, listSuffixes, lookup, removeContextPartition, search, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriggerInterceptor()
Method Detail |
---|
public java.util.Map<org.apache.directory.shared.ldap.trigger.ActionTime,java.util.List<org.apache.directory.shared.ldap.trigger.TriggerSpecification>> getActionTimeMappedTriggerSpecsForOperation(java.util.List<org.apache.directory.shared.ldap.trigger.TriggerSpecification> triggerSpecs, org.apache.directory.shared.ldap.trigger.LdapOperation ldapOperation)
triggerSpecs
- the trigger specificationsldapOperation
- the ldap operation being performed
public void init(DirectoryService directoryService) throws java.lang.Exception
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
java.lang.Exception
public void add(NextInterceptor next, AddOperationContext addContext) throws java.lang.Exception
Interceptor
Partition.add( AddOperationContext )
call.
add
in interface Interceptor
add
in class BaseInterceptor
java.lang.Exception
public void delete(NextInterceptor next, DeleteOperationContext deleteContext) throws java.lang.Exception
Interceptor
Partition.delete( DeleteOperationContext )
call.
delete
in interface Interceptor
delete
in class BaseInterceptor
java.lang.Exception
public void modify(NextInterceptor next, 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 next, RenameOperationContext renameContext) throws java.lang.Exception
Interceptor
Partition.rename( RenameOperationContext )
call.
rename
in interface Interceptor
rename
in class BaseInterceptor
java.lang.Exception
public void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.
moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
java.lang.Exception
public void move(NextInterceptor next, MoveOperationContext opContext) throws java.lang.Exception
Interceptor
Partition.move( MoveOperationContext )
call.
move
in interface Interceptor
move
in class BaseInterceptor
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |