public class ProcessStateChangeBean extends AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
Constructor and Description |
---|
ProcessStateChangeBean() |
Modifier and Type | Method and Description |
---|---|
void |
advancedStateChange()
After for the advanced state change dialog.
|
void |
afterFormSubmitted()
When a state change was triggered and the form data should be saved as well, the form is first submitted, and the
workflow is executed.
|
void |
correctFormRecord() |
void |
defaultStateChange(Long stateId)
Changes state of the current form record
|
EFormProcessType |
getFormProcessType() |
Vorgang |
getProcess() |
ProcessReviewBean |
getProcessReviewBean() |
SessionBean |
getSessionBean() |
Status |
getTargetState() |
ViewBean |
getViewBean() |
void |
initAdvancedStateChangeDialog() |
boolean |
isFormSubmitted() |
boolean |
isRunWorkflowProcessing() |
boolean |
isSendFormData() |
boolean |
isShowAdvancedDialog() |
boolean |
isValidateForm() |
void |
onFormSubmitted()
Called as a remote command after the form was submitted.
|
void |
onFormValidationFailed()
Used as a remote command.
|
void |
performStateChange(InboxWorkflowServlet.EAction action,
boolean runWorkflowProcessing,
boolean sendFormData,
boolean validateForm,
Status targetState)
Performs an advanced state change with the given options.
|
void |
setFormProcessType(EFormProcessType formProcessType) |
void |
setFormSubmitted(boolean formSubmitted) |
void |
setProcessReviewBean(ProcessReviewBean processReviewBean) |
void |
setRunWorkflowProcessing(boolean runWorkflowProcessing) |
void |
setSendFormData(boolean sendFormData) |
void |
setSessionBean(SessionBean sessionBean) |
void |
setTargetState(Status targetState) |
void |
setValidateForm(boolean validateForm) |
void |
setViewBean(ViewBean viewBean) |
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
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
public ProcessReviewBean getProcessReviewBean()
public void setProcessReviewBean(ProcessReviewBean processReviewBean)
public SessionBean getSessionBean()
public void setSessionBean(SessionBean sessionBean)
public ViewBean getViewBean()
public void setViewBean(ViewBean viewBean)
public boolean isRunWorkflowProcessing()
public void setRunWorkflowProcessing(boolean runWorkflowProcessing)
runWorkflowProcessing
- Whether workflow processing is skipped when changing the state.public Status getTargetState()
public void setTargetState(Status targetState)
public EFormProcessType getFormProcessType()
public void setFormProcessType(EFormProcessType formProcessType)
formProcessType
- Type of advanced state change that is to be performedpublic boolean isValidateForm()
public void setValidateForm(boolean validateForm)
public boolean isSendFormData()
public void setSendFormData(boolean sendFormData)
public boolean isFormSubmitted()
public void setFormSubmitted(boolean formSubmitted)
public Vorgang getProcess()
public void advancedStateChange()
public void performStateChange(InboxWorkflowServlet.EAction action, boolean runWorkflowProcessing, boolean sendFormData, boolean validateForm, Status targetState)
action
- Whether the current state of the form record will be changed.sendFormData
- Whether the current form is submitted.validateForm
- Whether to validate the form before submission.targetState
- Target state of the form record. Can be null
iff changeState
is
false
.public void initAdvancedStateChangeDialog()
public void onFormSubmitted()
public void afterFormSubmitted()
public void onFormValidationFailed()
public void defaultStateChange(Long stateId)
stateId
- Long
ID of state to change topublic void correctFormRecord()
public boolean isShowAdvancedDialog()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.