public abstract class GenericWorkFlowAction
extends org.egov.infra.web.struts.actions.BaseFormAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
additionalRule |
protected BigDecimal |
amountRule |
protected String |
approverComments |
protected String |
approverDepartment |
protected String |
approverDesignation |
protected String |
approverName |
protected Long |
approverPositionId |
protected String |
currentDesignation |
protected String |
currentState |
protected org.egov.infra.workflow.matrix.service.CustomizedWorkFlowService |
customizedWorkFlowService |
protected String |
pendingActions |
protected String |
workFlowAction |
protected String |
workFlowDepartment |
| Constructor and Description |
|---|
GenericWorkFlowAction() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAdditionalRule()
Implementations must override this method to get additional rule for workflow.
|
protected BigDecimal |
getAmountRule()
Implementations must override this method based on their object's value that needs to be used in workflow
|
String |
getApproverComments() |
String |
getApproverDepartment() |
String |
getApproverDesignation() |
String |
getApproverName() |
Long |
getApproverPositionId() |
String |
getCurrentDesignation() |
String |
getCurrentState() |
abstract org.egov.infra.workflow.entity.StateAware |
getModel() |
String |
getNextAction()
Used to get next action If the nextAction value is END then approval Information won't be shown on the UI.
|
protected String |
getPendingActions()
This parameter is used to get matrix object Implementations must override this method to get pendingActions
|
List<String> |
getValidActions()
Used to get valid actions that needs to be performed Based on these value workflow buttons will be rendered
|
String |
getWorkFlowAction() |
protected String |
getWorkFlowDepartment()
Implementations must override this method to achieve department wise workflow.
|
void |
prepare() |
void |
setAdditionalRule(String additionalRule) |
void |
setAmountRule(BigDecimal amountRule) |
void |
setApproverComments(String approverComments) |
void |
setApproverDepartment(String approverDepartment) |
void |
setApproverDesignation(String approverDesignation) |
void |
setApproverName(String approverName) |
void |
setApproverPositionId(Long approverPositionId) |
void |
setCurrentDesignation(String currentDesignation) |
void |
setCurrentState(String currentState) |
void |
setCustomizedWorkFlowService(org.egov.infra.workflow.matrix.service.CustomizedWorkFlowService customizedWorkFlowService) |
void |
setPendingActions(String pendingActions) |
void |
setWorkFlowAction(String workFlowAction)
Used to Set actionValue that will be used to call workflow script.
|
void |
setWorkFlowDepartment(String workFlowDepartment) |
acceptableParameterName, addDropdownData, addRelatedEntity, addRelatedEntity, getDropdownData, getOrdering, getPersistenceService, getRelationships, getSession, session, setParameters, setPersistenceService, setRequest, setSession, setupDropdownDataExcluding, setValue, tokenNameaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected org.egov.infra.workflow.matrix.service.CustomizedWorkFlowService customizedWorkFlowService
protected String workFlowAction
protected String approverComments
protected String currentState
protected String currentDesignation
protected String additionalRule
protected BigDecimal amountRule
protected String workFlowDepartment
protected String pendingActions
protected String approverName
protected String approverDepartment
protected String approverDesignation
protected Long approverPositionId
public abstract org.egov.infra.workflow.entity.StateAware getModel()
public void prepare()
prepare in interface com.opensymphony.xwork2.Preparableprepare in class org.egov.infra.web.struts.actions.BaseFormActionprotected BigDecimal getAmountRule()
protected String getAdditionalRule()
protected String getWorkFlowDepartment()
public List<String> getValidActions()
public String getNextAction()
public void setCustomizedWorkFlowService(org.egov.infra.workflow.matrix.service.CustomizedWorkFlowService customizedWorkFlowService)
public void setWorkFlowAction(String workFlowAction)
workFlowAction - protected String getPendingActions()
public String getApproverComments()
public void setApproverComments(String approverComments)
public String getCurrentState()
public void setCurrentState(String currentState)
public String getCurrentDesignation()
public void setCurrentDesignation(String currentDesignation)
public String getApproverName()
public void setApproverName(String approverName)
public String getApproverDepartment()
public void setApproverDepartment(String approverDepartment)
public String getApproverDesignation()
public void setApproverDesignation(String approverDesignation)
public Long getApproverPositionId()
public void setApproverPositionId(Long approverPositionId)
public String getWorkFlowAction()
public void setAdditionalRule(String additionalRule)
public void setAmountRule(BigDecimal amountRule)
public void setWorkFlowDepartment(String workFlowDepartment)
public void setPendingActions(String pendingActions)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.