Interface PostSetupAnnouncementService
- All Known Implementing Classes:
PostSetupAnnouncements
public interface PostSetupAnnouncementService
- Since:
- v6.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activitiesAnnounced
(io.atlassian.fugue.Option<ApplicationUser> user, List<String> activityIds) Marks given announcements as announced, so they no longer will be reported as readygetReadyAnnouncements
(io.atlassian.fugue.Option<ApplicationUser> user) Get list of post setup announcements that are ready to be shown to user.boolean
hasAnnouncements
(io.atlassian.fugue.Option<ApplicationUser> user) Gives information if there are any announcements ready to show to user.void
recalculateStatuses
(io.atlassian.fugue.Option<ApplicationUser> user) Forces recalculation of post setup announcement statusesvoid
reset
(io.atlassian.fugue.Option<ApplicationUser> user) Reset all announcements to await state.
-
Method Details
-
recalculateStatuses
Forces recalculation of post setup announcement statuses- Throws:
SecurityException
-
activitiesAnnounced
void activitiesAnnounced(io.atlassian.fugue.Option<ApplicationUser> user, @Nonnull List<String> activityIds) throws SecurityException Marks given announcements as announced, so they no longer will be reported as ready- Throws:
SecurityException
-
getReadyAnnouncements
@Nonnull List<PostSetupAnnouncementStatus> getReadyAnnouncements(io.atlassian.fugue.Option<ApplicationUser> user) Get list of post setup announcements that are ready to be shown to user. -
hasAnnouncements
Gives information if there are any announcements ready to show to user. -
reset
Reset all announcements to await state. Next call to recalculateStatuses will recalculate all registered announcements.- Throws:
SecurityException
-