Interface ScheduleEventService
-
- All Superinterfaces:
org.silverpeas.core.ApplicationService
- All Known Implementing Classes:
ScheduleEventServiceImpl
public interface ScheduleEventService extends org.silverpeas.core.ApplicationService
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateScheduleEvent(ScheduleEvent scheduleEvent)voiddeleteScheduleEvent(ScheduleEvent scheduleEvent)ScheduleEventfindScheduleEvent(String scheduleEventId)static ScheduleEventServiceget()Optional<ScheduleEvent>getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)Set<ScheduleEvent>listAllScheduleEventsByUserId(String userId)ScheduleEventpurgeOldResponseForUserId(ScheduleEvent scheduleEvent, int userId)voidsetLastVisited(ScheduleEvent event, int userId)voidupdateScheduleEvent(ScheduleEvent scheduleEvent)voidupdateScheduleEventStatus(String scheduleEventId, int newStatus)
-
-
-
Method Detail
-
get
static ScheduleEventService get()
-
getContributionById
Optional<ScheduleEvent> getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)
- Specified by:
getContributionByIdin interfaceorg.silverpeas.core.ApplicationService
-
createScheduleEvent
void createScheduleEvent(ScheduleEvent scheduleEvent)
-
deleteScheduleEvent
void deleteScheduleEvent(ScheduleEvent scheduleEvent)
-
findScheduleEvent
ScheduleEvent findScheduleEvent(String scheduleEventId)
-
listAllScheduleEventsByUserId
Set<ScheduleEvent> listAllScheduleEventsByUserId(String userId)
-
updateScheduleEventStatus
void updateScheduleEventStatus(String scheduleEventId, int newStatus)
-
updateScheduleEvent
void updateScheduleEvent(ScheduleEvent scheduleEvent)
-
purgeOldResponseForUserId
ScheduleEvent purgeOldResponseForUserId(ScheduleEvent scheduleEvent, int userId)
-
setLastVisited
void setLastVisited(ScheduleEvent event, int userId)
-
-