Interface SubscriptionService
public interface SubscriptionService
The interface Subscription service.
- 
Method SummaryModifier and TypeMethodDescriptioncreate(SubscriptionBuilder builder) Create subscription.voiddelete(Subscription subscription) Delete.voiddeleteAllByUser(com.atlassian.jira.user.ApplicationUser applicationUser) Delete by user.get()Get list.get(com.atlassian.jira.user.ApplicationUser user) Get list.Get subscription.Gets builder.Gets cron exp advanced builder.Gets cron exp days per week builder.Gets cron exp once a month builder.voidupdate(Subscription subscription) Update subscription.voidupdateWithError(Subscription subscription, String errorMessage) Update subscription with error execution.voidupdateWithSuccess(Subscription subscription) Update subscription with success execution.
- 
Method Details- 
getBuilderSubscriptionBuilder getBuilder()Gets builder.- Returns:
- the builder
 
- 
getScheduleDaysPerWeekBuilderScheduleDaysPerWeekBuilder getScheduleDaysPerWeekBuilder()Gets cron exp days per week builder.- Returns:
- the cron exp days per week builder
 
- 
getScheduleOnceAMonthBuilderScheduleOnceAMonthBuilder getScheduleOnceAMonthBuilder()Gets cron exp once a month builder.- Returns:
- the cron exp once a month builder
 
- 
getScheduleAdvancedBuilderScheduleAdvancedBuilder getScheduleAdvancedBuilder()Gets cron exp advanced builder.- Returns:
- the cron exp advanced builder
 
- 
createCreate subscription.- Parameters:
- builder- the builder
- Returns:
- the subscription
 
- 
getGet subscription.- Parameters:
- id- the Id subscription
- Returns:
- the list
 
- 
getGet list.- Parameters:
- user- the user
- Returns:
- the list
 
- 
getList<Subscription> get()Get list.- Returns:
- the list
 
- 
updateUpdate subscription.- Parameters:
- subscription- the subscription
 
- 
updateWithSuccessUpdate subscription with success execution.- Parameters:
- subscription- the subscription
 
- 
updateWithErrorUpdate subscription with error execution.- Parameters:
- subscription- the subscription
- errorMessage- the error message
 
- 
deleteDelete.- Parameters:
- subscription- the subscription
 
- 
deleteAllByUservoid deleteAllByUser(com.atlassian.jira.user.ApplicationUser applicationUser) Delete by user.- Parameters:
- applicationUser- the application user
 
 
-