|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface SubscriptionManager
Method Summary | |
---|---|
org.ofbiz.core.entity.GenericValue |
createSubscription(ApplicationUser user,
Long filterId,
String groupName,
Long period,
Boolean emailOnEmpty)
|
org.ofbiz.core.entity.GenericValue |
createSubscription(ApplicationUser user,
Long filterId,
String groupName,
org.quartz.Trigger trigger,
Boolean emailOnEmpty)
Creates a new subscription based on the passed in filter id and fired in accordance with the passed in trigger |
org.ofbiz.core.entity.GenericValue |
createSubscription(com.atlassian.crowd.embedded.api.User user,
Long filterId,
String groupName,
Long period,
Boolean emailOnEmpty)
Deprecated. Use createSubscription(com.atlassian.jira.user.ApplicationUser, Long, String, org.quartz.Trigger, Boolean) instead. Since v6.0. |
org.ofbiz.core.entity.GenericValue |
createSubscription(com.atlassian.crowd.embedded.api.User user,
Long filterId,
String groupName,
org.quartz.Trigger trigger,
Boolean emailOnEmpty)
Deprecated. Use createSubscription(com.atlassian.jira.user.ApplicationUser, Long, String, org.quartz.Trigger, Boolean) instead. Since v6.0.
Creates a new subscription based on the passed in filter id and fired
in accordance with the passed in trigger |
void |
deleteSubscription(Long subId)
|
void |
deleteSubscriptionsForGroup(com.atlassian.crowd.embedded.api.Group group)
|
void |
deleteSubscriptionsForUser(ApplicationUser user)
|
void |
deleteSubscriptionsForUser(com.atlassian.crowd.embedded.api.User user)
Deprecated. Use deleteSubscriptionsForUser(ApplicationUser) instead. Since v6.0. |
List<org.ofbiz.core.entity.GenericValue> |
getAllSubscriptions()
|
List<org.ofbiz.core.entity.GenericValue> |
getAllSubscriptions(Long filterId)
|
org.ofbiz.core.entity.GenericValue |
getSubscription(ApplicationUser user,
Long subId)
|
org.ofbiz.core.entity.GenericValue |
getSubscription(com.atlassian.crowd.embedded.api.User user,
Long subId)
Deprecated. Use getSubscription(ApplicationUser, Long) instead. Since v6.0. |
org.ofbiz.core.entity.GenericValue |
getSubscriptionFromTriggerName(String triggerName)
|
List<org.ofbiz.core.entity.GenericValue> |
getSubscriptions(ApplicationUser user,
Long filterId)
|
List<org.ofbiz.core.entity.GenericValue> |
getSubscriptions(com.atlassian.crowd.embedded.api.User user,
Long filterId)
Deprecated. Use getSubscriptions(ApplicationUser, Long) instead. Since v6.0. |
org.quartz.Trigger |
getTriggerFromSubscription(org.ofbiz.core.entity.GenericValue subscription)
|
boolean |
hasSubscription(ApplicationUser user,
Long filterId)
|
boolean |
hasSubscription(com.atlassian.crowd.embedded.api.User user,
Long filterId)
Deprecated. Use hasSubscription(ApplicationUser, Long) instead. Since v6.0. |
void |
runSubscription(ApplicationUser user,
Long subId)
|
void |
runSubscription(org.ofbiz.core.entity.GenericValue subId)
|
void |
runSubscription(com.atlassian.crowd.embedded.api.User user,
Long subId)
Deprecated. Use runSubscription(com.atlassian.jira.user.ApplicationUser, Long) instead. Since v6.0. |
void |
updateSubscription(ApplicationUser user,
Long subscriptionId,
String groupName,
org.quartz.Trigger trigger,
Boolean emailOnEmpty)
|
void |
updateSubscription(com.atlassian.crowd.embedded.api.User user,
Long subscriptionId,
String groupName,
org.quartz.Trigger trigger,
Boolean emailOnEmpty)
Deprecated. Use updateSubscription(ApplicationUser, Long, String, org.quartz.Trigger, Boolean) instead. Since v6.0. |
Method Detail |
---|
boolean hasSubscription(ApplicationUser user, Long filterId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
boolean hasSubscription(com.atlassian.crowd.embedded.api.User user, Long filterId) throws org.ofbiz.core.entity.GenericEntityException
hasSubscription(ApplicationUser, Long)
instead. Since v6.0.
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue getSubscription(ApplicationUser user, Long subId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue getSubscription(com.atlassian.crowd.embedded.api.User user, Long subId) throws org.ofbiz.core.entity.GenericEntityException
getSubscription(ApplicationUser, Long)
instead. Since v6.0.
org.ofbiz.core.entity.GenericEntityException
List<org.ofbiz.core.entity.GenericValue> getSubscriptions(ApplicationUser user, Long filterId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
List<org.ofbiz.core.entity.GenericValue> getSubscriptions(com.atlassian.crowd.embedded.api.User user, Long filterId) throws org.ofbiz.core.entity.GenericEntityException
getSubscriptions(ApplicationUser, Long)
instead. Since v6.0.
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue createSubscription(ApplicationUser user, Long filterId, String groupName, Long period, Boolean emailOnEmpty)
org.ofbiz.core.entity.GenericValue createSubscription(com.atlassian.crowd.embedded.api.User user, Long filterId, String groupName, Long period, Boolean emailOnEmpty)
createSubscription(com.atlassian.jira.user.ApplicationUser, Long, String, org.quartz.Trigger, Boolean)
instead. Since v6.0.
org.ofbiz.core.entity.GenericValue createSubscription(ApplicationUser user, Long filterId, String groupName, org.quartz.Trigger trigger, Boolean emailOnEmpty)
user
- the current user performing this operationfilterId
- Id of the filter subscribing togroupName
- Sent ot grouptrigger
- The trigger to storeemailOnEmpty
- send email if filter returns no results
org.ofbiz.core.entity.GenericValue createSubscription(com.atlassian.crowd.embedded.api.User user, Long filterId, String groupName, org.quartz.Trigger trigger, Boolean emailOnEmpty)
createSubscription(com.atlassian.jira.user.ApplicationUser, Long, String, org.quartz.Trigger, Boolean)
instead. Since v6.0.
Creates a new subscription based on the passed in filter id and fired
in accordance with the passed in trigger
user
- the current user performing this operationfilterId
- Id of the filter subscribing togroupName
- Sent ot grouptrigger
- The trigger to storeemailOnEmpty
- send email if filter returns no results
void deleteSubscription(Long subId) throws org.ofbiz.core.entity.GenericEntityException, org.quartz.SchedulerException
org.ofbiz.core.entity.GenericEntityException
org.quartz.SchedulerException
void runSubscription(org.ofbiz.core.entity.GenericValue subId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void runSubscription(ApplicationUser user, Long subId) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
void runSubscription(com.atlassian.crowd.embedded.api.User user, Long subId) throws org.ofbiz.core.entity.GenericEntityException
runSubscription(com.atlassian.jira.user.ApplicationUser, Long)
instead. Since v6.0.
org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericValue getSubscriptionFromTriggerName(String triggerName) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
org.quartz.Trigger getTriggerFromSubscription(org.ofbiz.core.entity.GenericValue subscription) throws org.quartz.SchedulerException
org.quartz.SchedulerException
void updateSubscription(ApplicationUser user, Long subscriptionId, String groupName, org.quartz.Trigger trigger, Boolean emailOnEmpty) throws DataAccessException
user
- the current user performing this operationsubscriptionId
- identifies the subscription to updategroupName
- (optional) the name of the group to receive the emailtrigger
- The trigger to update the subscription with
DataAccessException
- if there is a problem persisting the data.void updateSubscription(com.atlassian.crowd.embedded.api.User user, Long subscriptionId, String groupName, org.quartz.Trigger trigger, Boolean emailOnEmpty) throws DataAccessException
updateSubscription(ApplicationUser, Long, String, org.quartz.Trigger, Boolean)
instead. Since v6.0.
user
- the current user performing this operationsubscriptionId
- identifies the subscription to updategroupName
- (optional) the name of the group to receive the emailtrigger
- The trigger to update the subscription with
DataAccessException
- if there is a problem persisting the data.List<org.ofbiz.core.entity.GenericValue> getAllSubscriptions(Long filterId)
List<org.ofbiz.core.entity.GenericValue> getAllSubscriptions()
void deleteSubscriptionsForUser(ApplicationUser user) throws org.ofbiz.core.entity.GenericEntityException, org.quartz.SchedulerException
org.ofbiz.core.entity.GenericEntityException
org.quartz.SchedulerException
void deleteSubscriptionsForUser(com.atlassian.crowd.embedded.api.User user) throws org.ofbiz.core.entity.GenericEntityException, org.quartz.SchedulerException
deleteSubscriptionsForUser(ApplicationUser)
instead. Since v6.0.
org.ofbiz.core.entity.GenericEntityException
org.quartz.SchedulerException
void deleteSubscriptionsForGroup(com.atlassian.crowd.embedded.api.Group group) throws org.ofbiz.core.entity.GenericEntityException, org.quartz.SchedulerException
org.ofbiz.core.entity.GenericEntityException
org.quartz.SchedulerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |