Class ReservedResourceEntity
java.lang.Object
org.silverpeas.components.resourcesmanager.web.ResourceEntity
org.silverpeas.components.resourcesmanager.web.ReservedResourceEntity
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.rs.WebEntity
Web entity abstraction which provides common event informations of the entity
- Author:
- Yohann Chastagnier
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReservedResourceEntitycreateFrom(Resource resource) Creates a new resource entity from the specified resource.<T extends ResourceEntity>
TwithReservationURI(URI reservationURI) Sets a URI to this entity.Methods inherited from class org.silverpeas.components.resourcesmanager.web.ResourceEntity
equals, getCategoryURI, getDescription, getId, getName, getURI, hashCode, withCategoryURI
-
Constructor Details
-
ReservedResourceEntity
-
ReservedResourceEntity
protected ReservedResourceEntity()
-
-
Method Details
-
withURI
Description copied from class:ResourceEntitySets a URI to this entity. With this URI, it can then be accessed through the Web.- Overrides:
withURIin classResourceEntity- Parameters:
uri- the web entity URI.- Returns:
- itself.
-
withReservationURI
-
createFrom
Creates a new resource entity from the specified resource.- Parameters:
resource-- Returns:
- the entity representing the specified resource.
-
getResourceURI
-
getReservationURI
-
getStatus
-