org.silverpeas.resourcesmanager.control
Class ReservationViewContext

java.lang.Object
  extended by org.silverpeas.calendar.CalendarViewContext
      extended by org.silverpeas.resourcesmanager.control.ReservationViewContext

public class ReservationViewContext
extends org.silverpeas.calendar.CalendarViewContext

User: Yohann Chastagnier Date: 17/04/13


Constructor Summary
ReservationViewContext(String componentInstanceId, com.stratelia.webactiv.beans.admin.UserDetail currentUser, String language)
          Default constructor.
 
Method Summary
 Long getCategoryId()
           
 String getCategoryUrl()
          Get the category URL.
 com.stratelia.webactiv.beans.admin.UserDetail getCurrentUser()
           
 String getCurrentUserId()
           
 ResourceManagerDataViewType getDataViewType()
           
 String getReservationEventUrl()
          Get the reservation event URL.
 Long getResourceId()
           
 String getResourceUrl()
          Get the resource URL.
 com.stratelia.webactiv.beans.admin.UserDetail getSelectedUser()
           
 String getSelectedUserId()
           
 boolean isForValidation()
           
 ReservationViewContext resetFilters()
          Reset to null all filters.
 void setCategoryId(Long categoryId)
           
 void setDataViewType(ResourceManagerDataViewType dataViewType)
           
 void setForValidation(boolean forValidation)
           
 void setResourceId(Long resourceId)
           
 void setSelectedUserId(String userId)
           
 
Methods inherited from class org.silverpeas.calendar.CalendarViewContext
getBundle, getComponentInstanceId, getFirstDayOfWeek, getFormattedReferenceDay, getPeriodLabel, getReferenceDay, getReferencePeriod, getReferencePeriodLabel, getViewType, isWithWeekend, next, previous, setReferenceDay, setViewType, setWithWeekend, today
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReservationViewContext

public ReservationViewContext(String componentInstanceId,
                              com.stratelia.webactiv.beans.admin.UserDetail currentUser,
                              String language)
Default constructor.

Parameters:
componentInstanceId -
language -
Method Detail

resetFilters

public ReservationViewContext resetFilters()
Reset to null all filters.

Overrides:
resetFilters in class org.silverpeas.calendar.CalendarViewContext

getDataViewType

public ResourceManagerDataViewType getDataViewType()

setDataViewType

public void setDataViewType(ResourceManagerDataViewType dataViewType)

getCurrentUser

public com.stratelia.webactiv.beans.admin.UserDetail getCurrentUser()

getCurrentUserId

public String getCurrentUserId()

getSelectedUser

public com.stratelia.webactiv.beans.admin.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()
Get the reservation event URL.

Returns:

getCategoryUrl

public String getCategoryUrl()
Get the category URL.

Returns:

getResourceUrl

public String getResourceUrl()
Get the resource URL.

Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.