|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationSchemeManager
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.scheme.SchemeManager |
---|
PROJECT_ASSOCIATION |
Method Summary | |
---|---|
List<SchemeEntity> |
getNotificationSchemeEntities(Project project,
long entityTypeId)
Get the notification scheme entities for this project and entity type. |
org.ofbiz.core.entity.GenericValue |
getNotificationSchemeForProject(org.ofbiz.core.entity.GenericValue projectGV)
Get the notification scheme for this project. |
Set<NotificationRecipient> |
getRecipients(IssueEvent event)
Given an issue event this method returns a set of NotificationRecipient s who will receive an e-mail
notification |
Set<NotificationRecipient> |
getRecipients(IssueEvent event,
SchemeEntity notification)
Retrieve the set of recipients for the event using the specified notification entity. |
Collection<org.ofbiz.core.entity.GenericValue> |
getSchemesContainingEntity(String type,
String parameter)
This is a method that is meant to quickly get you all the schemes that contain an entity of the specified type and parameter. |
Map<Long,String> |
getSchemesMapByConditions(Map<String,?> conditions)
Retrieve a map of scheme ids to scheme names that match the specified conditions. |
boolean |
hasEntities(org.ofbiz.core.entity.GenericValue scheme,
Long event,
String type,
String parameter,
Long templateId)
|
boolean |
isHasMailServer()
|
void |
removeSchemeEntitiesForField(String fieldId)
|
Method Detail |
---|
Set<NotificationRecipient> getRecipients(IssueEvent event, SchemeEntity notification) throws org.ofbiz.core.entity.GenericEntityException
event
- issue eventnotification
- scheme entity
org.ofbiz.core.entity.GenericEntityException
boolean hasEntities(org.ofbiz.core.entity.GenericValue scheme, Long event, String type, String parameter, Long templateId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void removeSchemeEntitiesForField(String fieldId) throws RemoveException
RemoveException
boolean isHasMailServer() throws com.atlassian.mail.MailException
com.atlassian.mail.MailException
Set<NotificationRecipient> getRecipients(IssueEvent event)
NotificationRecipient
s who will receive an e-mail
notification
event
- The issue event that triggered the notification
List<SchemeEntity> getNotificationSchemeEntities(Project project, long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
project
- the projectentityTypeId
- the type of entity
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue getNotificationSchemeForProject(org.ofbiz.core.entity.GenericValue projectGV)
projectGV
- the project
Map<Long,String> getSchemesMapByConditions(Map<String,?> conditions)
conditions
- Map of conditions on which to limit the search
Collection<org.ofbiz.core.entity.GenericValue> getSchemesContainingEntity(String type, String parameter)
type
- is the entity typeparameter
- is the scheme entries parameter value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |