Package sk.iway.iwcm.admin.layout
Class LayoutBean
java.lang.Object
sk.iway.iwcm.admin.layout.LayoutBean
LayoutBean - drzi atributy pre model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBrand()getConstant(String name) getConstant(String name, String defaultValue) booleangetConstantBoolean(String name) Returns a configuration value with request and installation macros expanded.intgetConstantInt(String name) intgetConstantInt(String name, int defaultValue) Returns CSRF token parameter namegetDataTableColumns(String className) getDataTableTabs(String className) Returns the shared environment badge with the current request's configuration and macros.Returns the environment detected from the request server name.getLng()Vrati jazyk v ISO formatu, napr.getMenu()longgetUser()booleanhasPermission(String permission) Overi prava pouzivatela na zadanu polozkustatic booleanVrati true, ak existuje viac ako 30 perex skupin pre ich zobrazenie ako multiselectbooleanReturn true for cloud/multiweb/multitenant instalationvoidvoidsetCsrfToken(String csrfToken) voidsetCustomAdminCss(String customAdminCss) voidsetCustomAdminJavascript(String customAdminJavascript) voidsetHeader(HeaderBean header) voidvoidsetLngWebjet(String lngWebjet) voidsetLoginLocationUrl(String loginLocationUrl) voidvoidsetNopermsCss(String nopermsCss) voidsetNopermsJavascript(String nopermsJavascript) voidsetPropertiesLastModified(long propertiesLastModified) voidsetSystemInfo(SystemInfo systemInfo) voidvoidsetVersion(String version)
-
Constructor Details
-
LayoutBean
public LayoutBean()
-
-
Method Details
-
getDocumentationBaseUrl
-
getProductEdition
-
getProductVersion
-
getProductServer
-
getConstant
-
getConstant
-
getConstantExecuteMacro
Returns a configuration value with request and installation macros expanded. -
getEnvironmentName
Returns the environment detected from the request server name. -
getEnvironmentBadge
Returns the shared environment badge with the current request's configuration and macros. -
getConstantInt
-
getConstantInt
-
getConstantBoolean
-
getDataTableColumns
public String getDataTableColumns(String className) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getDataTableTabs
public String getDataTableTabs(String className) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getUserDto
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
hasPermission
Overi prava pouzivatela na zadanu polozku- Parameters:
permission- - kod prava (napr. cmp_crypto)- Returns:
-
isPerexGroupsRenderAsSelect
public static boolean isPerexGroupsRenderAsSelect()Vrati true, ak existuje viac ako 30 perex skupin pre ich zobrazenie ako multiselect- Returns:
-
getCsrfParameterName
Returns CSRF token parameter name- Returns:
-
isTypeCloud
public boolean isTypeCloud()Return true for cloud/multiweb/multitenant instalation- Returns:
-
getLngIso
Vrati jazyk v ISO formatu, napr. sk-SK, cs-CZ, en-GB- Returns:
-
getUser
-
getHeader
-
getSystemInfo
-
getBrand
-
getVersion
-
getMenu
-
getLng
-
getLngWebjet
-
getCsrfToken
-
getLoginLocationUrl
-
getNopermsCss
-
getNopermsJavascript
-
getPropertiesLastModified
public long getPropertiesLastModified() -
getCustomAdminCss
-
getCustomAdminJavascript
-
setUser
-
setHeader
-
setSystemInfo
-
setBrand
-
setVersion
-
setMenu
-
setLng
-
setLngWebjet
-
setCsrfToken
-
setLoginLocationUrl
-
setNopermsCss
-
setNopermsJavascript
-
setPropertiesLastModified
public void setPropertiesLastModified(long propertiesLastModified) -
setCustomAdminCss
-
setCustomAdminJavascript
-