public class DatabaseResourceProvider extends Object implements IResourceProvider
| Constructor and Description |
|---|
DatabaseResourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<IResource> |
getListResources(String strResourceTypeName)
Get the list of resources managed by this provider that have a given
resource type
|
IResource |
getResource(String strIdResource,
String strResourceTypeName)
Get a resource.
|
List<IResourceType> |
getResourceTypeList()
Get the list of resource types managed by this provider
|
boolean |
isResourceTypeManaged(String strResourceTypeName)
Check if a resource type is managed by this provider
|
public List<IResourceType> getResourceTypeList()
getResourceTypeList in interface IResourceProviderpublic boolean isResourceTypeManaged(String strResourceTypeName)
isResourceTypeManaged in interface IResourceProviderstrResourceTypeName - The resource typepublic IResource getResource(String strIdResource, String strResourceTypeName)
getResource in interface IResourceProviderstrIdResource - The id of the resourcestrResourceTypeName - the resource typepublic List<IResource> getListResources(String strResourceTypeName)
getListResources in interface IResourceProviderstrResourceTypeName - The resource typeCopyright © 2021 City of Paris. All rights reserved.