public class TriggerInterceptor extends BaseInterceptor
Constructor and Description |
---|
TriggerInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
add(NextInterceptor next,
AddOperationContext addContext)
Filters
Partition.add( AddOperationContext ) call. |
void |
delete(NextInterceptor next,
DeleteOperationContext deleteContext)
Filters
Partition.delete( DeleteOperationContext ) call. |
Map<org.apache.directory.shared.ldap.trigger.ActionTime,List<org.apache.directory.shared.ldap.trigger.TriggerSpecification>> |
getActionTimeMappedTriggerSpecsForOperation(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. |
addContextPartition, bind, compare, destroy, getContext, getMatchedName, getName, getPrincipal, getRootDSE, getSuffix, hasEntry, list, listSuffixes, lookup, removeContextPartition, search, unbind
public Map<org.apache.directory.shared.ldap.trigger.ActionTime,List<org.apache.directory.shared.ldap.trigger.TriggerSpecification>> getActionTimeMappedTriggerSpecsForOperation(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 performedpublic void init(DirectoryService directoryService) throws Exception
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
Exception
public void add(NextInterceptor next, AddOperationContext addContext) throws Exception
Interceptor
Partition.add( AddOperationContext )
call.add
in interface Interceptor
add
in class BaseInterceptor
Exception
public void delete(NextInterceptor next, DeleteOperationContext deleteContext) throws Exception
Interceptor
Partition.delete( DeleteOperationContext )
call.delete
in interface Interceptor
delete
in class BaseInterceptor
Exception
public void modify(NextInterceptor next, ModifyOperationContext opContext) throws Exception
Interceptor
Partition.modify( ModifyOperationContext )
call.modify
in interface Interceptor
modify
in class BaseInterceptor
Exception
public void rename(NextInterceptor next, RenameOperationContext renameContext) throws Exception
Interceptor
Partition.rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
Exception
public void moveAndRename(NextInterceptor next, MoveAndRenameOperationContext opContext) throws Exception
Interceptor
Partition.moveAndRename( MoveAndRenameOperationContext)
call.moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
Exception
public void move(NextInterceptor next, MoveOperationContext opContext) throws Exception
Interceptor
Partition.move( MoveOperationContext )
call.move
in interface Interceptor
move
in class BaseInterceptor
Exception
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.