Class ParameterHelper


  • public class ParameterHelper
    extends java.lang.Object
    Parameters helper use to check required parameters
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Integer getTenantParameter()
      Get the tenant parameter from the Vitam Session getTenantParameter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 session
        VitamThreadAccessException - if there is no VitamThread