Class ProviderManagerUtil


  • public final class ProviderManagerUtil
    extends java.lang.Object
    This class provides utility methods for AbstractProviderManager objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildCompleteProviderId​(java.lang.String strProviderManagerId, java.lang.String strProviderId)
      Builds the complete id of a provider.
      static java.lang.String fetchProviderId​(java.lang.String strCompleteProviderId)
      Retrieves the IProvider id from the complete id of a provider
      static fr.paris.lutece.plugins.workflowcore.service.provider.AbstractProviderManager fetchProviderManager​(java.lang.String strProviderManagerId)
      Retrieves the AbstractProviderManager from its id
      static java.lang.String fetchProviderManagerId​(java.lang.String strCompleteProviderId)
      Retrieves the AbstractProviderManager id from the complete id of a provider
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fetchProviderManager

        public static fr.paris.lutece.plugins.workflowcore.service.provider.AbstractProviderManager fetchProviderManager​(java.lang.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 java.lang.String buildCompleteProviderId​(java.lang.String strProviderManagerId,
                                                               java.lang.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 java.lang.String fetchProviderManagerId​(java.lang.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 java.lang.String fetchProviderId​(java.lang.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