Class Constants

java.lang.Object
de.hybris.platform.core.Constants

public class Constants extends Object
Constants definition for the hybris platform framework.
  • Field Details

    • DISABLE_CYCLIC_CHECKS

      public static final String DISABLE_CYCLIC_CHECKS
      Session attribute to disable checking for cyclic structures. Since cyclic structures are not supported by the category model the caller hat to do own checking!
       SessionContext myCtx = jaloSesson.createSessionContext();
       myCtx.setAttribute(Constants.DISABLE_CYCLIC_CHECKS, Boolean.TRUE);
       // now this will not raise an error :
       category.addToSubcategory(category.getSuperCategory());
       
      Since:
      1.31
    • DB_DETECT_CONNECTION_LOST

      public static final String DB_DETECT_CONNECTION_LOST
      See Also:
    • DB_DETECT_CONNECTION_LOST_DEFAULT

      public static final boolean DB_DETECT_CONNECTION_LOST_DEFAULT
      See Also:
  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • checkUnique

      public static void checkUnique()