public interface NotificationSchemeManager extends SchemeManager
PROJECT_ASSOCIATION| Modifier and Type | Method and Description |
|---|---|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme)
Get all Scheme entity records for a particular scheme.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId)
Inherited from SchemeManager.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
Long entityTypeId,
String parameter)
Deprecated.
Not used - presumably this was invented in SchemeManager for Permission Schemes.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
String entityTypeId)
Deprecated.
Never worked for Strings. Since v6.4.
|
List<org.ofbiz.core.entity.GenericValue> |
getEntities(org.ofbiz.core.entity.GenericValue scheme,
String type,
Long entityTypeId)
Deprecated.
Not used - presumably this was invented in SchemeManager for Permission Schemes.
|
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
NotificationRecipients 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) |
addDefaultSchemeToProject, addDefaultSchemeToProject, addSchemeToProject, addSchemeToProject, copyScheme, copyScheme, createDefaultScheme, createScheme, createSchemeAndEntities, createSchemeEntity, createSchemeObject, deleteEntities, deleteEntity, deleteScheme, getAssociatedSchemes, getDefaultScheme, getDefaultSchemeObject, getEntities, getEntitiesByIds, getEntity, getGroups, getGroups, getProjects, getScheme, getScheme, getSchemeFor, getSchemeIdFor, getSchemeObject, getSchemeObject, getSchemeObjects, getSchemes, getSchemes, getUnassociatedSchemes, getUsers, getUsers, getUsers, getUsers, removeEntities, removeEntities, removeSchemesFromProject, removeSchemesFromProject, schemeExists, swapParameterForEntitiesOfType, updateScheme, updateSchemeList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme) throws org.ofbiz.core.entity.GenericEntityException
getEntities in interface SchemeManagerscheme - The scheme that the entities belong toorg.ofbiz.core.entity.GenericEntityException - If a DB error occursList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
getEntities in interface SchemeManagerorg.ofbiz.core.entity.GenericEntityExceptionList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, String entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
getEntities in interface SchemeManagerorg.ofbiz.core.entity.GenericEntityExceptionList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, Long entityTypeId, String parameter) throws org.ofbiz.core.entity.GenericEntityException
getEntities in interface SchemeManagerorg.ofbiz.core.entity.GenericEntityExceptionList<org.ofbiz.core.entity.GenericValue> getEntities(org.ofbiz.core.entity.GenericValue scheme, String type, Long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
getEntities in interface SchemeManagerorg.ofbiz.core.entity.GenericEntityExceptionSet<NotificationRecipient> getRecipients(IssueEvent event, SchemeEntity notification) throws org.ofbiz.core.entity.GenericEntityException
event - issue eventnotification - scheme entityorg.ofbiz.core.entity.GenericEntityExceptionboolean 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.GenericEntityExceptionvoid removeSchemeEntitiesForField(String fieldId) throws RemoveException
RemoveExceptionboolean isHasMailServer()
throws com.atlassian.mail.MailException
com.atlassian.mail.MailExceptionSet<NotificationRecipient> getRecipients(IssueEvent event)
NotificationRecipients who will receive an e-mail
notificationevent - The issue event that triggered the notificationList<SchemeEntity> getNotificationSchemeEntities(Project project, long entityTypeId) throws org.ofbiz.core.entity.GenericEntityException
Returns an empty List if there problems (e.g. more than one scheme association for the Project) encountered.
project - the projectentityTypeId - the type of entityorg.ofbiz.core.entity.GenericEntityExceptionorg.ofbiz.core.entity.GenericValue getNotificationSchemeForProject(org.ofbiz.core.entity.GenericValue projectGV)
Returns null if there problems (e.g. more than one scheme association) encountered.
projectGV - the projectMap<Long,String> getSchemesMapByConditions(Map<String,?> conditions)
conditions - Map of conditions on which to limit the searchCollection<org.ofbiz.core.entity.GenericValue> getSchemesContainingEntity(String type, String parameter)
type - is the entity typeparameter - is the scheme entries parameter valueCopyright © 2002-2017 Atlassian. All Rights Reserved.