Package org.openbravo.client.kernel
Class ApplicationComponent
- java.lang.Object
-
- org.openbravo.client.kernel.BaseComponent
-
- org.openbravo.client.kernel.BaseTemplateComponent
-
- org.openbravo.client.kernel.ApplicationComponent
-
- All Implemented Interfaces:
Component
public class ApplicationComponent extends BaseTemplateComponent
The component responsible for generating the static part of the application js file.- Author:
- mtaal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplicationComponent.ModuleVersionParameter
-
Field Summary
-
Fields inherited from class org.openbravo.client.kernel.BaseTemplateComponent
BASE_QUALIFIER, DATA_PARAMETER
-
Fields inherited from class org.openbravo.client.kernel.BaseComponent
adcs
-
-
Constructor Summary
Constructors Constructor Description ApplicationComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getButlerUtilsUrl()
Client
getClient()
Deprecated.String
getCommunityBrandingStaticUrl()
protected Template
getComponentTemplate()
String
getDateFormat()
String
getDateTimeFormat()
String
getDefaultDecimalSymbol()
String
getDefaultGroupingSymbol()
String
getDefaultNumericMask()
Map<String,String>
getFormats()
String
getLogoutRedirect()
List<ApplicationComponent.ModuleVersionParameter>
getModuleVersionParameters()
Organization
getOrganization()
Deprecated.Role
getRole()
Deprecated.User
getUser()
Deprecated.boolean
isTestEnvironment()
-
Methods inherited from class org.openbravo.client.kernel.BaseTemplateComponent
generate, getData, setComponentTemplate
-
Methods inherited from class org.openbravo.client.kernel.BaseComponent
bypassAuthentication, createComponent, getADCS, getApplicationName, getContentType, getContextUrl, getDependencies, getETag, getId, getLastModified, getModule, getModulePackageName, getParameter, getParameterNames, getParameters, getSafeValue, hasParameter, isClassicMode, isInDevelopment, isInDevelopment, isJavaScriptComponent, nullifyModuleCache, setDependencies, setId, setParameters, stripHost
-
-
-
-
Method Detail
-
getDefaultGroupingSymbol
public String getDefaultGroupingSymbol()
-
getDefaultDecimalSymbol
public String getDefaultDecimalSymbol()
-
isTestEnvironment
public boolean isTestEnvironment()
-
getDefaultNumericMask
public String getDefaultNumericMask()
-
getComponentTemplate
protected Template getComponentTemplate()
- Overrides:
getComponentTemplate
in classBaseTemplateComponent
-
getDateFormat
public String getDateFormat()
-
getDateTimeFormat
public String getDateTimeFormat()
-
getUser
@Deprecated public User getUser()
Deprecated.
-
getClient
@Deprecated public Client getClient()
Deprecated.
-
getOrganization
@Deprecated public Organization getOrganization()
Deprecated.
-
getRole
@Deprecated public Role getRole()
Deprecated.
-
getModuleVersionParameters
public List<ApplicationComponent.ModuleVersionParameter> getModuleVersionParameters()
-
getCommunityBrandingStaticUrl
public String getCommunityBrandingStaticUrl()
-
getButlerUtilsUrl
public String getButlerUtilsUrl()
-
getLogoutRedirect
public String getLogoutRedirect()
-
-