public class POConfigurationEntity
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationTemplate(NotificationTemplate template)
Adds the template for Post Office Notification.
|
POConfiguration |
getConfiguration()
Returns the configuration for Post Office Notification.
|
java.util.Collection |
getNotificationTemplates()
Returns all templates for Post Office Notification.
|
void |
removeNotificationTemplate(java.lang.String templateName)
Removes the template for Post Office Notification.
|
void |
setConfiguration(POConfiguration config)
Sets the configuration for Post Office Notification.
|
void |
setNotificationTemplate(NotificationTemplate template)
Changes the template for Post Office Notification.
|
public POConfiguration getConfiguration()
public void setConfiguration(POConfiguration config) throws ModelCommunicationException, ModelModificationException, ObjectNotFoundException
config - configuration for Post Office Notification.ModelCommunicationExceptionModelModificationExceptionObjectNotFoundExceptionpublic java.util.Collection getNotificationTemplates()
throws ModelCommunicationException,
ObjectNotFoundException
ModelCommunicationExceptionObjectNotFoundExceptionpublic void addNotificationTemplate(NotificationTemplate template) throws ModelCommunicationException, ModelCreationException
template - NotificationTemplate for Post Office notification.ModelCommunicationExceptionModelCreationExceptionpublic void setNotificationTemplate(NotificationTemplate template) throws ModelCommunicationException, ModelModificationException, ObjectNotFoundException
template - NotificationTemplate for Post Office notification.ModelCommunicationExceptionModelModificationExceptionObjectNotFoundExceptionpublic void removeNotificationTemplate(java.lang.String templateName)
throws ModelCommunicationException,
ModelRemoveException
templateName - Name of the removal template for Post Office notification.ModelCommunicationExceptionModelRemoveException