Package org.openbravo.client.kernel
Class ApplicationDynamicComponent
- java.lang.Object
-
- org.openbravo.client.kernel.BaseComponent
-
- org.openbravo.client.kernel.BaseTemplateComponent
-
- org.openbravo.client.kernel.SessionDynamicTemplateComponent
-
- org.openbravo.client.kernel.ApplicationDynamicComponent
-
- All Implemented Interfaces:
Component
public class ApplicationDynamicComponent extends SessionDynamicTemplateComponent
The component responsible for generating some dynamic elements of the application js file which are related to the user of the current context.- Author:
- mtaal
-
-
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 ApplicationDynamicComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Entity>
getAccessibleEntities()
String
getActiveInstanceStringValue()
Client
getClient()
String
getCommunityBrandingUrl()
Map<String,String>
getCompanyImageLogoData()
String
getCsrfToken()
String
getGoldenStringValue()
String
getId()
String
getInstancePurpose()
String
getLanguage()
String
getLanguageId()
String
getLicenseType()
Organization
getOrganization()
Role
getRole()
String
getSystemVersion()
protected String
getTemplateId()
String
getTrialStringValue()
User
getUser()
String
getVersionDescription()
Set<String>
getWritableOrganizations()
-
Methods inherited from class org.openbravo.client.kernel.SessionDynamicTemplateComponent
getComponentTemplate, getETag
-
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, getLastModified, getModule, getModulePackageName, getParameter, getParameterNames, getParameters, getSafeValue, hasParameter, isClassicMode, isInDevelopment, isInDevelopment, isJavaScriptComponent, nullifyModuleCache, setDependencies, setId, setParameters, stripHost
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceComponent
- Overrides:
getId
in classBaseComponent
- Returns:
- the id of the component, see the id description in the root of this class.
-
getTemplateId
protected String getTemplateId()
- Specified by:
getTemplateId
in classSessionDynamicTemplateComponent
-
getUser
public User getUser()
-
getClient
public Client getClient()
-
getOrganization
public Organization getOrganization()
-
getRole
public Role getRole()
-
getLanguageId
public String getLanguageId()
-
getLanguage
public String getLanguage()
-
getSystemVersion
public String getSystemVersion()
-
getInstancePurpose
public String getInstancePurpose()
-
getLicenseType
public String getLicenseType()
-
getTrialStringValue
public String getTrialStringValue()
-
getGoldenStringValue
public String getGoldenStringValue()
-
getActiveInstanceStringValue
public String getActiveInstanceStringValue()
-
getVersionDescription
public String getVersionDescription()
-
getCsrfToken
public String getCsrfToken()
-
getCommunityBrandingUrl
public String getCommunityBrandingUrl()
-
-