# Uses of Class
org.silverpeas.components.resourcesmanager.model.Resource

Packages that use Resource
Package
Description
org.silverpeas.components.resourcesmanager.model
org.silverpeas.components.resourcesmanager.repository
org.silverpeas.components.resourcesmanager.service
org.silverpeas.components.resourcesmanager.util

- ## 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.`findAllResources(String instanceId)`
  `List<Resource>`
  ResourceRepository.`findAllResources(String instanceId)`
  `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>`
  ResourceService.`getBookableResources(String componentId)`
  `List<Resource>`
  ResourcesManager.`getBookableResources(String componentId)`
  `List<Resource>`
  SimpleResourcesManager.`getBookableResources(String componentId)`
  `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.`getResources(String componentId)`
  `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.