PERSPECTIVE_ATTRIBUTE| Constructor and Description |
|---|
UISessionImpl() |
public java.util.List<CatalogVersionModel> getSelectedCatalogVersions()
getSelectedCatalogVersions in interface UISessionpublic void setSelectedCatalogVersions(java.util.List<CatalogVersionModel> catalogVersions)
setSelectedCatalogVersions in interface UISessionpublic java.util.List<UICockpitPerspective> getAvailablePerspectives()
UISessiongetAvailablePerspectives in interface UISessionpublic void setAvailablePerspectives(java.util.List<UICockpitPerspective> availablePerspectives)
public void setSendEventsImmediately(boolean immediately)
protected void updateRestrictedPerspectives()
public void registerPerspectiveContainer(Component comp)
public UICockpitPerspective getCurrentPerspective()
UISessiongetCurrentPerspective in interface UISessionpublic void setCurrentPerspective(UICockpitPerspective perspective)
UISessionUISession.getAvailablePerspectives(). Triggers
UISessionListener.perspectiveChanged(UICockpitPerspective, UICockpitPerspective).setCurrentPerspective in interface UISessionperspective - the new perspective beanpublic void setCurrentPerspective(UICockpitPerspective perspective, java.util.Map<java.lang.String,? extends java.lang.Object> params)
setCurrentPerspective in interface UISessionprotected void firePerspectiveChanged(UICockpitPerspective old)
protected java.util.List<UISessionListener> getListeners(boolean create)
public void setInitialSessionListeners(java.util.Collection<UISessionListener> listeners)
public void addSessionListener(UISessionListener listener)
UISessionaddSessionListener in interface UISessionlistener - the new listenerpublic void removeSessionListener(UISessionListener listener)
UISessionremoveSessionListener in interface UISessionlistener - the listener to removepublic void clearSessionListeners()
protected void fireAfterLogin()
protected void fireBeforeLogout()
protected void fireDataLanguageChanged()
public java.lang.String getLanguageIso()
UISessionUISession.getLocale() instead, if you want the locale
before creating your own locale objectgetLanguageIso in interface UISessionpublic java.util.Set<java.lang.String> getSupportedLanguageIsoCodes()
public UserModel getUser()
UISessionpublic void setUser(UserModel currentUser)
UISessionpublic void setUserByUID(java.lang.String uid)
UISessionsetUserByUID in interface UISessionpublic void login(UserModel user)
UISessionpublic SystemService getSystemService()
getSystemService in interface UISessionpublic void setSystemService(SystemService systemService)
public void setNewItemService(NewItemService newItemService)
public NewItemService getNewItemService()
getNewItemService in interface UISessionpublic void setCockpitTypeService(TypeService cockpitTypeService)
cockpitTypeService - the cockpitTypeService to setpublic void setValueHandlerRegistry(ObjectValueHandlerRegistry objectValueRegistry)
public void setLabelService(LabelService labelService)
public LabelService getLabelService()
getLabelService in interface UISessionpublic void setSessionService(SessionService sessionService)
public ObjectValueHandlerRegistry getValueHandlerRegistry()
getValueHandlerRegistry in interface UISessionpublic void setGlobalDataLanguageIso(java.lang.String globalDataLanguageIso)
setGlobalDataLanguageIso in interface UISessionpublic java.lang.String getGlobalDataLanguageIso()
UISessionUISession.getGlobalDataLocale() instead, if you want the
locale before creating your own locale objectgetGlobalDataLanguageIso in interface UISessionpublic SearchService getSearchService()
getSearchService in interface UISessionpublic void setSearchService(SearchService searchService)
public SavedQueryService getSavedQueryService()
getSavedQueryService in interface UISessionpublic void setSavedQueryService(SavedQueryService savedQueryService)
public UndoManager getUndoManager()
getUndoManager in interface UISessionpublic void setUndoManager(UndoManager undoManager)
public void sendGlobalEvent(CockpitEvent event, boolean immediate)
UISessionsendGlobalEvent in interface UISessionevent - the event to be processedimmediate - force to send event immediately (not "on later")public void sendGlobalEvent(CockpitEvent event)
UISessionsendGlobalEvent in interface UISessionevent - the event to be processedpublic void initSession()
public void registerAdditionalPerspectives()
protected IdGenerator createIdGenerator()
public boolean isUsingTestIDs()
isUsingTestIDs in interface UISession@Deprecated public void setUsingTestIDs(boolean value)
public UICockpitPerspective getPerspective(java.lang.String uid) throws java.lang.IllegalArgumentException
getPerspective in interface UISessionjava.lang.IllegalArgumentExceptionpublic void setModelService(ModelService modelService)
public ModelService getModelService()
getModelService in interface UISessionpublic boolean isPerspectiveAvailable(java.lang.String uid)
isPerspectiveAvailable in interface UISessionpublic RequestHandler getRequestHandler()
getRequestHandler in interface UISessionpublic void setRequestHandler(RequestHandler reqHandler)
setRequestHandler in interface UISessionpublic java.util.List<PushCreationContainer> getPushContainers()
getPushContainers in interface UISessionpublic void setPushContainers(java.util.List<PushCreationContainer> pushContainers)
setPushContainers in interface UISessionpublic void setDragOverPerspectivesEnabled(boolean dragOverPerspEnabled)
public boolean isDragOverPerspectivesEnabled()
isDragOverPerspectivesEnabled in interface UISessionpublic void setCachePerspectivesEnabled(boolean cachePerspectivesEnabled)
public boolean isCachePerspectivesEnabled()
isCachePerspectivesEnabled in interface UISessionpublic void setUiConfigurationService(UIConfigurationService configurationService)
public UIConfigurationService getUiConfigurationService()
getUiConfigurationService in interface UISessionpublic void setUiAccessRightService(UIAccessRightService accessRightService)
public UIAccessRightService getUiAccessRightService()
getUiAccessRightService in interface UISessionpublic boolean setSessionAttribute(java.lang.String key,
java.lang.Object value)
setSessionAttribute in interface UISessionpublic java.util.Locale getGlobalDataLocale()
getGlobalDataLocale in interface UISessionpublic java.util.Locale getLocale()
public void setCommonI18NService(CommonI18NService commonI18NService)
public void setLocalizationService(LocalizationService localizationService)
public LocalizationService getLocalizationService()
public void setJasperReportsRefresh(JasperReportsRefresh jasperReportsRefresh)
public JasperReportsRefresh getJasperReportsRefresh()
UISessiongetJasperReportsRefresh in interface UISessionpublic TypeService getTypeService()
getTypeService in interface UISessionpublic void setApplicationContext(ApplicationContext appCtx)
throws BeansException
BeansExceptionCopyright © 2018 SAP SE. All Rights Reserved.