Package de.xima.fc.gui.bean.user
Class UserProfileBean
-
- All Implemented Interfaces:
Serializable
@Named @SessionScoped public class UserProfileBean extends FCContextBean
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description UserProfileBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<SystemMessage>
getAvailableMessages()
// TODO Allow the user to hide message he does not wish to see anymore (profile setting)org.primefaces.extensions.model.layout.LayoutOptions
getCenterPanelOptions(boolean forceInitiallyOpened)
Options for the layout panel used for templates and other view with a large preview area in the center and and some less important details to the rightList<Boolean>
getColumnsProcessProtocol()
org.primefaces.extensions.model.layout.LayoutOptions
getDesignerBaseLayoutOptions()
org.primefaces.extensions.model.layout.LayoutOptions
getDesignerCenterLayoutOptions()
org.primefaces.extensions.model.layout.LayoutOptions
getFormsPageOptions()
org.primefaces.extensions.model.layout.LayoutOptions
getWorkflowDesignerBaseLayoutOptions()
void
init()
boolean
isProjectListView()
boolean
isProjectStarred(Projekt project)
boolean
isShowDetailsPanel()
void
onToggleProcessProtocol(org.primefaces.event.ToggleEvent e)
void
setProjectListView(boolean isProjectListView)
void
setProjectStarred(Projekt project, boolean starred)
void
setShowDetailsPanel(boolean showDetailsPanel)
void
toggleProjectStarred(Projekt project)
void
toggleProjectView()
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
onToggleProcessProtocol
public void onToggleProcessProtocol(org.primefaces.event.ToggleEvent e)
-
isProjectStarred
public boolean isProjectStarred(Projekt project)
-
setProjectStarred
public void setProjectStarred(Projekt project, boolean starred)
-
toggleProjectStarred
public void toggleProjectStarred(Projekt project)
-
getAvailableMessages
public Collection<SystemMessage> getAvailableMessages()
// TODO Allow the user to hide message he does not wish to see anymore (profile setting)- Returns:
- All messages that should be shown to the current user.
-
isProjectListView
public boolean isProjectListView()
-
setProjectListView
public void setProjectListView(boolean isProjectListView)
-
toggleProjectView
public void toggleProjectView()
-
isShowDetailsPanel
public boolean isShowDetailsPanel()
- Returns:
- For pages with an large editor in the center, eg. HTML templates: Whether the panel with the name and description of the entity is initially closed or not. It is always shown when a new template/file is created.
-
setShowDetailsPanel
public void setShowDetailsPanel(boolean showDetailsPanel)
-
getCenterPanelOptions
public org.primefaces.extensions.model.layout.LayoutOptions getCenterPanelOptions(boolean forceInitiallyOpened)
Options for the layout panel used for templates and other view with a large preview area in the center and and some less important details to the right- Parameters:
forceInitiallyOpened
- Iftrue
, forces the details panel to be opened initially.- Returns:
- The layout options for the current user's profile settings.
-
getWorkflowDesignerBaseLayoutOptions
public org.primefaces.extensions.model.layout.LayoutOptions getWorkflowDesignerBaseLayoutOptions()
-
getDesignerBaseLayoutOptions
public org.primefaces.extensions.model.layout.LayoutOptions getDesignerBaseLayoutOptions()
-
getDesignerCenterLayoutOptions
public org.primefaces.extensions.model.layout.LayoutOptions getDesignerCenterLayoutOptions()
-
getFormsPageOptions
public org.primefaces.extensions.model.layout.LayoutOptions getFormsPageOptions()
- Returns:
LayoutOptions
for Project overview page 'forms.xhtml'
-
-