public class WorkflowConfigurationEntity
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationTemplate(int templateType,
NotificationTemplate template)
Adds the template for Workflow Reminder.
|
void |
addNotificationTemplate(NotificationTemplate template)
Adds the template for Workflow Reminder.
|
WorkflowConfiguration |
getConfiguration()
Returns the configuration for Workflow Reminder.
|
java.util.Collection |
getNotificationTemplates()
Returns all templates for Workflow Reminder.
|
java.util.Collection |
getNotificationTemplates(int type)
Returns all notification templates for a given template type.
|
void |
removeNotificationTemplate(DistinguishedName templateDN)
Removes the template for Workflow Reminder.
|
void |
removeNotificationTemplate(int templateType,
java.lang.String templateName)
Removes the template for Workflow Reminder.
|
void |
removeNotificationTemplate(java.lang.String templateName)
Removes the template for Workflow Reminder.
|
void |
setConfiguration(WorkflowConfiguration config)
Sets the configuration for Workflow Reminder.
|
void |
setNotificationTemplate(NotificationTemplate template)
Changes the template for Workflow Reminder.
|
public WorkflowConfiguration getConfiguration()
public void setConfiguration(WorkflowConfiguration config) throws ModelCommunicationException, ModelModificationException, ObjectNotFoundException
config - configuration for Workflow Reminder.ModelCommunicationExceptionModelModificationExceptionObjectNotFoundExceptionpublic java.util.Collection getNotificationTemplates()
throws ModelCommunicationException,
ObjectNotFoundException
ModelCommunicationExceptionObjectNotFoundExceptionpublic java.util.Collection getNotificationTemplates(int type)
throws ModelCommunicationException,
ObjectNotFoundException
ModelCommunicationExceptionObjectNotFoundExceptionpublic void addNotificationTemplate(NotificationTemplate template) throws ModelCommunicationException, ModelCreationException
template - NotificationTemplate for Workflow Reminder.ModelCommunicationExceptionModelCreationExceptionpublic void addNotificationTemplate(int templateType,
NotificationTemplate template)
throws ModelCommunicationException,
ModelCreationException
templateType - type of the notification template. It must be one of the
following values:
template - NotificationTemplate for Workflow Reminder.ModelCommunicationExceptionModelCreationExceptionpublic void setNotificationTemplate(NotificationTemplate template) throws ModelCommunicationException, ModelModificationException, ObjectNotFoundException
template - NotificationTemplate for Workflow Reminder.ModelCommunicationExceptionModelModificationExceptionObjectNotFoundExceptionpublic void removeNotificationTemplate(java.lang.String templateName)
throws ModelCommunicationException,
ModelRemoveException
templateName - Name of the removal template for Workflow Reminder.ModelCommunicationExceptionModelRemoveExceptionpublic void removeNotificationTemplate(DistinguishedName templateDN) throws ModelCommunicationException, ModelRemoveException
templateDN - DN of the removal template for Workflow Reminder.ModelCommunicationExceptionModelRemoveExceptionpublic void removeNotificationTemplate(int templateType,
java.lang.String templateName)
throws ModelCommunicationException,
ModelRemoveException
templateType - type of the notification template. It must be one of the
following values:
templateName - Name of the removal template for Workflow Reminder.ModelCommunicationExceptionModelRemoveException