Class ReservationTimeWindowViewContext

  • All Implemented Interfaces:
    Serializable

    public class ReservationTimeWindowViewContext
    extends org.silverpeas.core.web.calendar.CalendarTimeWindowViewContext
    User: Yohann Chastagnier Date: 17/04/13
    See Also:
    Serialized Form
    • Constructor Detail

      • ReservationTimeWindowViewContext

        public ReservationTimeWindowViewContext​(String componentInstanceId,
                                                org.silverpeas.core.admin.user.model.UserDetail currentUser,
                                                String language,
                                                ZoneId zoneId)
        Default constructor.
        Parameters:
        componentInstanceId - the component instance identifier
        language - the language to take into account (fr for the french locale (fr_FR) for example).
        zoneId - the zoneId to take into account (ZoneId.of("Europe/Paris") for example).
    • Method Detail

      • resetFilters

        public ReservationTimeWindowViewContext resetFilters()
        Reset to null all filters.
        Overrides:
        resetFilters in class org.silverpeas.core.web.calendar.CalendarTimeWindowViewContext
      • getCurrentUser

        public org.silverpeas.core.admin.user.model.UserDetail getCurrentUser()
      • getCurrentUserId

        public String getCurrentUserId()
      • getSelectedUser

        public org.silverpeas.core.admin.user.model.UserDetail getSelectedUser()
      • getSelectedUserId

        public String getSelectedUserId()
      • setSelectedUserId

        public void setSelectedUserId​(String userId)
      • getCategoryId

        public Long getCategoryId()
      • setCategoryId

        public void setCategoryId​(Long categoryId)
      • getResourceId

        public Long getResourceId()
      • setResourceId

        public void setResourceId​(Long resourceId)
      • isForValidation

        public boolean isForValidation()
      • setForValidation

        public void setForValidation​(boolean forValidation)
      • getReservationEventUrl

        public String getReservationEventUrl()
        Returns:
        the reservation event URL.
      • getCategoryUrl

        public String getCategoryUrl()
        Returns:
        the category URL.
      • getResourceUrl

        public String getResourceUrl()
        Returns:
        the resource URL.