Package sk.iway.iwcm
Class Constants
java.lang.Object
sk.iway.iwcm.Constants
Konstanty aplikacie
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Description of the Fieldstatic final String
Description of the Fieldstatic final String
Description of the Fieldstatic final String
1 Description of the Fieldstatic final String
Description of the Fieldstatic final int
Description of the Fieldstatic final int
Description of the Fieldstatic final int
System bezi na ORACLE databazestatic final int
PostgreSQL DB enginestatic int
default hodnotastatic final String
defaultny encoding suborovstatic final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Description of the Fieldstatic final String
static final String
Description of the Fieldstatic final String
Description of the Fieldstatic final String
Description of the Fieldstatic final String
Description of the Fieldstatic final String
Description of the Fieldstatic final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static boolean
containsKey
(String key) static boolean
deleteConstant
(String name) static String
executeMacro
(String value) V hodnote vykona makra (napr.static List<ConfDetails>
static String[]
Returns coma separated value as Arraystatic boolean
getBoolean
(String constName) Gets the string attribute of the Constants classstatic String
getConstType
(String constName) Gets type of constant valuestatic String
getDescription
(String constName) Gets description of constantgetHashtable
(String name) Vrati hodnotu konstanty skonvertovanu do hashtabulky, format zapisu konf.static String
static int
Gets the int attribute of the Constants classstatic int
static String
static long
Gets the int attribute of the Constants classstatic long
static javax.servlet.ServletContext
static String
Gets the string attribute of the Constants classstatic String
static String
getStringExecuteMacro
(String constName) Ziska hodnotu konstanty s vykonanim makra (napr.static boolean
static String
static void
setAllValues
(ConfDetails conf) Nastavi/prepise novu konfiguracnu hodnotu do listustatic void
setBoolean
(String constName, boolean VALUE) Sets the string attribute of the Constants classstatic void
setBoolean
(String name, boolean value, String modules, String description) static void
setBoolean
(String constName, String VALUE) static void
setConstantsAliasSearch
(boolean constantsAliasSearch) static void
setInstallName
(String installName) static void
Sets the int attribute of the Constants classstatic void
static void
Sets the long attribute of the Constants classstatic void
static void
setServletContext
(javax.servlet.ServletContext newServletContext) static void
Sets the string attribute of the Constants classstatic void
Nastavi string a ulozi do zoznamu dostupnych konfiguracnych premennych pre pouzitie v GUI
-
Field Details
-
NON_BREAKING_SPACE
- See Also:
-
MOD_BASKET
- See Also:
-
MOD_CONFIG
- See Also:
-
MOD_DBSTORAGE
- See Also:
-
MOD_EDITOR
- See Also:
-
MOD_GALLERY
- See Also:
-
MOD_MAGZILLA
- See Also:
-
MOD_MICROSITE
- See Also:
-
MOD_NTLM
- See Also:
-
MOD_PERFORMANCE
- See Also:
-
MOD_SEARCH
- See Also:
-
MOD_SECURITY
- See Also:
-
MOD_SMS
- See Also:
-
MOD_STAT
- See Also:
-
MOD_USER
- See Also:
-
SERVER_NAME_MACRO
- See Also:
-
MOD_CAPTCHA
- See Also:
-
MOD_FILE_ARCHIV
- See Also:
-
MOD_DMAIL
- See Also:
-
MOD_RESERVATION
- See Also:
-
MOD_FORMMAIL
- See Also:
-
MOD_OBSOLETE
- See Also:
-
A_DOC_DB
Description of the Field- See Also:
-
A_USER_GROUPS_DB
1 Description of the Field- See Also:
-
A_TEMP_DB
Description of the Field- See Also:
-
A_GROUPS_DB
Description of the Field- See Also:
-
DB_MSSQL
public static final int DB_MSSQLDescription of the Field- See Also:
-
DB_MYSQL
public static final int DB_MYSQLDescription of the Field- See Also:
-
DB_ORACLE
public static final int DB_ORACLESystem bezi na ORACLE databaze- See Also:
-
DB_PGSQL
public static final int DB_PGSQLPostgreSQL DB engine- See Also:
-
DB_TYPE
public static int DB_TYPEdefault hodnota -
USER_KEY
Description of the Field- See Also:
-
USER_KEY_IMPERSONATE
- See Also:
-
SESSION_GROUP_ID
Description of the Field- See Also:
-
BENZIN_DB
Description of the Field- See Also:
-
OBCE_DB
Description of the Field- See Also:
-
STAT_START_DATE
Description of the Field- See Also:
-
STAT_END_DATE
Description of the Field- See Also:
-
STAT_MAX_ROWS
Description of the Field- See Also:
-
FILE_ENCODING
defaultny encoding suborov- See Also:
-
LINK_TYPE_DOCID
public static final int LINK_TYPE_DOCID- See Also:
-
LINK_TYPE_HTML
public static final int LINK_TYPE_HTML- See Also:
-
-
Constructor Details
-
Constants
protected Constants()
-
-
Method Details
-
setString
Nastavi string a ulozi do zoznamu dostupnych konfiguracnych premennych pre pouzitie v GUI- Parameters:
name
-value
-modules
-description
-
-
setLong
-
setInt
-
setBoolean
-
mods
-
clearValues
public static void clearValues() -
getInt
Gets the int attribute of the Constants class- Parameters:
constName
- Description of the Parameter- Returns:
- The int value
-
setInt
Sets the int attribute of the Constants class- Parameters:
constName
- The new int valueVALUE
- The new int value
-
getInt
-
getLong
Gets the int attribute of the Constants class- Parameters:
constName
- Description of the Parameter- Returns:
- The int value
-
getLong
-
setLong
Sets the long attribute of the Constants class- Parameters:
constName
- The new int valueVALUE
- The new int value
-
getString
Gets the string attribute of the Constants class- Parameters:
constName
- Description of the Parameter- Returns:
- The string value, in case of any error or when value is not defined returns empty string
-
getStringExecuteMacro
Ziska hodnotu konstanty s vykonanim makra (napr. nahrada {INSTALL_NAME} za realnu hodnotu)- Parameters:
constName
-- Returns:
-
executeMacro
V hodnote vykona makra (napr. nahrada {INSTALL_NAME} za realnu hodnotu). Je mozne pouzit: - {INSTALL_NAME} - {DOMAIN_NAME} - {DOMAIN_ALIAS} - {HTTP_PROTOCOL} - {HTTP_PORT} - {SERVER_NAME} -
getString
-
getArray
Returns coma separated value as Array- Parameters:
name
- - configuration name- Returns:
-
setString
Sets the string attribute of the Constants class- Parameters:
constName
- The new string valueVALUE
- The new string value
-
getBoolean
Gets the string attribute of the Constants class- Parameters:
constName
- Description of the Parameter- Returns:
- The string value
-
setBoolean
Sets the string attribute of the Constants class- Parameters:
constName
- The new string valueVALUE
- The new string value
-
setBoolean
-
setServletContext
public static void setServletContext(javax.servlet.ServletContext newServletContext) -
getServletContext
public static javax.servlet.ServletContext getServletContext() -
deleteConstant
-
containsKey
-
getAllValues
-
getAllKeys
-
setAllValues
Nastavi/prepise novu konfiguracnu hodnotu do listu- Parameters:
conf
-
-
setInstallName
-
getInstallName
-
getLogInstallName
-
isConstantsAliasSearch
public static boolean isConstantsAliasSearch() -
setConstantsAliasSearch
public static void setConstantsAliasSearch(boolean constantsAliasSearch) -
getDescription
Gets description of constant- Parameters:
constName
- Name of the constant- Returns:
- The string value
-
getConstType
Gets type of constant value- Parameters:
constName
- Name of the constant- Returns:
- The string value (integer, string, boolean)
-
getHashtable
Vrati hodnotu konstanty skonvertovanu do hashtabulky, format zapisu konf. premennej je kluc1|hodnota1 kluc2|hodnota2 kluc3|hodnota3- Parameters:
name
-- Returns:
-