Class ProviderManagerUtil


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

      • 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.
      • 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