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)
           
 java.util.Set<NotificationRecipient> getRecipients(IssueEvent event, SchemeEntity notification)
           
 java.util.Collection<org.ofbiz.core.entity.GenericValue> getSchemesContainingEntity(java.lang.String type, java.lang.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.
 java.util.Map<java.lang.Long,java.lang.String> getSchemesMapByConditions(java.util.Map conditions)
           
 boolean hasEntities(org.ofbiz.core.entity.GenericValue scheme, java.lang.Long event, java.lang.String type, java.lang.String parameter, java.lang.Long templateId)
           
 boolean isHasMailServer()
           
 void removeSchemeEntitiesForField(java.lang.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

java.util.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,
                    java.lang.Long event,
                    java.lang.String type,
                    java.lang.String parameter,
                    java.lang.Long templateId)
                    throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

removeSchemeEntitiesForField

void removeSchemeEntitiesForField(java.lang.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

java.util.Map<java.lang.Long,java.lang.String> getSchemesMapByConditions(java.util.Map conditions)

getSchemesContainingEntity

java.util.Collection<org.ofbiz.core.entity.GenericValue> getSchemesContainingEntity(java.lang.String type,
                                                                                    java.lang.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-2010 Atlassian. All Rights Reserved.