Class ReservationEntity
java.lang.Object
org.silverpeas.core.webapi.calendar.AbstractEventEntity<ReservationEntity>
org.silverpeas.components.resourcesmanager.web.ReservationEntity
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.rs.WebEntity
public class ReservationEntity
extends org.silverpeas.core.webapi.calendar.AbstractEventEntity<ReservationEntity>
- Author:
- Yohann Chastagnier
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(ReservedResourceEntity reservedResourceEntity) addAll(Collection<ReservedResourceEntity> reservedResourceEntities) static ReservationEntitycreateFrom(String instanceId, Reservation reservation) Creates a new reservation entity from the specified reservation.getPlace()protected ReservationwithResourceURI(URI resourceURI) Methods inherited from class org.silverpeas.core.webapi.calendar.AbstractEventEntity
equals, getDescription, getEnd, getId, getStart, getTitle, getType, getURI, getUrl, hashCode, isAllDay
-
Constructor Details
-
ReservationEntity
protected ReservationEntity()
-
-
Method Details
-
withURI
- Overrides:
withURIin classorg.silverpeas.core.webapi.calendar.AbstractEventEntity<ReservationEntity>
-
withResourceURI
-
createFrom
Creates a new reservation entity from the specified reservation.- Parameters:
instanceId-reservation-- Returns:
- the entity representing the specified reservation.
-
getReservation
-
getReason
-
getPlace
-
getStatus
-
getBookedBy
-
getResourceURI
-
getResources
-
add
-
addAll
-