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<NotificationRecipient> getRecipients(IssueEvent event, SchemeEntity notification)
           
 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 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<NotificationRecipient> 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 RemoveException
Throws:
RemoveException

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<Long,String> getSchemesMapByConditions(Map conditions)

getSchemesContainingEntity

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.

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


Copyright © 2002-2009 Atlassian. All Rights Reserved.