Class ScheduleEventSessionController

  • All Implemented Interfaces:
    Serializable, org.silverpeas.core.web.mvc.controller.ComponentSessionController, org.silverpeas.core.web.session.SessionCloseable

    public class ScheduleEventSessionController
    extends org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
    See Also:
    Serialized Form
    • Constructor Detail

      • ScheduleEventSessionController

        public ScheduleEventSessionController​(org.silverpeas.core.web.mvc.controller.MainSessionController mainSessionCtrl,
                                              org.silverpeas.core.web.mvc.controller.ComponentContext componentContext)
        Standard Session Controller Constructeur
        Parameters:
        mainSessionCtrl - The user's profile
        componentContext - The component's profile
    • Method Detail

      • setCurrentScheduleEvent

        public void setCurrentScheduleEvent​(ScheduleEvent currentScheduleEvent)
      • getCurrentScheduleEvent

        public ScheduleEvent getCurrentScheduleEvent()
      • resetScheduleEventCreationBuffer

        public void resetScheduleEventCreationBuffer()
      • createCurrentScheduleEvent

        public void createCurrentScheduleEvent()
      • isCurrentScheduleEventDefined

        public boolean isCurrentScheduleEventDefined()
      • initSelectUsersPanel

        public String initSelectUsersPanel()
      • setIdUsersAndGroups

        public void setIdUsersAndGroups()
      • addContributors

        public void addContributors​(String[] usersId,
                                    Set<Contributor> recordedContributors)
      • updateIdUsersAndGroups

        public void updateIdUsersAndGroups()
      • save

        public void save()
      • sendSubscriptionsNotification

        public void sendSubscriptionsNotification()
      • sendCallAgainNotification

        public void sendCallAgainNotification​(String message)
      • switchState

        public void switchState​(String id)
      • delete

        public void delete​(String scheduleEventId)
      • updateUserAvailabilities

        public void updateUserAvailabilities​(ScheduleEvent scheduleEvent)
      • setCurrentScheduleEventWith

        public void setCurrentScheduleEventWith​(Set<OptionDateVO> optionalDays)
      • exportToICal

        public String exportToICal​(ScheduleEvent event)
                            throws org.silverpeas.core.importexport.ExportException
        Exports the current ScheduleEvent in iCal format. The iCal file is generated into the temporary directory.
        Returns:
        the iCal file name into which is generated the current ScheduleEvent.
        Throws:
        org.silverpeas.core.importexport.ExportException - on export error.