|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface NotificationBuilder
AdhocNotificationService| Method Summary | |
|---|---|
NotificationBuilder |
addRestrictGroup(String group)
If group restrictions are added, then the recipients must belong to at least one of the added groups. |
NotificationBuilder |
addRestrictGroups(List<String> groups)
If group restrictions are added, then the recipients must belong to at least one of the added groups. |
NotificationBuilder |
addRestrictPermission(Permissions.Permission permission)
If permission restrictions are added, then the recipients must belong to at least one of the added permissions. |
NotificationBuilder |
addRestrictPermissions(List<Permissions.Permission> permissions)
If permission restrictions are added, then the recipients must belong to at least one of the added permissions. |
NotificationBuilder |
addToEmail(String email)
|
NotificationBuilder |
addToEmails(List<String> emails)
|
NotificationBuilder |
addToGroup(String group)
|
NotificationBuilder |
addToGroups(List<String> groups)
|
NotificationBuilder |
addToUser(String user)
|
NotificationBuilder |
addToUsers(List<String> users)
|
List<String> |
getRestrictGroups()
|
String |
getTemplate()
|
com.google.common.collect.ImmutableMap<String,Object> |
getTemplateParams()
|
List<String> |
getToEmails()
|
List<String> |
getToGroups()
|
List<String> |
getToUsers()
|
boolean |
isToAssignee()
|
boolean |
isToReporter()
|
boolean |
isToVoters()
|
boolean |
isToWatchers()
|
NotificationBuilder |
setTemplate(String template)
|
NotificationBuilder |
setTemplateParams(com.google.common.collect.ImmutableMap<String,Object> params)
|
NotificationBuilder |
setToAssignee(boolean toReporter)
|
NotificationBuilder |
setToReporter(boolean toReporter)
|
NotificationBuilder |
setToVoters(boolean toVoters)
|
NotificationBuilder |
setToWatchers(boolean toWatchers)
|
| Method Detail |
|---|
NotificationBuilder setTemplate(String template)
String getTemplate()
NotificationBuilder setTemplateParams(com.google.common.collect.ImmutableMap<String,Object> params)
com.google.common.collect.ImmutableMap<String,Object> getTemplateParams()
NotificationBuilder setToReporter(boolean toReporter)
boolean isToReporter()
NotificationBuilder setToAssignee(boolean toReporter)
boolean isToAssignee()
NotificationBuilder setToWatchers(boolean toWatchers)
boolean isToWatchers()
NotificationBuilder setToVoters(boolean toVoters)
boolean isToVoters()
NotificationBuilder addToEmail(String email)
NotificationBuilder addToEmails(List<String> emails)
List<String> getToEmails()
NotificationBuilder addToGroup(String group)
NotificationBuilder addToGroups(List<String> groups)
List<String> getToGroups()
NotificationBuilder addToUser(String user)
NotificationBuilder addToUsers(List<String> users)
List<String> getToUsers()
NotificationBuilder addRestrictGroup(String group)
group - the group to add
thisaddRestrictGroups(List)NotificationBuilder addRestrictGroups(List<String> groups)
groups - a list of groups to be added
thisaddRestrictGroup(String)List<String> getRestrictGroups()
NotificationBuilder addRestrictPermission(Permissions.Permission permission)
permission - the permission to add
thisaddRestrictPermissions(List)NotificationBuilder addRestrictPermissions(List<Permissions.Permission> permissions)
permissions - the list of permissions to add
thisaddRestrictPermission(Permissions.Permission)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||