Interface IExtendableResourceManager
-
- All Known Implementing Classes:
ExtendableResourceManager
public interface IExtendableResourceManagerIExtendableResourceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description fr.paris.lutece.portal.service.resource.IExtendableResourceServicegetExtendableResourceService(java.lang.String strResourceType)Gets the extendable resource service.java.util.List<fr.paris.lutece.portal.service.resource.IExtendableResourceService>getExtendableResourceServices()Gets the extendable resource services.fr.paris.lutece.portal.service.resource.IExtendableResourcegetResource(java.lang.String strIdResource, java.lang.String strResourceType)Gets the resource.booleanuseDefaultExtendableResourceService(java.lang.String strIdResource, java.lang.String strResourceType)Check if the user must be redirected to the default resource extender creation page or not.
-
-
-
Method Detail
-
getExtendableResourceServices
java.util.List<fr.paris.lutece.portal.service.resource.IExtendableResourceService> getExtendableResourceServices()
Gets the extendable resource services.- Returns:
- the extendable resource services
-
getExtendableResourceService
fr.paris.lutece.portal.service.resource.IExtendableResourceService getExtendableResourceService(java.lang.String strResourceType)
Gets the extendable resource service.- Parameters:
strResourceType- the str resource type- Returns:
- the extendable resource service
-
getResource
fr.paris.lutece.portal.service.resource.IExtendableResource getResource(java.lang.String strIdResource, java.lang.String strResourceType)Gets the resource.- Parameters:
strIdResource- the str id resourcestrResourceType- the str resource type- Returns:
- the resource
-
useDefaultExtendableResourceService
boolean useDefaultExtendableResourceService(java.lang.String strIdResource, java.lang.String strResourceType)Check if the user must be redirected to the default resource extender creation page or not.
To be redirected, the following conditions must be set :- The resource service for the given resource type is not found
- There are no existing resource for the given id resource
- Parameters:
strIdResource- the str id resourcestrResourceType- the str resource type- Returns:
- true, if successful
-
-