Class TriggerUtils
java.lang.Object
org.apache.directory.api.ldap.trigger.TriggerUtils
A utility class for working with Triggers Execution Administrative Points
Trigger Execution Subentries and Trigger Specifications.
- Author:
- Apache Directory Project
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateTriggerExecutionSubentry(LdapContext apCtx, String subentryCN, String subtreeSpec, String prescriptiveTriggerSpec) Create the Trigger execution subentrystatic voidDefines the Administration point and administrative role for the TriggerExecution specific pointstatic voidloadEntryTriggerSpecification(LdapContext ctx, String triggerSpec) Load the trigger specification entrystatic voidloadPrescriptiveTriggerSpecification(LdapContext apCtx, String subentryCN, String triggerSpec) Load an prescriptive trigger specification
-
Method Details
-
defineTriggerExecutionSpecificPoint
Defines the Administration point and administrative role for the TriggerExecution specific point- Parameters:
apCtx- The administrative point context- Throws:
NamingException- If the operation failed
-
createTriggerExecutionSubentry
public static void createTriggerExecutionSubentry(LdapContext apCtx, String subentryCN, String subtreeSpec, String prescriptiveTriggerSpec) throws NamingException Create the Trigger execution subentry- Parameters:
apCtx- The administration point contextsubentryCN- The CN used by the suentrysubtreeSpec- The subtree specificationprescriptiveTriggerSpec- The prescriptive trigger specification- Throws:
NamingException- If the operation failed
-
loadPrescriptiveTriggerSpecification
public static void loadPrescriptiveTriggerSpecification(LdapContext apCtx, String subentryCN, String triggerSpec) throws NamingException Load an prescriptive trigger specification- Parameters:
apCtx- The administrative point contextsubentryCN- The subentry CNtriggerSpec- The trigger specification- Throws:
NamingException- If the operation failed
-
loadEntryTriggerSpecification
public static void loadEntryTriggerSpecification(LdapContext ctx, String triggerSpec) throws NamingException Load the trigger specification entry- Parameters:
ctx- The contexttriggerSpec- The trigger specification- Throws:
NamingException- If the operation failed
-