Class UserInfoComponent
- java.lang.Object
-
- org.openbravo.client.kernel.BaseComponent
-
- org.openbravo.client.kernel.BaseTemplateComponent
-
- org.openbravo.client.kernel.SessionDynamicTemplateComponent
-
- org.openbravo.client.application.navigationbarcomponents.UserInfoComponent
-
- All Implemented Interfaces:
Component
public class UserInfoComponent extends SessionDynamicTemplateComponent
Component that provides the context information of the current user within the 'Profile' widget.
-
-
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 UserInfoComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContextClientId()
String
getContextLanguageId()
String
getContextOrganizationId()
String
getContextRoleId()
String
getContextWarehouseId()
String
getId()
List<Language>
getLanguages()
protected String
getTemplateId()
List<RoleInfo>
getUserRolesInfo()
-
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
-
getContextRoleId
public String getContextRoleId()
-
getContextClientId
public String getContextClientId()
-
getContextOrganizationId
public String getContextOrganizationId()
-
getContextWarehouseId
public String getContextWarehouseId()
-
getContextLanguageId
public String getContextLanguageId()
-
-