Class ScheduleEventServiceImpl
- java.lang.Object
-
- org.silverpeas.components.scheduleevent.service.ScheduleEventServiceImpl
-
- All Implemented Interfaces:
ScheduleEventService,org.silverpeas.core.ApplicationService
@Service @Named("scheduledEventService") public class ScheduleEventServiceImpl extends Object implements ScheduleEventService
-
-
Constructor Summary
Constructors Constructor Description ScheduleEventServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateScheduleEvent(ScheduleEvent scheduleEvent)voiddeleteScheduleEvent(ScheduleEvent scheduleEvent)ScheduleEventfindScheduleEvent(String scheduleEventId)org.silverpeas.kernel.bundle.LocalizationBundlegetComponentMessages(String language)org.silverpeas.kernel.bundle.SettingBundlegetComponentSettings()Optional<ScheduleEvent>getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)booleanisRelatedTo(String instanceId)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
-
createScheduleEvent
public void createScheduleEvent(ScheduleEvent scheduleEvent)
- Specified by:
createScheduleEventin interfaceScheduleEventService
-
deleteScheduleEvent
public void deleteScheduleEvent(ScheduleEvent scheduleEvent)
- Specified by:
deleteScheduleEventin interfaceScheduleEventService
-
findScheduleEvent
public ScheduleEvent findScheduleEvent(String scheduleEventId)
- Specified by:
findScheduleEventin interfaceScheduleEventService
-
listAllScheduleEventsByUserId
public Set<ScheduleEvent> listAllScheduleEventsByUserId(String userId)
- Specified by:
listAllScheduleEventsByUserIdin interfaceScheduleEventService
-
updateScheduleEventStatus
public void updateScheduleEventStatus(String scheduleEventId, int newStatus)
- Specified by:
updateScheduleEventStatusin interfaceScheduleEventService
-
purgeOldResponseForUserId
public ScheduleEvent purgeOldResponseForUserId(ScheduleEvent scheduleEvent, int userId)
- Specified by:
purgeOldResponseForUserIdin interfaceScheduleEventService
-
updateScheduleEvent
public void updateScheduleEvent(ScheduleEvent scheduleEvent)
- Specified by:
updateScheduleEventin interfaceScheduleEventService
-
setLastVisited
public void setLastVisited(ScheduleEvent event, int userId)
- Specified by:
setLastVisitedin interfaceScheduleEventService
-
getContributionById
public Optional<ScheduleEvent> getContributionById(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)
- Specified by:
getContributionByIdin interfaceorg.silverpeas.core.ApplicationService- Specified by:
getContributionByIdin interfaceScheduleEventService
-
getComponentSettings
public org.silverpeas.kernel.bundle.SettingBundle getComponentSettings()
- Specified by:
getComponentSettingsin interfaceorg.silverpeas.core.ApplicationService
-
getComponentMessages
public org.silverpeas.kernel.bundle.LocalizationBundle getComponentMessages(String language)
- Specified by:
getComponentMessagesin interfaceorg.silverpeas.core.ApplicationService
-
isRelatedTo
public boolean isRelatedTo(String instanceId)
- Specified by:
isRelatedToin interfaceorg.silverpeas.core.ApplicationService
-
-