Class DialogBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @ViewScoped
    public class DialogBean
    extends FCContextBean
    Emulates the dynamic functionality of a primefaces dialog. Using the attribute dynamic on a primefaces dialog may result in an additional, unwanted AJAX request.

    For example: The user clicks a button to open a dialog. A bean for that dialog needs to be updated, we use a p:ajax handler to update the bean. In the same AJAX request, we also call the appropriate method on this bean. We also update the dialog in the same AJAX request. Had we used the dynamic attribute of a primefaces dialog, we would have to show the dialog after updating the bean, which would result in an additional AJAX request (and an additional loading screen).

    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • DialogBean

        public DialogBean()
    • Method Detail

      • closeDialog

        public void closeDialog​(EViews view)
      • closeDialog

        public void closeDialog​(String dialogId)
      • isAccessOpened

        public boolean isAccessOpened()
      • isAppointmentsOpened

        public boolean isAppointmentsOpened()
      • isDatatableOpened

        public boolean isDatatableOpened()
      • isDbConnOpened

        public boolean isDbConnOpened()
      • isDbQueryOpened

        public boolean isDbQueryOpened()
      • isFilesOpened

        public boolean isFilesOpened()
      • isClientFilesOpened

        public boolean isClientFilesOpened()
      • isInboxTableOpened

        public boolean isInboxTableOpened()
      • isLdapConnOpened

        public boolean isLdapConnOpened()
      • isLdapQueryOpened

        public boolean isLdapQueryOpened()
      • isOpened

        public boolean isOpened​(EViews view)
      • isOpened

        public boolean isOpened​(String dialogId)
      • isProjectGroupEditOpened

        public boolean isProjectGroupEditOpened()
      • isProjectDetailsOpened

        public boolean isProjectDetailsOpened()
      • isProjectDOIOpened

        public boolean isProjectDOIOpened()
      • isProjectUpdateWorkflowOpened

        public boolean isProjectUpdateWorkflowOpened()
      • isPublishOpened

        public boolean isPublishOpened()
      • isSourcesOpened

        public boolean isSourcesOpened()
      • isResourcesOpened

        public boolean isResourcesOpened()
      • isVersionsOpened

        public boolean isVersionsOpened()
      • isWorkflowOpened

        public boolean isWorkflowOpened()
      • isPrintExportOpened

        public boolean isPrintExportOpened()
      • isPortraitExportOpened

        public boolean isPortraitExportOpened()
      • isExportOpened

        public boolean isExportOpened()
      • openAccess

        public void openAccess()
      • openAppointments

        public void openAppointments()
      • openDatatable

        public void openDatatable()
      • openDbConn

        public void openDbConn()
      • openDbQuery

        public void openDbQuery()
      • openProjectUpdateWorkflow

        public void openProjectUpdateWorkflow()
      • openDialog

        public void openDialog​(EViews view)
      • openDialog

        public void openDialog​(String dialogId)
      • openClientFiles

        public void openClientFiles()
      • openFiles

        public void openFiles()
      • openInboxTable

        public void openInboxTable()
      • openLdapConn

        public void openLdapConn()
      • openLdapQuery

        public void openLdapQuery()
      • openProjectGroupEdit

        public void openProjectGroupEdit()
      • openProjectDetails

        public void openProjectDetails()
      • openProjectDOIDetails

        public void openProjectDOIDetails()
      • openPublish

        public void openPublish()
      • openSources

        public void openSources()
      • openResources

        public void openResources()
      • openVersions

        public void openVersions()
      • openWorkflow

        public void openWorkflow()
      • openInvite

        public void openInvite()
      • openPrintExport

        public void openPrintExport()
      • openPortraitExport

        public void openPortraitExport()
      • openExport

        public void openExport()