com.atlassian.jira.notification
Interface NotificationSchemeManager

All Superinterfaces:
SchemeManager
All Known Implementing Classes:
DefaultNotificationSchemeManager

public interface NotificationSchemeManager
extends SchemeManager


Field Summary
 
Fields inherited from interface com.atlassian.jira.scheme.SchemeManager
PROJECT_ASSOCIATION
 
Method Summary
 org.ofbiz.core.entity.GenericValue getNotificationSchemeForProject(org.ofbiz.core.entity.GenericValue projectGV)
           
 Set getRecipients(IssueEvent event, SchemeEntity notification)
           
 Collection 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 getSchemesMapByConditions(Map conditions)
           
 boolean hasEntities(org.ofbiz.core.entity.GenericValue scheme, Long event, String type, String parameter, Long templateId)
           
 boolean isHasMailServer()
           
 void removeSchemeEntitiesForField(String fieldId)
           
 
Methods inherited from interface com.atlassian.jira.scheme.SchemeManager
addDefaultSchemeToProject, addSchemeToProject, addSchemeToProject, copyScheme, createDefaultScheme, createScheme, createSchemeAndEntities, createSchemeEntity, deleteEntity, deleteScheme, getAssociatedSchemes, getDefaultScheme, getEntities, getEntities, getEntities, getEntities, getEntities, getEntities, getEntity, getGroups, getProjects, getProjects, getScheme, getScheme, getSchemes, getSchemes, getUnassociatedSchemes, getUsers, getUsers, hasSchemeAuthority, hasSchemeAuthority, removeEntities, removeEntities, removeSchemesFromProject, removeSchemesFromProject, schemeExists, updateScheme, updateScheme
 

Method Detail

getRecipients

Set getRecipients(IssueEvent event,
                  SchemeEntity notification)
                  throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

hasEntities

boolean hasEntities(org.ofbiz.core.entity.GenericValue scheme,
                    Long event,
                    String type,
                    String parameter,
                    Long templateId)
                    throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

removeSchemeEntitiesForField

void removeSchemeEntitiesForField(String fieldId)
                                  throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

isHasMailServer

boolean isHasMailServer()
                        throws com.atlassian.mail.MailException
Throws:
com.atlassian.mail.MailException

getNotificationSchemeForProject

org.ofbiz.core.entity.GenericValue getNotificationSchemeForProject(org.ofbiz.core.entity.GenericValue projectGV)

getSchemesMapByConditions

Map getSchemesMapByConditions(Map conditions)

getSchemesContainingEntity

Collection 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.

Parameters:
type - is the entity type
parameter - is the scheme entries parameter value
Returns:
Collection of GenericValues that represents a scheme


Copyright © 2002-2007 Atlassian. All Rights Reserved.