Package fr.gouv.vitam.common.parameter
Class ParameterHelper
- java.lang.Object
-
- fr.gouv.vitam.common.parameter.ParameterHelper
-
public class ParameterHelper extends java.lang.ObjectParameters helper use to check required parameters
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.IntegergetTenantParameter()Get the tenant parameter from the Vitam Session getTenantParameter
-
-
-
Method Detail
-
getTenantParameter
public static java.lang.Integer getTenantParameter()
Get the tenant parameter from the Vitam Session getTenantParameter- Returns:
- the tenantId
- Throws:
java.lang.IllegalArgumentException- if the tenant Id is not found in the sessionVitamThreadAccessException- if there is no VitamThread
-
-