Package org.craftercms.studio.api.v1.to
Class NotificationConfigTO
java.lang.Object
org.craftercms.studio.api.v1.to.NotificationConfigTO
- All Implemented Interfaces:
Serializable,TimeStamped
site notification configuration
- Author:
- hyanghee
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptioncanned messagescomplete messages used for displaying complete pop-upsprotected Map<String, EmailMessageTemplateTO> email template messagesprotected ZonedDateTimeconfiguration time stampsend notice on action mappingprotected Stringsite keyprotected booleangeneral messages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the last updated dategetSite()booleanvoidsetApproverEmails(List<String> approverEmails) voidsetCannedMessages(Map<String, List<MessageTO>> cannedMessages) voidsetCompleteMessages(Map<String, String> completeMessages) voidsetDeploymentFailureNotifications(List<String> deploymentFailureNotifications) voidsetEmailMessageTemplates(Map<String, EmailMessageTemplateTO> emailMessageTemplates) voidsetErrorMessages(Map<String, String> errorMessages) voidsetLastUpdated(ZonedDateTime lastUpdated) set the last updated datevoidsetMessages(Map<String, String> messages) voidsetNewNotificationSystemEnable(boolean newNotificationSystemEnable) voidsetRepositoryMergeConflictNotifications(List<String> repositoryMergeConflictNotifications) voidsetSendNoticeMapping(Map<String, Boolean> sendNoticeMapping) voidvoidsetSubmitNotificationsMapping(Map<String, String> submitNotificationsMapping)
-
Field Details
-
_site
site key -
_cannedMessages
canned messages -
_emailMessageTemplates
email template messages -
_completeMessages
complete messages used for displaying complete pop-ups -
messages
general messages -
_sendNoticeMapping
send notice on action mapping -
errorMessages
-
_lastUpdated
configuration time stamp -
submitNotificationsMapping
-
deploymentFailureNotifications
-
approverEmails
-
isNewNotificationSystemEnable
protected boolean isNewNotificationSystemEnable -
repositoryMergeConflictNotifications
-
-
Constructor Details
-
NotificationConfigTO
-
NotificationConfigTO
public NotificationConfigTO()
-
-
Method Details
-
getSite
- Returns:
- the site
-
setSite
- Parameters:
site- the site to set
-
getCannedMessages
- Returns:
- the canned messages
-
setCannedMessages
- Parameters:
cannedMessages- the canned messages to set
-
getEmailMessageTemplates
- Returns:
- the email message templates
-
setEmailMessageTemplates
- Parameters:
emailMessageTemplates- the email message templates to set
-
getLastUpdated
Description copied from interface:TimeStampedget the last updated date- Specified by:
getLastUpdatedin interfaceTimeStamped- Returns:
- the lastUpdated
-
setLastUpdated
Description copied from interface:TimeStampedset the last updated date- Specified by:
setLastUpdatedin interfaceTimeStamped- Parameters:
lastUpdated- the lastUpdated to set
-
setCompleteMessages
- Parameters:
completeMessages- the completeMessages to set
-
getCompleteMessages
- Returns:
- the completeMessages
-
setMessages
- Parameters:
messages- the messages to set
-
getMessages
- Returns:
- the messages
-
setErrorMessages
-
getErrorMessages
-
getSendNoticeMapping
- Returns:
- the sendNoticeMapping
-
isNewNotificationSystemEnable
public boolean isNewNotificationSystemEnable() -
setNewNotificationSystemEnable
public void setNewNotificationSystemEnable(boolean newNotificationSystemEnable) -
setSendNoticeMapping
- Parameters:
sendNoticeMapping- the sendNoticeMapping to set
-
getSubmitNotificationsMapping
-
setSubmitNotificationsMapping
-
getDeploymentFailureNotifications
-
setDeploymentFailureNotifications
-
getApproverEmails
-
setApproverEmails
-
getRepositoryMergeConflictNotifications
-
setRepositoryMergeConflictNotifications
-