Package de.xima.fc.inbox.model
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessGUIModel.BuilderDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_STATUS_IDstatic StringPARAM_STYLE_CLASS_ATTACHMENTstatic StringPARAM_STYLE_CLASS_CLOSEstatic StringPARAM_STYLE_CLASS_CONVERT_VERSIONstatic StringPARAM_STYLE_CLASS_CREATE_PDFstatic StringPARAM_STYLE_CLASS_DELETEstatic StringPARAM_STYLE_CLASS_MARK_READstatic StringPARAM_STYLE_CLASS_MARK_UNREADstatic StringPARAM_STYLE_CLASS_OPEN_IN_NEW_WINDOWstatic StringPARAM_STYLE_CLASS_XPAGEstatic StringPARAM_STYLE_CLASS_XPAGESstatic StringPARAM_TAB_ACTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProcessGUIModel.Buildercreate(Vorgang process, Locale locale)Deprecated.static ProcessGUIModel.Buildercreate(ProcessGUIModel processGUI)Deprecated.static ProcessGUIModelforInboxView(Long formRecordId, EProcessView processView, Locale locale, IUser user, String baseUrl)static ProcessGUIModelforStandaloneView(javax.faces.context.FacesContext facesContext, Locale defaultLocale, IUser user)IProjectVersionModelgetActiveProjectVersion()active version of the projectList<Status>getAvailableFollowStates()All following states to the current state of the old workflow engine to which the user may perform a state change in the inbox.List<Status>getAvailableStates()Deprecated.List<Status>getAvailableStatesForAdvancedDialog()List<InvokableTaskModel>getAvailableTasks()tasks of the new workflow engine that may be initiated by the current user in the inbox.StringgetBaseUrl()IProjectVersionModelgetCurrentlySelectedProjectVersion()StringgetCurrentPageDisplayName()StringgetCurrentPageIcon()StringgetCurrentPageName()org.primefaces.model.TreeNode<FormFieldDataModel>getDataRoot()List<Map<String,String>>getFormFieldData()Deprecated.List<javax.faces.model.SelectItem>getFormProcessTypes()Available form process types for the advanced menu.IFormRecordReviewDatagetFormRecordData()IProjectVersionModelgetFormRecordProjectVersion()project version the form record is currently inStringgetFormReviewUrl()StringgetInboxReviewUrl()LocalegetLocale()List<String>getPageNames()VorganggetProcess()EProcessViewgetProcessView()List<IFormRecordJobDetailsModel>getQuartzDetails()StringgetStateDisplayName()voidgotoFormPage(String pageName)booleanisCanSetStatesIndependentOfOrder()booleanisCanSubmitForm()booleanisCanSubmitFormVersion()booleanisCurrentFormversion()Deprecated.booleanisCurrentFormversionActive()booleanisCurrentViewAccessible()booleanisForceUnlock()booleanisFormRecordAccessible()booleanisFormRecordDataLocked()booleanisHasExistingFormRecordChats()booleanisPendingDoubleOptIn()Whether a double opt-in process is still in progress.booleanisShowAdvancedMenu()Whether the advanced processing menu is shown.booleanisShowInvokeTaskMenu()Whether the menu for invoking a workflow trigger is shown (new workflow engine only).booleanisShowStatusChangeMenu()Whether the menu for performing a state change is shown (old workflow engine only).booleanisStandaloneView()booleanisUseActiveProjectVersion()booleanisUsesNewWorkflow()booleanisViewAccessible(EProcessView processView)booleanisWorkflowInvalid()voidsetCurrentFormversion(boolean isCurrentFormversion)Deprecated.voidsetFormProcessTypes(List<javax.faces.model.SelectItem> formProcessTypes)Available form process types for the advanced menu.voidsetProcess(Vorgang process)Deprecated.voidsetProcessView(EProcessView processView)voidsetUseActiveProjectVersion(boolean useActiveProjectVersion)voidunlock()voidupdateData(IUser user)
-
-
-
Field Detail
-
PARAM_TAB_ACTION
public static final String PARAM_TAB_ACTION
- See Also:
- Constant Field Values
-
PARAM_STATUS_ID
public static final String PARAM_STATUS_ID
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_DELETE
public static final String PARAM_STYLE_CLASS_DELETE
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_OPEN_IN_NEW_WINDOW
public static final String PARAM_STYLE_CLASS_OPEN_IN_NEW_WINDOW
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_CLOSE
public static final String PARAM_STYLE_CLASS_CLOSE
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_MARK_READ
public static final String PARAM_STYLE_CLASS_MARK_READ
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_MARK_UNREAD
public static final String PARAM_STYLE_CLASS_MARK_UNREAD
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_ATTACHMENT
public static final String PARAM_STYLE_CLASS_ATTACHMENT
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_CONVERT_VERSION
public static final String PARAM_STYLE_CLASS_CONVERT_VERSION
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_CREATE_PDF
public static final String PARAM_STYLE_CLASS_CREATE_PDF
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_XPAGE
public static final String PARAM_STYLE_CLASS_XPAGE
- See Also:
- Constant Field Values
-
PARAM_STYLE_CLASS_XPAGES
public static final String PARAM_STYLE_CLASS_XPAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProcess
public Vorgang getProcess()
-
setProcess
@Deprecated public void setProcess(Vorgang process)
Deprecated.
-
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
-
isFormRecordAccessible
public boolean isFormRecordAccessible()
-
isCurrentFormversionActive
public boolean isCurrentFormversionActive()
-
getCurrentlySelectedProjectVersion
public IProjectVersionModel getCurrentlySelectedProjectVersion()
-
isFormRecordDataLocked
public boolean isFormRecordDataLocked()
-
isCurrentViewAccessible
public boolean isCurrentViewAccessible()
-
isViewAccessible
public boolean isViewAccessible(EProcessView processView)
-
unlock
public void unlock()
-
gotoFormPage
public void gotoFormPage(String pageName)
-
updateData
public void updateData(IUser user)
-
forStandaloneView
public static ProcessGUIModel forStandaloneView(javax.faces.context.FacesContext facesContext, Locale defaultLocale, IUser user)
-
forInboxView
public static 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.
-
isCurrentFormversion
@Deprecated public boolean isCurrentFormversion()
Deprecated.
-
setCurrentFormversion
@Deprecated public void setCurrentFormversion(boolean isCurrentFormversion)
Deprecated.
-
create
@Deprecated public static ProcessGUIModel.Builder create(Vorgang process, Locale locale)
Deprecated.
-
create
@Deprecated public static ProcessGUIModel.Builder create(ProcessGUIModel processGUI)
Deprecated.
-
getBaseUrl
public String getBaseUrl()
-
getFormRecordData
public IFormRecordReviewData getFormRecordData()
-
getAvailableFollowStates
public List<Status> getAvailableFollowStates()
All following states to the current state of the old workflow engine to which the user may perform a state change in the inbox.
-
getAvailableTasks
public List<InvokableTaskModel> getAvailableTasks()
tasks of the new workflow engine that may be initiated by the current user in the inbox.
-
getProcessView
public EProcessView getProcessView()
-
isStandaloneView
public boolean isStandaloneView()
-
isForceUnlock
public boolean isForceUnlock()
-
isShowAdvancedMenu
public boolean isShowAdvancedMenu()
Whether the advanced processing menu is shown.
-
isShowStatusChangeMenu
public boolean isShowStatusChangeMenu()
Whether the menu for performing a state change is shown (old workflow engine only).
-
isShowInvokeTaskMenu
public boolean isShowInvokeTaskMenu()
Whether the menu for invoking a workflow trigger is shown (new workflow engine only).
-
isUseActiveProjectVersion
public boolean isUseActiveProjectVersion()
-
isWorkflowInvalid
public boolean isWorkflowInvalid()
-
isCanSetStatesIndependentOfOrder
public boolean isCanSetStatesIndependentOfOrder()
-
isHasExistingFormRecordChats
public boolean isHasExistingFormRecordChats()
-
getDataRoot
public org.primefaces.model.TreeNode<FormFieldDataModel> getDataRoot()
-
getCurrentPageName
public String getCurrentPageName()
-
getCurrentPageDisplayName
public String getCurrentPageDisplayName()
-
getCurrentPageIcon
public String getCurrentPageIcon()
-
getStateDisplayName
public String getStateDisplayName()
-
getLocale
public Locale getLocale()
-
getFormProcessTypes
public List<javax.faces.model.SelectItem> getFormProcessTypes()
Available form process types for the advanced menu.
-
getQuartzDetails
public List<IFormRecordJobDetailsModel> getQuartzDetails()
-
getFormRecordProjectVersion
public IProjectVersionModel getFormRecordProjectVersion()
project version the form record is currently in
-
getActiveProjectVersion
public IProjectVersionModel getActiveProjectVersion()
active version of the project
-
getFormReviewUrl
public String getFormReviewUrl()
-
getInboxReviewUrl
public String getInboxReviewUrl()
-
isCanSubmitForm
public boolean isCanSubmitForm()
-
isCanSubmitFormVersion
public boolean isCanSubmitFormVersion()
-
isPendingDoubleOptIn
public boolean isPendingDoubleOptIn()
Whether a double opt-in process is still in progress.
-
setProcessView
public void setProcessView(EProcessView processView)
-
setUseActiveProjectVersion
public void setUseActiveProjectVersion(boolean useActiveProjectVersion)
-
setFormProcessTypes
public void setFormProcessTypes(List<javax.faces.model.SelectItem> formProcessTypes)
Available form process types for the advanced menu.
-
-