Interface IExtendableResourceManager

All Known Implementing Classes:
ExtendableResourceManager

public interface IExtendableResourceManager
IExtendableResourceManager
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.portal.service.resource.IExtendableResourceService
    Gets the extendable resource service.
    List<fr.paris.lutece.portal.service.resource.IExtendableResourceService>
    Gets the extendable resource services.
    fr.paris.lutece.portal.service.resource.IExtendableResource
    getResource(String strIdResource, String strResourceType)
    Gets the resource.
    boolean
    useDefaultExtendableResourceService(String strIdResource, String strResourceType)
    Check if the user must be redirected to the default resource extender creation page or not.
  • Method Details

    • getExtendableResourceServices

      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(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(String strIdResource, String strResourceType)
      Gets the resource.
      Parameters:
      strIdResource - the str id resource
      strResourceType - the str resource type
      Returns:
      the resource
    • useDefaultExtendableResourceService

      boolean useDefaultExtendableResourceService(String strIdResource, 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 resource
      strResourceType - the str resource type
      Returns:
      true, if successful