public class CollectionsWorkflowAction
extends org.egov.infra.web.struts.actions.BaseFormAction
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SUBMISSION_REPORT_CASH
Result for cash submission report (redirects to the cash collection
report)
|
protected static String |
SUBMISSION_REPORT_CHEQUE
Result for cheque submission report (redirects to the cheque collection
report)
|
| Constructor and Description |
|---|
CollectionsWorkflowAction()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
approveAllCollections() |
String |
approveCollections()
Action method to approve the selected receipt headers
|
Boolean |
getAllowPartialSelection() |
String |
getApproverName() |
BigDecimal |
getBankAmount() |
BigDecimal |
getCardAmount() |
BigDecimal |
getCashAmount() |
BigDecimal |
getChequeAmount() |
Long |
getCounterId() |
BigDecimal |
getDdAmount() |
String |
getInboxItemDetails() |
Boolean |
getIsApproveAction() |
Boolean |
getIsRejectAction() |
Boolean |
getIsSubmitAction() |
Object |
getModel() |
String |
getReceiptDate() |
List<org.egov.collection.entity.ReceiptHeader> |
getReceiptHeaders() |
String |
getServiceCode() |
BigDecimal |
getTotalAmount() |
String |
getUserName() |
String |
listWorkflow()
Action that will be called from the workflow inbox.
|
String |
rejectCollections()
Action method to reject the selected receipt headers
|
void |
setApproverName(String approverName) |
void |
setCollectionsUtil(org.egov.collection.utils.CollectionsUtil collectionsUtil) |
void |
setCounterId(Long counterId) |
void |
setInboxItemDetails(String inboxItemDetails)
This method is called when user clicks on a collections work flow item in
the inbox.
|
void |
setReceiptDate(String receiptDate) |
void |
setReceiptHeaderService(org.egov.collection.service.ReceiptHeaderService receiptHeaderService) |
void |
setReceiptIds(Long[] receiptIds) |
void |
setRemarks(String remarks) |
void |
setServiceCode(String serviceCode) |
void |
setUserName(String userName) |
void |
setWfAction(String wfAction) |
String |
submissionReportCash()
Action for creating cash submission report
|
String |
submissionReportCheque()
Action for creating cash submission report
|
String |
submitAllCollections() |
String |
submitCollections()
Action method to submit the selected receipt headers
|
acceptableParameterName, addDropdownData, addRelatedEntity, addRelatedEntity, getDropdownData, getOrdering, getPersistenceService, getRelationships, getSession, prepare, 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 static final String SUBMISSION_REPORT_CASH
protected static final String SUBMISSION_REPORT_CHEQUE
public void setWfAction(String wfAction)
public String getInboxItemDetails()
public void setInboxItemDetails(String inboxItemDetails)
inboxItemDetails - the id to setpublic void setCollectionsUtil(org.egov.collection.utils.CollectionsUtil collectionsUtil)
collectionsUtil - the collectionsUtil to setpublic void setReceiptHeaderService(org.egov.collection.service.ReceiptHeaderService receiptHeaderService)
workflow - the receipt workflow servicepublic Boolean getIsSubmitAction()
public Boolean getAllowPartialSelection()
public Boolean getIsApproveAction()
public Boolean getIsRejectAction()
public Object getModel()
public Long getCounterId()
public void setCounterId(Long counterId)
counterId - the counter id to be setpublic String getUserName()
public void setUserName(String userName)
userName - the user name to setpublic String getServiceCode()
public void setServiceCode(String serviceCode)
serviceCode - the Service Code to setpublic List<org.egov.collection.entity.ReceiptHeader> getReceiptHeaders()
public BigDecimal getTotalAmount()
public BigDecimal getCashAmount()
public BigDecimal getChequeAmount()
public BigDecimal getDdAmount()
public BigDecimal getCardAmount()
public BigDecimal getBankAmount()
public void setReceiptIds(Long[] receiptIds)
Array - of receipt Idspublic void setRemarks(String remarks)
Submission - /Approval/Rejection remarkspublic String listWorkflow()
public String submissionReportCash()
public String submissionReportCheque()
public String submitCollections()
public String submitAllCollections()
public String approveCollections()
public String approveAllCollections()
public String rejectCollections()
public String getReceiptDate()
public void setReceiptDate(String receiptDate)
public String getApproverName()
public void setApproverName(String approverName)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.