Class ReservedResourceEntity

  • All Implemented Interfaces:
    Serializable, org.silverpeas.core.web.rs.WebEntity

    public class ReservedResourceEntity
    extends ResourceEntity
    Web entity abstraction which provides common event informations of the entity
    Author:
    Yohann Chastagnier
    See Also:
    Serialized Form
    • Constructor Detail

      • ReservedResourceEntity

        protected ReservedResourceEntity​(Resource resource)
      • ReservedResourceEntity

        protected ReservedResourceEntity()
    • Method Detail

      • withReservationURI

        public <T extends ResourceEntity> T withReservationURI​(URI reservationURI)
      • createFrom

        public static ReservedResourceEntity createFrom​(Resource resource)
        Creates a new resource entity from the specified resource.
        Parameters:
        resource -
        Returns:
        the entity representing the specified resource.
      • getResourceURI

        public URI getResourceURI()
      • getReservationURI

        public URI getReservationURI()
      • getStatus

        public String getStatus()