Uses of Class
org.silverpeas.components.resourcesmanager.model.Resource
-
-
Uses of Resource in org.silverpeas.components.resourcesmanager.control
Methods in org.silverpeas.components.resourcesmanager.control that return Resource Modifier and Type Method Description Resource
ResourcesManagerSessionController. getResource(Long id)
Methods in org.silverpeas.components.resourcesmanager.control that return types with arguments of type Resource Modifier and Type Method Description List<Resource>
ResourcesManagerSessionController. getResourcesByCategory(Long categoryId)
List<Resource>
ResourcesManagerSessionController. getResourcesofReservation(Long reservationId)
List<Resource>
ResourcesManagerSessionController. getResourcesReservable(Date startDate, Date endDate)
List<Resource>
ResourcesManagerSessionController. verifyUnavailableResources(List<Long> aimedResources)
List<Resource>
ResourcesManagerSessionController. verifyUnavailableResources(List<Long> aimedResources, Date beginDate, Date endDate, Long reservationId)
Methods in org.silverpeas.components.resourcesmanager.control with parameters of type Resource Modifier and Type Method Description void
ResourcesManagerSessionController. createResource(Resource resource)
Create a new resource.void
ResourcesManagerSessionController. updateResource(Resource resource, List<Long> managers)
-
Uses of Resource in org.silverpeas.components.resourcesmanager.model
Methods in org.silverpeas.components.resourcesmanager.model that return Resource Modifier and Type Method Description Resource
ReservedResource. getResource()
Resource
ResourceValidator. getResource()
Methods in org.silverpeas.components.resourcesmanager.model that return types with arguments of type Resource Modifier and Type Method Description List<Resource>
Category. getResources()
Methods in org.silverpeas.components.resourcesmanager.model with parameters of type Resource Modifier and Type Method Description void
Resource. merge(Resource resource)
void
ReservedResource. setResource(Resource resource)
void
ResourceValidator. setResource(Resource resource)
Method parameters in org.silverpeas.components.resourcesmanager.model with type arguments of type Resource Modifier and Type Method Description void
Category. setResources(List<Resource> resources)
-
Uses of Resource in org.silverpeas.components.resourcesmanager.repository
Methods in org.silverpeas.components.resourcesmanager.repository that return types with arguments of type Resource Modifier and Type Method Description List<Resource>
ResourceJpaRepository. findAllBookableResources(String instanceId)
List<Resource>
ResourceRepository. findAllBookableResources(String instanceId)
List<Resource>
ResourceJpaRepository. findAllReservedResources(Long reservationIdToSkip, List<Long> aimedResourceIds, String startPeriod, String endPeriod)
List<Resource>
ResourceRepository. findAllReservedResources(Long reservationIdToSkip, List<Long> aimedResourceIds, String startPeriod, String endPeriod)
List<Resource>
ResourceJpaRepository. findAllResourcesByCategory(Long categoryId)
List<Resource>
ResourceRepository. findAllResourcesByCategory(Long categoryId)
List<Resource>
ResourceJpaRepository. findAllResourcesForReservation(Long reservationId)
List<Resource>
ResourceRepository. findAllResourcesForReservation(Long reservationId)
-
Uses of Resource in org.silverpeas.components.resourcesmanager.service
Methods in org.silverpeas.components.resourcesmanager.service that return Resource Modifier and Type Method Description Resource
ResourceService. getResource(long id)
Resource
ResourcesManager. getResource(Long id)
Resource
SimpleResourcesManager. getResource(Long id)
Methods in org.silverpeas.components.resourcesmanager.service that return types with arguments of type Resource Modifier and Type Method Description List<Resource>
ResourceService. findAllReservedResources(long reservationIdToSkip, List<Long> aimedResourceIds, String startPeriod, String endPeriod)
List<Resource>
ResourcesManager. getReservedResources(String instanceId, List<Long> resources, Date startDate, Date endDate)
List<Resource>
ResourcesManager. getReservedResources(String instanceId, List<Long> aimedResourceIds, Date startDate, Date endDate, Long reservationIdToSkip)
List<Resource>
SimpleResourcesManager. getReservedResources(String instanceId, List<Long> resources, Date startDate, Date endDate)
Get from the given aimed resources those that are unavailable on the given period.List<Resource>
SimpleResourcesManager. getReservedResources(String instanceId, List<Long> aimedResourceIds, Date startDate, Date endDate, Long reservationIdToSkip)
Get from the given aimed resources those that are unavailable on the given period.List<Resource>
ResourceService. getResources()
List<Resource>
ResourceService. getResourcesByCategory(Long categoryId)
List<Resource>
ResourcesManager. getResourcesByCategory(Long categoryId)
List<Resource>
SimpleResourcesManager. getResourcesByCategory(Long categoryId)
List<Resource>
ResourcesManager. getResourcesOfReservation(String instanceId, Long reservationId)
List<Resource>
SimpleResourcesManager. getResourcesOfReservation(String instanceId, Long reservationId)
List<Resource>
ResourcesManager. getResourcesReservable(String instanceId, Date startDate, Date endDate)
List<Resource>
SimpleResourcesManager. getResourcesReservable(String instanceId, Date startDate, Date endDate)
List<Resource>
ResourceService. listAvailableResources(String instanceId, String startDate, String endDate)
List<Resource>
ResourceService. listResourcesOfReservation(Long reservationId)
Methods in org.silverpeas.components.resourcesmanager.service with parameters of type Resource Modifier and Type Method Description void
ResourceService. createResource(Resource resource)
void
ResourcesManager. createResource(Resource resource)
void
SimpleResourcesManager. createResource(Resource resource)
void
ResourceService. updateResource(Resource resource)
void
ResourcesManager. updateResource(Resource resource, List<Long> managerIds)
void
SimpleResourcesManager. updateResource(Resource updatedResource, List<Long> managerIds)
-
Uses of Resource in org.silverpeas.components.resourcesmanager.util
Method parameters in org.silverpeas.components.resourcesmanager.util with type arguments of type Resource Modifier and Type Method Description static List<Long>
ResourceUtil. toIdList(List<Resource> resources)
Get a list of resource identifiers from a list of resource. -
Uses of Resource in org.silverpeas.components.resourcesmanager.web
Methods in org.silverpeas.components.resourcesmanager.web with parameters of type Resource Modifier and Type Method Description protected ReservedResourceEntity
AbstractResourceManagerResource. asWebEntity(Long reservationId, Resource resource)
Converts the reserved resource into its corresponding web entity.protected ResourceEntity
AbstractResourceManagerResource. asWebEntity(Resource resource)
Converts the resource into its corresponding web entity.protected URI
AbstractResourceManagerResource. buildResourceURI(Resource resource)
Centralized build of resource reservation URI.static ReservedResourceEntity
ReservedResourceEntity. createFrom(Resource resource)
Creates a new resource entity from the specified resource.static ResourceEntity
ResourceEntity. createFrom(Resource resource)
Creates a new resource entity from the specified resource.Method parameters in org.silverpeas.components.resourcesmanager.web with type arguments of type Resource Modifier and Type Method Description protected Collection<ReservedResourceEntity>
AbstractResourceManagerResource. asWebEntities(Long reservationId, List<Resource> resources)
Converts the resources into its corresponding web entity list.Constructors in org.silverpeas.components.resourcesmanager.web with parameters of type Resource Constructor Description ReservedResourceEntity(Resource resource)
ResourceEntity(Resource resource)
-