Class UserProfileBean

All Implemented Interfaces:
Serializable

@Named @SessionScoped public class UserProfileBean extends FCContextBean
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • UserProfileBean

      public UserProfileBean()
  • Method Details

    • init

      @PostConstruct public void init()
    • getColumnsProcessProtocol

      public List<Boolean> getColumnsProcessProtocol()
    • 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()
    • toggleProjectView

      public void toggleProjectView()
    • onDesignerLayoutOpen

      public void onDesignerLayoutOpen(org.primefaces.extensions.event.OpenEvent event)
    • onDesignerLayoutClose

      public void onDesignerLayoutClose(org.primefaces.extensions.event.CloseEvent event)
    • isElementsPanelCollapsed

      public boolean isElementsPanelCollapsed()
    • 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 - If true, 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'
    • setProjectListView

      @Deprecated public void setProjectListView(boolean isProjectListView)
      Deprecated.