Class Constants


  • public class Constants
    extends java.lang.Object
    constants definition for the hybris platform framework
    • Field Detail

      • DISABLE_CYCLIC_CHECKS

        public static final java.lang.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 java.lang.String DB_DETECT_CONNECTION_LOST
        See Also:
        Constant Field Values
      • DB_DETECT_CONNECTION_LOST_DEFAULT

        public static final boolean DB_DETECT_CONNECTION_LOST_DEFAULT
        See Also:
        Constant Field Values
    • Constructor Detail

      • Constants

        public Constants()
    • Method Detail

      • checkUnique

        public static void checkUnique()