com.atlassian.jira.issue.subscription
Interface SubscriptionManager

All Known Implementing Classes:
DefaultSubscriptionManager

public interface SubscriptionManager


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

Method Detail

hasSubscription

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

getSubscription

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

getSubscriptions

public List getSubscriptions(User user,
                             Long filterId)
                      throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

createSubscription

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

deleteSubscription

public void deleteSubscription(Long subId)
                        throws Exception
Throws:
Exception

runSubscription

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

runSubscription

public void runSubscription(User u,
                            Long subId)
                     throws Exception
Throws:
Exception

getSubscriptionFromTriggerName

public org.ofbiz.core.entity.GenericValue getSubscriptionFromTriggerName(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(User u,
                               Long subId,
                               Map fields,
                               long period)
                        throws Exception
Throws:
Exception

getAllSubscriptions

public List getAllSubscriptions(Long filterId)

getAllSubscriptions

public List getAllSubscriptions()

deleteSubscriptionsForUser

public void deleteSubscriptionsForUser(User user)
                                throws Exception
Throws:
Exception


Copyright © 2002-2006 Atlassian. All Rights Reserved.