Package ch.ivyteam.ivy.security
Interface IEMailNotificationSettings
- All Known Subinterfaces:
IUserEMailNotificationSettings
public interface IEMailNotificationSettings
The settings of email notification. Used for the
IUserEMailNotificationSettings on the IUser or also as
default settings on the application.- Since:
- 25.06.2010
- See Also:
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionGets the weekdays on which a daily task summary should be sent to the user if the user has one or more open tasks in his task list.booleanReturns if the whole email notification is disabled or not.booleanisSendDailyTaskSummaryOnDay(Weekday weekday) Returns if a daily task summary on the given weekday should be sent if the user has one or more open tasks in his task list.booleanReturns if an email notification should be send immediately if there is a new task for the user or one of his roles.voidsetNotificationDisabled(boolean notificationDisabled) Sets if the whole email notification is disabled or not.voidsetSendDailyTaskSummary(EnumSet<Weekday> weekdays) Sets if a daily task summary on the given weekdays should be sent if the user has one or more open tasks in his task list.voidsetSendDailyTaskSummaryOnDay(Weekday weekday, boolean sendTaskSummary) Sets if a daily task summary on the given weekday should be sent if the user has one or more open tasks in his task list.voidsetSendOnNewWorkTasks(boolean sendOnNewTasks) Sets if an email notification should be send immediately if there is a new task for the user or one of his roles.
-
Method Details
-
isNotificationDisabled
boolean isNotificationDisabled()Returns if the whole email notification is disabled or not.- Returns:
trueif the notification is disabled,falseif notification is enabled.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setNotificationDisabled
void setNotificationDisabled(boolean notificationDisabled) Sets if the whole email notification is disabled or not.- Parameters:
notificationDisabled-trueif the notification is disabled,falseif notification is enabled.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
isSendOnNewWorkTasks
boolean isSendOnNewWorkTasks()Returns if an email notification should be send immediately if there is a new task for the user or one of his roles.- Returns:
trueif email notification should be send immediately if there is new task for the user or his roles,falseif no email should be send for new tasks.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setSendOnNewWorkTasks
void setSendOnNewWorkTasks(boolean sendOnNewTasks) Sets if an email notification should be send immediately if there is a new task for the user or one of his roles.- Parameters:
sendOnNewTasks-trueif email notification should be send immediately if there is new task for the user or his roles,falseif no email should be send for new tasks.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
isSendDailyTaskSummaryOnDay
Returns if a daily task summary on the given weekday should be sent if the user has one or more open tasks in his task list.- Parameters:
weekday- the day of week for which daily task summaries are sent or not.- Returns:
trueif daily task summary should be sent on the given weekday,falseif no email is sent on the given weekday.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setSendDailyTaskSummaryOnDay
Sets if a daily task summary on the given weekday should be sent if the user has one or more open tasks in his task list.- Parameters:
weekday- the day of week for which daily task summaries should be sent or not.sendTaskSummary-trueif daily task summary should be sent on the given weekday,falseif no email is sent on the given weekday.- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getSendDailyTaskSummary
Gets the weekdays on which a daily task summary should be sent to the user if the user has one or more open tasks in his task list. -
setSendDailyTaskSummary
Sets if a daily task summary on the given weekdays should be sent if the user has one or more open tasks in his task list.
-