Package fr.gouv.vitam.common.parameter
Class ParameterHelper
java.lang.Object
fr.gouv.vitam.common.parameter.ParameterHelper
Parameters helper use to check required parameters
-
Method Summary
Modifier and TypeMethodDescriptionstatic Integer
Get the tenant parameter from the Vitam Session getTenantParameter
-
Method Details
-
getTenantParameter
Get the tenant parameter from the Vitam Session getTenantParameter- Returns:
- the tenantId
- Throws:
IllegalArgumentException
- if the tenant Id is not found in the sessionVitamThreadAccessException
- if there is no VitamThread
-