Class ProviderManagerUtil

java.lang.Object
fr.paris.lutece.plugins.workflow.service.provider.ProviderManagerUtil

public final class ProviderManagerUtil extends Object
This class provides utility methods for AbstractProviderManager objects
  • Method Details

    • fetchProviderManager

      public static fr.paris.lutece.plugins.workflowcore.service.provider.AbstractProviderManager fetchProviderManager(String strProviderManagerId)
      Retrieves the AbstractProviderManager from its id
      Parameters:
      strProviderManagerId - the id of the AbstractProviderManager
      Returns:
      the AbstractProviderManager object corresponding to the specified id, or null if no AbstractProviderManager can be found.
    • retrieveProviderManager

      public static fr.paris.lutece.plugins.workflowcore.service.provider.IProviderManager retrieveProviderManager(String strProviderManagerId)
      Retrieves the IProviderManager from its id
      Parameters:
      strProviderManagerId - the id of the IProviderManager
      Returns:
      the IProviderManager object corresponding to the specified id, or null if no IProviderManager can be found.
    • buildCompleteProviderId

      public static String buildCompleteProviderId(String strProviderManagerId, String strProviderId)

      Builds the complete id of a provider.

      The complete id is built from the specified AbstractProviderManager id and IProvider id

      Parameters:
      strProviderManagerId - the AbstractProviderManager id
      strProviderId - the IProvider id
      Returns:
      the complete id
    • fetchProviderManagerId

      public static String fetchProviderManagerId(String strCompleteProviderId)
      Retrieves the AbstractProviderManager id from the complete id of a provider
      Parameters:
      strCompleteProviderId - the complete id of a provider
      Returns:
      the AbstractProviderManager id
    • fetchProviderId

      public static String fetchProviderId(String strCompleteProviderId)
      Retrieves the IProvider id from the complete id of a provider
      Parameters:
      strCompleteProviderId - the complete id of a provider
      Returns:
      the IProvider id