Class ProcessGUIModel

java.lang.Object
de.xima.fc.inbox.model.ProcessGUIModel
All Implemented Interfaces:
Serializable

public class ProcessGUIModel extends Object implements Serializable
Model that holds information necessary for displaying a process
Author:
XIMA MEDIA GmbH
See Also:
  • Field Details

  • Method Details

    • getProcess

      public Vorgang getProcess()
    • getProcessView

      public EProcessView getProcessView()
    • isCanSubmitForm

      public boolean isCanSubmitForm()
    • isUsesNewWorkflow

      public boolean isUsesNewWorkflow()
    • setProcessView

      public void setProcessView(EProcessView processView)
    • isPendingDoubleOptIn

      public boolean isPendingDoubleOptIn()
      Returns:
      Whether a double opt-in process is still in progress.
    • isShowAdvancedMenu

      public boolean isShowAdvancedMenu()
      Returns:
      Whether the advanced processing menu is shown.
    • isShowStatusChangeMenu

      public boolean isShowStatusChangeMenu()
      Returns:
      Whether the menu for performing a state change is shown (old workflow engine only).
    • isShowInvokeTaskMenu

      public boolean isShowInvokeTaskMenu()
      Returns:
      Whether the menu for invoking a workflow trigger is shown (new workflow engine only).
    • getFormProcessTypes

      public List<javax.faces.model.SelectItem> getFormProcessTypes()
      Returns:
      Available form process types for the advanced menu.
    • setFormProcessTypes

      public void setFormProcessTypes(List<javax.faces.model.SelectItem> formProcessTypes)
    • isFormRecordAccessible

      public boolean isFormRecordAccessible()
    • isStandaloneView

      public boolean isStandaloneView()
    • getFormReviewUrl

      public String getFormReviewUrl()
    • getInboxReviewUrl

      public String getInboxReviewUrl()
    • isUseActiveProjectVersion

      public boolean isUseActiveProjectVersion()
    • setUseActiveProjectVersion

      public void setUseActiveProjectVersion(boolean useActiveProjectVersion)
    • getDataRoot

      public org.primefaces.model.TreeNode<FormFieldDataModel> getDataRoot()
    • getCurrentPageName

      public String getCurrentPageName()
    • getCurrentPageDisplayName

      public String getCurrentPageDisplayName()
    • getCurrentPageIcon

      public String getCurrentPageIcon()
    • getStateDisplayName

      public String getStateDisplayName()
    • getPageNames

      public List<String> getPageNames()
    • getAvailableFollowStates

      public List<Status> getAvailableFollowStates()
      Returns:
      All following states to the current state of the old workflow engine to which the user may perform a state change in the inbox.
    • getAvailableStatesForAdvancedDialog

      public List<Status> getAvailableStatesForAdvancedDialog()
    • getAvailableTasks

      public List<InvokableTaskModel> getAvailableTasks()
      Returns:
      All tasks of the new workflow engine that may be initiated by the current user in the inbox.
    • getQuartzDetails

      public List<IFormRecordJobDetailsModel> getQuartzDetails()
    • getFormRecordProjectVersion

      public IProjectVersionModel getFormRecordProjectVersion()
    • getActiveProjectVersion

      public IProjectVersionModel getActiveProjectVersion()
    • isCurrentFormversionActive

      public boolean isCurrentFormversionActive()
    • getCurrentlySelectedProjectVersion

      public IProjectVersionModel getCurrentlySelectedProjectVersion()
    • isFormRecordDataLocked

      public boolean isFormRecordDataLocked()
    • isCurrentViewAccessible

      public boolean isCurrentViewAccessible()
    • isViewAccessible

      public boolean isViewAccessible(EProcessView processView)
    • isWorkflowInvalid

      public boolean isWorkflowInvalid()
    • isShowViewActions

      public boolean isShowViewActions(EProcessView processView)
    • isWaitingForDoiVerification

      public boolean isWaitingForDoiVerification()
    • isCanSubmitFormVersion

      public boolean isCanSubmitFormVersion()
    • unlock

      public void unlock()
    • gotoFormPage

      public void gotoFormPage(String pageName)
    • updateData

      public void updateData(IUser user)
    • forStandaloneView

      public static final ProcessGUIModel forStandaloneView(javax.faces.context.FacesContext facesContext, Locale defaultLocale, IUser user)
    • forInboxView

      public static final ProcessGUIModel forInboxView(Long formRecordId, EProcessView processView, Locale locale, IUser user, String baseUrl)
    • getAvailableStates

      @Deprecated public List<Status> getAvailableStates()
      Deprecated.
      Returns:
      All states of the old workflow engine to which the user may perform a state change in the inbox (via the advanced dialog).
    • getFormFieldData

      @Deprecated public List<Map<String,String>> getFormFieldData()
      Deprecated.
    • setProcess

      @Deprecated public void setProcess(Vorgang process)
      Deprecated.
    • isCurrentFormversion

      @Deprecated public boolean isCurrentFormversion()
      Deprecated.
    • setCurrentFormversion

      @Deprecated public void setCurrentFormversion(boolean isCurrentFormversion)
      Deprecated.
    • create

      @Deprecated public static final ProcessGUIModel.Builder create(Vorgang process, Locale locale)
      Deprecated.
    • create

      @Deprecated public static final ProcessGUIModel.Builder create(ProcessGUIModel processGUI)
      Deprecated.