Package io.meeds.gamification.storage
Class AnnouncementStorage
java.lang.Object
io.meeds.gamification.storage.AnnouncementStorage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnnouncementStorage(RealizationStorage realizationStorage, RuleStorage ruleStorage) -
Method Summary
Modifier and TypeMethodDescriptioncreateAnnouncement(Announcement announcement) deleteAnnouncement(long announcementId) getAnnouncementById(long announcementId) updateAnnouncementActivityId(long announcementId, long activityId) updateAnnouncementComment(long announcementId, String comment)
-
Field Details
-
MILLIS_IN_A_DAY
public static final long MILLIS_IN_A_DAY- See Also:
-
-
Constructor Details
-
AnnouncementStorage
-
-
Method Details
-
createAnnouncement
-
updateAnnouncementComment
public Announcement updateAnnouncementComment(long announcementId, String comment) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
updateAnnouncementActivityId
public Announcement updateAnnouncementActivityId(long announcementId, long activityId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
deleteAnnouncement
-
getAnnouncementById
-