com.atlassian.jira.issue.subscription
Interface SubscriptionManager

All Known Implementing Classes:
DefaultSubscriptionManager

public interface SubscriptionManager


Method Summary
 org.ofbiz.core.entity.GenericValue createSubscription(com.opensymphony.user.User user, java.lang.Long filterId, java.lang.String groupName, java.lang.Long period, java.lang.Boolean emailOnEmpty)
           
 void deleteSubscription(com.opensymphony.user.User user, java.lang.Long subId)
           
 org.ofbiz.core.entity.GenericValue getSubscription(com.opensymphony.user.User user, java.lang.Long subId)
           
 org.ofbiz.core.entity.GenericValue getSubscriptionFromTriggerName(java.lang.String triggerName)
           
 java.util.List getSubscriptions(com.opensymphony.user.User user, java.lang.Long filterId)
           
 org.quartz.Trigger getTriggerFromSubscription(org.ofbiz.core.entity.GenericValue subscription)
           
 boolean hasSubscription(com.opensymphony.user.User user, java.lang.Long filterId)
           
 void runSubscription(org.ofbiz.core.entity.GenericValue subId)
           
 void runSubscription(com.opensymphony.user.User u, java.lang.Long subId)
           
 void updateSubscription(com.opensymphony.user.User u, java.lang.Long subId, java.util.Map fields, long period)
           
 

Method Detail

hasSubscription

public boolean hasSubscription(com.opensymphony.user.User user,
                               java.lang.Long filterId)
                        throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getSubscription

public org.ofbiz.core.entity.GenericValue getSubscription(com.opensymphony.user.User user,
                                                          java.lang.Long subId)
                                                   throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getSubscriptions

public java.util.List getSubscriptions(com.opensymphony.user.User user,
                                       java.lang.Long filterId)
                                throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

createSubscription

public org.ofbiz.core.entity.GenericValue createSubscription(com.opensymphony.user.User user,
                                                             java.lang.Long filterId,
                                                             java.lang.String groupName,
                                                             java.lang.Long period,
                                                             java.lang.Boolean emailOnEmpty)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

deleteSubscription

public void deleteSubscription(com.opensymphony.user.User user,
                               java.lang.Long subId)
                        throws java.lang.Exception
Throws:
java.lang.Exception

runSubscription

public void runSubscription(org.ofbiz.core.entity.GenericValue subId)
                     throws java.lang.Exception
Throws:
java.lang.Exception

runSubscription

public void runSubscription(com.opensymphony.user.User u,
                            java.lang.Long subId)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getSubscriptionFromTriggerName

public org.ofbiz.core.entity.GenericValue getSubscriptionFromTriggerName(java.lang.String triggerName)
                                                                  throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getTriggerFromSubscription

public org.quartz.Trigger getTriggerFromSubscription(org.ofbiz.core.entity.GenericValue subscription)
                                              throws org.quartz.SchedulerException
Throws:
org.quartz.SchedulerException

updateSubscription

public void updateSubscription(com.opensymphony.user.User u,
                               java.lang.Long subId,
                               java.util.Map fields,
                               long period)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2005 Atlassian. All Rights Reserved.