com.silverpeas.scheduleevent.service
Class ScheduleEventServiceImpl
java.lang.Object
com.silverpeas.scheduleevent.service.ScheduleEventServiceImpl
- All Implemented Interfaces:
- ScheduleEventService, com.silverpeas.SilverpeasComponentService<ScheduleEvent>
@Service(value="scheduleEventService")
public class ScheduleEventServiceImpl
- extends Object
- implements ScheduleEventService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_NAME
public static final String COMPONENT_NAME
- See Also:
- Constant Field Values
ScheduleEventServiceImpl
public ScheduleEventServiceImpl()
initialize
@PostConstruct
public void initialize()
- Initializes this service by registering itself among Silverpeas core services as interested by
events.
release
@PreDestroy
public void release()
- Releases all the resources required by this service. For instance, it unregisters from the
Silverpeas core services.
createScheduleEvent
public String createScheduleEvent(ScheduleEvent scheduleEvent)
- Specified by:
createScheduleEvent
in interface ScheduleEventService
deleteScheduleEvent
public void deleteScheduleEvent(ScheduleEvent scheduleEvent)
- Specified by:
deleteScheduleEvent
in interface ScheduleEventService
findScheduleEvent
public ScheduleEvent findScheduleEvent(String scheduleEventId)
- Specified by:
findScheduleEvent
in interface ScheduleEventService
listAllScheduleEventsByUserId
public Set<ScheduleEvent> listAllScheduleEventsByUserId(String userId)
- Specified by:
listAllScheduleEventsByUserId
in interface ScheduleEventService
updateScheduleEventStatus
public void updateScheduleEventStatus(String scheduleEventId,
int newStatus)
- Specified by:
updateScheduleEventStatus
in interface ScheduleEventService
purgeOldResponseForUserId
public ScheduleEvent purgeOldResponseForUserId(ScheduleEvent scheduleEvent,
int userId)
- Specified by:
purgeOldResponseForUserId
in interface ScheduleEventService
updateScheduleEvent
public void updateScheduleEvent(ScheduleEvent scheduleEvent)
- Specified by:
updateScheduleEvent
in interface ScheduleEventService
setLastVisited
public void setLastVisited(ScheduleEvent event,
int userId)
- Specified by:
setLastVisited
in interface ScheduleEventService
deleteContributor
public void deleteContributor(String id)
- Specified by:
deleteContributor
in interface ScheduleEventService
getContentById
public ScheduleEvent getContentById(String contentId)
- Specified by:
getContentById
in interface com.silverpeas.SilverpeasComponentService<ScheduleEvent>
getComponentSettings
public com.stratelia.webactiv.util.ResourceLocator getComponentSettings()
- Specified by:
getComponentSettings
in interface com.silverpeas.SilverpeasComponentService<ScheduleEvent>
getComponentMessages
public com.stratelia.webactiv.util.ResourceLocator getComponentMessages(String language)
- Specified by:
getComponentMessages
in interface com.silverpeas.SilverpeasComponentService<ScheduleEvent>
Copyright © 2016 Silverpeas. All Rights Reserved.