public class TriggerInterceptor extends BaseInterceptor
directoryService, dnFactory, PWD_POLICY_STATE_ATTRIBUTE_TYPES, schemaManager
Constructor and Description |
---|
TriggerInterceptor()
Creates a new instance of a TriggerInterceptor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(AddOperationContext addContext)
Filters
Partition#add( AddOperationContext ) call. |
void |
delete(DeleteOperationContext deleteContext)
Filters
Partition#delete( DeleteOperationContext ) call. |
Map<org.apache.directory.api.ldap.trigger.ActionTime,List<org.apache.directory.api.ldap.trigger.TriggerSpecification>> |
getActionTimeMappedTriggerSpecsForOperation(List<org.apache.directory.api.ldap.trigger.TriggerSpecification> triggerSpecs,
org.apache.directory.api.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(ModifyOperationContext modifyContext)
Filters
Partition#modify( ModifyOperationContext ) call. |
void |
move(MoveOperationContext moveContext)
Filters
Partition#move( MoveOperationContext ) call. |
void |
moveAndRename(MoveAndRenameOperationContext moveAndRenameContext)
Filters
Partition#moveAndRename( MoveAndRenameOperationContext) call. |
void |
rename(RenameOperationContext renameContext)
Filters
Partition#rename( RenameOperationContext ) call. |
public TriggerInterceptor()
public Map<org.apache.directory.api.ldap.trigger.ActionTime,List<org.apache.directory.api.ldap.trigger.TriggerSpecification>> getActionTimeMappedTriggerSpecsForOperation(List<org.apache.directory.api.ldap.trigger.TriggerSpecification> triggerSpecs, org.apache.directory.api.ldap.trigger.LdapOperation ldapOperation)
triggerSpecs
- the trigger specificationsldapOperation
- the ldap operation being performedpublic void init(DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
BaseInterceptor
init
in interface Interceptor
init
in class BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
public void add(AddOperationContext addContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#add( AddOperationContext )
call.add
in interface Interceptor
add
in class BaseInterceptor
addContext
- The AddOperationContext
instanceorg.apache.directory.api.ldap.model.exception.LdapException
- If we had some error while processing the Add operationpublic void delete(DeleteOperationContext deleteContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#delete( DeleteOperationContext )
call.delete
in interface Interceptor
delete
in class BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
public void modify(ModifyOperationContext modifyContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#modify( ModifyOperationContext )
call.modify
in interface Interceptor
modify
in class BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
public void move(MoveOperationContext moveContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#move( MoveOperationContext )
call.move
in interface Interceptor
move
in class BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
public void moveAndRename(MoveAndRenameOperationContext moveAndRenameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#moveAndRename( MoveAndRenameOperationContext)
call.moveAndRename
in interface Interceptor
moveAndRename
in class BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
public void rename(RenameOperationContext renameContext) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition#rename( RenameOperationContext )
call.rename
in interface Interceptor
rename
in class BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2017. All rights reserved.