Package de.hybris.platform.hmc.jalo
Class ConfigConstants
- java.lang.Object
-
- de.hybris.platform.hmc.jalo.ConfigConstants
-
public class ConfigConstants extends java.lang.ObjectContains access to all properties from the configuration. They are loaded dynamically.- Since:
- 3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigConstants.DEFAULTSDefines the default values of all properties.
-
Field Summary
Fields Modifier and Type Field Description intBUFFERSIZEChange the hmc response buffer here (in kb).booleanCASEINSENSITIVESTRINGSEARCHMake search for string attributes case-insensitive (should be set to false if your database searches case-insensitive anyway).java.lang.StringCONTENTTYPEContenttype of the hmc response.booleanDEBUG_SHOWJSPCOMMENTSHMC Debugging -> show jsp start and end comments: true | false.booleanDEFAULT_AUTOLOGINDefault hmc login name and password (does only make sense during development) and if you will be automatically logged in.intDEFAULT_COLUMNLAYOUT_COLUMNWIDTHDefault attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.intDEFAULT_LABELWIDTHDefault attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.java.lang.StringDEFAULT_LOGINDefault hmc login name and password (does only make sense during development) and if you will be automatically logged in.java.lang.StringDEFAULT_PASSWORDDefault hmc login name and password (does only make sense during development) and if you will be automatically logged in.intDEFAULT_TABLE_COLUMNWIDTHDefault attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.intDEFAULT_VALUEWIDTHDefault attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.booleanDEVELOPERMODESetting hmc.developermode to true enables exception texts in the 'oops' page and the highlighting of missing localization texts (using square brackets).booleanENABLE_SCROLLBARhMC scrollbar mode.java.lang.StringENCODINGEncoding of the hmc request.java.lang.StringHMC_MEDIA_FOLDERSub folder name of the media folder in which the hmc stores its internal media files, such as the media containing the hmc.xml.booleanHMC_ORGANIZERLIST_SCROLLHEADERSet this to 'true' to force the organizer search result list to show up in one table instead of separating the table header and the table body.booleanHTML_ESCAPEIf true (default) the appropriate html content will be escaped in some places in the hmc (like labels etc.).booleanREDIRECT_ABSOLUTEjava.lang.StringRESULT_RANGESList of all possible values of items per page in result lists.java.lang.StringRESULT_RANGES_DEFAULTDefault value of items per page in result lists.intRESULTLIST_MINHEIGHTMinimum height of resultlist in pixels.booleanSHOW_ITEMHISTORYTurn off item history by setting this to false.booleanSHOWQUERYIf true the query attribute of a savedquery will be shown in the head of the search section.intSTORING_MODIFIEDVALUES_SIZEAdvanced.booleanSTRUCTURE_DBLoad structure (hmc.xml) from database?java.lang.StringSTRUCTURE_FILENAMEbooleanTOUCHFORREPLICATIONIf set to false, the setAttribute() for each session parameter in the WebChips MasterServlet is turned off.booleanUSERPROFILE_ACTIVEActivates/disactivates usage of userprofile data.java.lang.StringWINDOW_ABOUTjava.lang.StringWINDOW_ACTIONRESULTSet this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.java.lang.StringWINDOW_EDITORSet this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.java.lang.StringWINDOW_ORGANIZERSet this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.java.lang.StringWINDOW_SHORTCUTSet this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.java.lang.StringWINDOW_TYPEEXPORT_RESULTSet this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.longWINDOWTIMEOUTTimeout in minutes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigConstantsgetInstance()
-
-
-
Field Detail
-
BUFFERSIZE
public int BUFFERSIZE
Change the hmc response buffer here (in kb).
-
CASEINSENSITIVESTRINGSEARCH
public boolean CASEINSENSITIVESTRINGSEARCH
Make search for string attributes case-insensitive (should be set to false if your database searches case-insensitive anyway).
-
CONTENTTYPE
public java.lang.String CONTENTTYPE
Contenttype of the hmc response. Per default no charset is set, therefore the default charset 8859-1 should be used (see servlet apidoc).
-
DEBUG_SHOWJSPCOMMENTS
public boolean DEBUG_SHOWJSPCOMMENTS
HMC Debugging -> show jsp start and end comments: true | false.
-
DEFAULT_AUTOLOGIN
public boolean DEFAULT_AUTOLOGIN
Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
-
DEFAULT_COLUMNLAYOUT_COLUMNWIDTH
public int DEFAULT_COLUMNLAYOUT_COLUMNWIDTH
Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
-
DEFAULT_LABELWIDTH
public int DEFAULT_LABELWIDTH
Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
-
DEFAULT_LOGIN
public java.lang.String DEFAULT_LOGIN
Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
-
DEFAULT_PASSWORD
public java.lang.String DEFAULT_PASSWORD
Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
-
DEFAULT_TABLE_COLUMNWIDTH
public int DEFAULT_TABLE_COLUMNWIDTH
Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
-
DEFAULT_VALUEWIDTH
public int DEFAULT_VALUEWIDTH
Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
-
DEVELOPERMODE
public boolean DEVELOPERMODE
Setting hmc.developermode to true enables exception texts in the 'oops' page and the highlighting of missing localization texts (using square brackets).
-
ENABLE_SCROLLBAR
public boolean ENABLE_SCROLLBAR
hMC scrollbar mode.
-
ENCODING
public java.lang.String ENCODING
Encoding of the hmc request. Per default this is UTF-8.
-
HTML_ESCAPE
public boolean HTML_ESCAPE
If true (default) the appropriate html content will be escaped in some places in the hmc (like labels etc.).
-
REDIRECT_ABSOLUTE
public boolean REDIRECT_ABSOLUTE
-
RESULT_RANGES
public java.lang.String RESULT_RANGES
List of all possible values of items per page in result lists.
-
RESULT_RANGES_DEFAULT
public java.lang.String RESULT_RANGES_DEFAULT
Default value of items per page in result lists.
-
RESULTLIST_MINHEIGHT
public int RESULTLIST_MINHEIGHT
Minimum height of resultlist in pixels.
-
SHOW_ITEMHISTORY
public boolean SHOW_ITEMHISTORY
Turn off item history by setting this to false.
-
SHOWQUERY
public boolean SHOWQUERY
If true the query attribute of a savedquery will be shown in the head of the search section.
-
STORING_MODIFIEDVALUES_SIZE
public int STORING_MODIFIEDVALUES_SIZE
Advanced.
-
STRUCTURE_DB
public boolean STRUCTURE_DB
Load structure (hmc.xml) from database?
-
STRUCTURE_FILENAME
public java.lang.String STRUCTURE_FILENAME
-
TOUCHFORREPLICATION
public boolean TOUCHFORREPLICATION
If set to false, the setAttribute() for each session parameter in the WebChips MasterServlet is turned off. Note that session replication may not work if disabled (default is true).
-
USERPROFILE_ACTIVE
public boolean USERPROFILE_ACTIVE
Activates/disactivates usage of userprofile data.
-
WINDOW_ABOUT
public java.lang.String WINDOW_ABOUT
-
WINDOW_ACTIONRESULT
public java.lang.String WINDOW_ACTIONRESULT
Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
-
WINDOW_EDITOR
public java.lang.String WINDOW_EDITOR
Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
-
WINDOW_ORGANIZER
public java.lang.String WINDOW_ORGANIZER
Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
-
WINDOW_SHORTCUT
public java.lang.String WINDOW_SHORTCUT
Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
-
WINDOW_TYPEEXPORT_RESULT
public java.lang.String WINDOW_TYPEEXPORT_RESULT
Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
-
WINDOWTIMEOUT
public long WINDOWTIMEOUT
Timeout in minutes.
-
HMC_MEDIA_FOLDER
public java.lang.String HMC_MEDIA_FOLDER
Sub folder name of the media folder in which the hmc stores its internal media files, such as the media containing the hmc.xml.
-
HMC_ORGANIZERLIST_SCROLLHEADER
public boolean HMC_ORGANIZERLIST_SCROLLHEADER
Set this to 'true' to force the organizer search result list to show up in one table instead of separating the table header and the table body. This makes sense for search result lists with many columns because these will otherwise break up the horizontal scrolling (as the header doesn't scroll along with the table body).
-
-
Method Detail
-
getInstance
public static ConfigConstants getInstance()
-
-