Class ProviderManagerUtil
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.service.provider.ProviderManagerUtil
-
public final class ProviderManagerUtil extends Object
This class provides utility methods forAbstractProviderManagerobjects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 provider
-
-
-
Method Detail
-
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.
-
buildCompleteProviderId
public static String buildCompleteProviderId(String strProviderManagerId, String strProviderId)
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
public static String fetchProviderManagerId(String strCompleteProviderId)
Retrieves theAbstractProviderManagerid from the complete id of a provider- Parameters:
strCompleteProviderId- the complete id of a provider- Returns:
- the
AbstractProviderManagerid
-
-