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 ZonedDateTime
configuration time stampsend notice on action mappingprotected String
site keyprotected boolean
general messages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the last updated dategetSite()
boolean
void
setApproverEmails
(List<String> approverEmails) void
setCannedMessages
(Map<String, List<MessageTO>> cannedMessages) void
setCompleteMessages
(Map<String, String> completeMessages) void
setDeploymentFailureNotifications
(List<String> deploymentFailureNotifications) void
setEmailMessageTemplates
(Map<String, EmailMessageTemplateTO> emailMessageTemplates) void
setErrorMessages
(Map<String, String> errorMessages) void
setLastUpdated
(ZonedDateTime lastUpdated) set the last updated datevoid
setMessages
(Map<String, String> messages) void
setNewNotificationSystemEnable
(boolean newNotificationSystemEnable) void
setRepositoryMergeConflictNotifications
(List<String> repositoryMergeConflictNotifications) void
setSendNoticeMapping
(Map<String, Boolean> sendNoticeMapping) void
void
setSubmitNotificationsMapping
(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:TimeStamped
get the last updated date- Specified by:
getLastUpdated
in interfaceTimeStamped
- Returns:
- the lastUpdated
-
setLastUpdated
Description copied from interface:TimeStamped
set the last updated date- Specified by:
setLastUpdated
in 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
-