Class ProviderManagerUtil
java.lang.Object
fr.paris.lutece.plugins.workflow.service.provider.ProviderManagerUtil
This class provides utility methods for
AbstractProviderManager objects-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildCompleteProviderId(String strProviderManagerId, String strProviderId) Builds the complete id of a provider.static StringfetchProviderId(String strCompleteProviderId) Retrieves theIProviderid from the complete id of a providerstatic fr.paris.lutece.plugins.workflowcore.service.provider.AbstractProviderManagerfetchProviderManager(String strProviderManagerId) Retrieves theAbstractProviderManagerfrom its idstatic StringfetchProviderManagerId(String strCompleteProviderId) Retrieves theAbstractProviderManagerid from the complete id of a providerstatic fr.paris.lutece.plugins.workflowcore.service.provider.IProviderManagerretrieveProviderManager(String strProviderManagerId) Retrieves theIProviderManagerfrom its id
-
Method Details
-
fetchProviderManager
public static fr.paris.lutece.plugins.workflowcore.service.provider.AbstractProviderManager fetchProviderManager(String strProviderManagerId) Retrieves theAbstractProviderManagerfrom its id- Parameters:
strProviderManagerId- the id of theAbstractProviderManager- Returns:
- the
AbstractProviderManagerobject corresponding to the specified id, ornullif noAbstractProviderManagercan be found.
-
retrieveProviderManager
public static fr.paris.lutece.plugins.workflowcore.service.provider.IProviderManager retrieveProviderManager(String strProviderManagerId) Retrieves theIProviderManagerfrom its id- Parameters:
strProviderManagerId- the id of theIProviderManager- Returns:
- the
IProviderManagerobject corresponding to the specified id, ornullif noIProviderManagercan be found.
-
buildCompleteProviderId
Builds the complete id of a provider.
The complete id is built from the specified
AbstractProviderManagerid andIProviderid- Parameters:
strProviderManagerId- theAbstractProviderManageridstrProviderId- theIProviderid- Returns:
- the complete id
-
fetchProviderManagerId
Retrieves theAbstractProviderManagerid from the complete id of a provider- Parameters:
strCompleteProviderId- the complete id of a provider- Returns:
- the
AbstractProviderManagerid
-
fetchProviderId
Retrieves theIProviderid from the complete id of a provider- Parameters:
strCompleteProviderId- the complete id of a provider- Returns:
- the
IProviderid
-