Package de.hybris.platform.core
Class Constants
- java.lang.Object
-
- de.hybris.platform.core.Constants
-
public class Constants extends java.lang.Objectconstants definition for the hybris platform framework
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConstants.CACHE_KEYSDefinition of used cached keys.static interfaceConstants.Encryptionstatic classConstants.ENUMSstatic interfaceConstants.Initializationinternal use only!static classConstants.TCTypecode definitions.static interfaceConstants.TYPESDefinition of some core typesstatic classConstants.USERSystem user principals.static classConstants.WEBDefinition of thejalosessionconstant.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDB_DETECT_CONNECTION_LOSTstatic booleanDB_DETECT_CONNECTION_LOST_DEFAULTstatic java.lang.StringDISABLE_CYCLIC_CHECKSSession attribute to disable checking for cyclic structures.
-
Constructor Summary
Constructors Constructor Description Constants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckUnique()
-
-
-
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
-
-