public class ChallanAction
extends org.egov.infra.web.struts.actions.BaseFormAction
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
headerFields |
protected List<String> |
mandatoryFields |
| Constructor and Description |
|---|
ChallanAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
amountInWords(BigDecimal amount) |
String |
cancelReceipt()
This method directs the user to cancel the requested challan receipt
|
String |
createReceipt()
This method in invoked when the user clicks on Create Challan Receipt from Menu Tree.
|
String |
getActionName() |
String |
getApprovalRemarks() |
String |
getApproverName() |
Boolean |
getBankAllowed() |
List<org.egov.collection.entity.ReceiptDetailInfo> |
getBillDetailslist() |
org.egov.infra.admin.master.entity.Boundary |
getBoundary() |
Long |
getBoundaryId() |
Boolean |
getCardAllowed() |
Boolean |
getCashAllowed() |
BigDecimal |
getCashOrCardInstrumenttotal() |
String |
getChallanId() |
String |
getChallanNumber() |
Boolean |
getChequeAllowed() |
BigDecimal |
getChequeInstrumenttotal() |
String |
getCurrentFinancialYearId() |
Date |
getCutOffDate() |
Boolean |
getDdAllowed() |
org.egov.infra.admin.master.entity.Department |
getDept() |
String |
getDeptId() |
Integer |
getDesignationId() |
org.egov.commons.CFunction |
getFunction() |
Long |
getFunctionId() |
List |
getHeaderFields() |
protected void |
getHeaderMandateFields()
Gets the header mandate fields.
|
org.egov.model.instrument.InstrumentHeader |
getInstrHeaderCard() |
org.egov.model.instrument.InstrumentHeader |
getInstrHeaderCash() |
int |
getInstrumentCount() |
List<org.egov.model.instrument.InstrumentHeader> |
getInstrumentProxyList() |
String |
getInstrumentType() |
String |
getInstrumentTypeCashOrCard() |
List |
getMandatoryFields() |
Object |
getModel() |
Boolean |
getOnlineAllowed() |
Long |
getPositionUser() |
org.egov.collection.entity.ReceiptHeader |
getReceiptHeader() |
Long |
getReceiptId() |
String |
getReportId() |
Long[] |
getSelectedReceipts() |
org.egov.infstr.models.ServiceDetails |
getService() |
Long |
getServiceCategoryId() |
Long |
getServiceId() |
String |
getSourcePage() |
List<org.egov.collection.entity.ReceiptDetailInfo> |
getSubLedgerlist() |
List<org.egov.infra.workflow.entity.WorkflowAction> |
getValidActions() |
String |
getVoucherNumber() |
boolean |
isFieldMandatory(String field) |
String |
newform()
This method is invoked when the user clicks on Create Challan from Menu Tree
|
void |
prepare() |
String |
printChallan()
This method generates the report for the requested challan
|
String |
save()
This method is invoked when user clicks on Save challan from Create Challan UI.
|
String |
saveChallan() |
String |
saveOnCancel()
This method is invoked when receipt is cancelled
|
String |
saveOrupdate()
This method is invoked on click of create button from Create Challan Receipt Screen
|
org.egov.collection.entity.ReceiptDetail |
setAccountPayeeDetails(List<org.egov.collection.entity.ReceiptDetailInfo> subLedgerlist,
org.egov.collection.entity.ReceiptDetail receiptDetail) |
void |
setActionName(String actionName) |
void |
setApprovalRemarks(String approvalRemarks) |
void |
setApproverName(String approverName) |
void |
setBankAllowed(Boolean bankAllowed) |
void |
setBillDetailslist(List<org.egov.collection.entity.ReceiptDetailInfo> billDetailslist) |
void |
setBoundary(org.egov.infra.admin.master.entity.Boundary boundary) |
void |
setBoundaryId(Long boundaryId) |
void |
setCardAllowed(Boolean cardAllowed) |
void |
setCashAllowed(Boolean cashAllowed) |
void |
setCashOrCardInstrumenttotal(BigDecimal cashOrCardInstrumenttotal) |
void |
setChallanId(String challanId) |
void |
setChallanNumber(String challanNumber) |
void |
setChallanService(org.egov.collection.service.ChallanService challanService) |
void |
setChallanWorkflowService(org.egov.infra.workflow.service.SimpleWorkflowService<org.egov.collection.entity.Challan> challanWorkflowService) |
void |
setChequeAllowed(Boolean chequeAllowed) |
void |
setChequeInstrumenttotal(BigDecimal chequeInstrumenttotal) |
void |
setCollectionCommon(org.egov.collection.utils.CollectionCommon collectionCommon) |
void |
setCollectionsUtil(org.egov.collection.utils.CollectionsUtil collectionsUtil) |
void |
setCurrentFinancialYearId(String currentFinancialYearId) |
void |
setCutOffDate(Date cutOffDate) |
void |
setDdAllowed(Boolean ddAllowed) |
void |
setDept(org.egov.infra.admin.master.entity.Department dept) |
void |
setDeptId(String deptId) |
void |
setDesignationId(Integer designationId) |
void |
setFinancialsUtil(org.egov.collection.utils.FinancialsUtil financialsUtil) |
void |
setFunction(org.egov.commons.CFunction function) |
void |
setFunctionId(Long functionId) |
void |
setHeaderFields(List headerFields) |
void |
setInstrHeaderCard(org.egov.model.instrument.InstrumentHeader instrHeaderCard) |
void |
setInstrHeaderCash(org.egov.model.instrument.InstrumentHeader instrHeaderCash) |
void |
setInstrumentCount(int instrumentCount) |
void |
setInstrumentProxyList(List<org.egov.model.instrument.InstrumentHeader> instrumentProxyList) |
void |
setInstrumentType(String instrumentType) |
void |
setInstrumentTypeCashOrCard(String instrumentTypeCashOrCard) |
void |
setMandatoryFields(List mandatoryFields) |
void |
setOnlineAllowed(Boolean onlineAllowed) |
void |
setPositionUser(Long positionUser) |
void |
setReceiptHeader(org.egov.collection.entity.ReceiptHeader receiptHeader) |
void |
setReceiptHeaderService(org.egov.collection.service.ReceiptHeaderService receiptHeaderService) |
void |
setReceiptId(Long receiptId) |
void |
setSelectedReceipts(Long[] selectedReceipts) |
void |
setService(org.egov.infstr.models.ServiceDetails service) |
void |
setServiceCategoryId(Long serviceCategoryId) |
void |
setServiceCategoryService(org.egov.infstr.services.PersistenceService<org.egov.infstr.models.ServiceCategory,Long> serviceCategoryService) |
void |
setServiceDetailsService(org.egov.infstr.services.PersistenceService<org.egov.infstr.models.ServiceDetails,Long> serviceDetailsService) |
void |
setServiceId(Long serviceId) |
void |
setSourcePage(String sourcePage) |
void |
setSubLedgerlist(List<org.egov.collection.entity.ReceiptDetailInfo> subLedgerlist) |
void |
setupChallanPage()
Setup challan page.
|
void |
setVoucherNumber(String voucherNumber) |
boolean |
shouldShowHeaderField(String field) |
void |
validate() |
protected void |
validateAccountDetails()
Validate Account Details.
|
protected void |
validateSubledgerDetails()
Validate Subledger Details.
|
String |
viewChallan()
This method is invoked to view the challan.
|
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, setFieldErrorspublic Object getModel()
public String newform()
public String save()
public String createReceipt()
public String saveChallan()
public String viewChallan()
public String saveOrupdate()
public String printChallan()
public String cancelReceipt()
public String saveOnCancel()
public List<org.egov.infra.workflow.entity.WorkflowAction> getValidActions()
public org.egov.collection.entity.ReceiptDetail setAccountPayeeDetails(List<org.egov.collection.entity.ReceiptDetailInfo> subLedgerlist, org.egov.collection.entity.ReceiptDetail receiptDetail)
protected void validateAccountDetails()
protected void validateSubledgerDetails()
public void prepare()
prepare in interface com.opensymphony.xwork2.Preparableprepare in class org.egov.infra.web.struts.actions.BaseFormActionpublic void setupChallanPage()
public boolean isFieldMandatory(String field)
public boolean shouldShowHeaderField(String field)
protected void getHeaderMandateFields()
public List getHeaderFields()
public void setHeaderFields(List headerFields)
public List getMandatoryFields()
public void setMandatoryFields(List mandatoryFields)
public String getChallanNumber()
public void setChallanNumber(String challanNumber)
public List<org.egov.collection.entity.ReceiptDetailInfo> getBillDetailslist()
public void setBillDetailslist(List<org.egov.collection.entity.ReceiptDetailInfo> billDetailslist)
public List<org.egov.collection.entity.ReceiptDetailInfo> getSubLedgerlist()
public void setSubLedgerlist(List<org.egov.collection.entity.ReceiptDetailInfo> subLedgerlist)
public org.egov.commons.CFunction getFunction()
public void setFunction(org.egov.commons.CFunction function)
public org.egov.infra.admin.master.entity.Department getDept()
public void setDept(org.egov.infra.admin.master.entity.Department dept)
public org.egov.infra.admin.master.entity.Boundary getBoundary()
public void setBoundary(org.egov.infra.admin.master.entity.Boundary boundary)
public Long getBoundaryId()
public void setBoundaryId(Long boundaryId)
public String getDeptId()
public void setDeptId(String deptId)
public void setCollectionsUtil(org.egov.collection.utils.CollectionsUtil collectionsUtil)
public org.egov.collection.entity.ReceiptHeader getReceiptHeader()
public void setReceiptHeader(org.egov.collection.entity.ReceiptHeader receiptHeader)
public void setReceiptId(Long receiptId)
public Long getReceiptId()
public String getChallanId()
public void setChallanId(String challanId)
challanId - the challanId to setpublic String getApprovalRemarks()
public void setApprovalRemarks(String approvalRemarks)
approvalRemarks - the approvalRemarks to setpublic Long getPositionUser()
public void setPositionUser(Long positionUser)
positionUser - the positionUser to setpublic void setCollectionCommon(org.egov.collection.utils.CollectionCommon collectionCommon)
collectionCommon - the collectionCommon to setpublic void setReceiptHeaderService(org.egov.collection.service.ReceiptHeaderService receiptHeaderService)
receiptHeaderService - The receipt header service to setpublic Boolean getCashAllowed()
public void setCashAllowed(Boolean cashAllowed)
public Boolean getCardAllowed()
public void setCardAllowed(Boolean cardAllowed)
public org.egov.model.instrument.InstrumentHeader getInstrHeaderCash()
public void setInstrHeaderCash(org.egov.model.instrument.InstrumentHeader instrHeaderCash)
public org.egov.model.instrument.InstrumentHeader getInstrHeaderCard()
public void setInstrHeaderCard(org.egov.model.instrument.InstrumentHeader instrHeaderCard)
public BigDecimal getCashOrCardInstrumenttotal()
public void setCashOrCardInstrumenttotal(BigDecimal cashOrCardInstrumenttotal)
public BigDecimal getChequeInstrumenttotal()
public void setChequeInstrumenttotal(BigDecimal chequeInstrumenttotal)
public String getInstrumentTypeCashOrCard()
public void setFinancialsUtil(org.egov.collection.utils.FinancialsUtil financialsUtil)
public void setInstrumentTypeCashOrCard(String instrumentTypeCashOrCard)
public String getActionName()
public void setActionName(String actionName)
public String getReportId()
public String getSourcePage()
public void setSourcePage(String sourcePage)
public Integer getDesignationId()
public void setDesignationId(Integer designationId)
designationId - the designationId to setpublic String getVoucherNumber()
public void setVoucherNumber(String voucherNumber)
public Long[] getSelectedReceipts()
public void setSelectedReceipts(Long[] selectedReceipts)
public String getCurrentFinancialYearId()
public void setCurrentFinancialYearId(String currentFinancialYearId)
public String amountInWords(BigDecimal amount)
public List<org.egov.model.instrument.InstrumentHeader> getInstrumentProxyList()
public void setInstrumentProxyList(List<org.egov.model.instrument.InstrumentHeader> instrumentProxyList)
public int getInstrumentCount()
public void setInstrumentCount(int instrumentCount)
public org.egov.infstr.models.ServiceDetails getService()
public void setService(org.egov.infstr.models.ServiceDetails service)
public void setServiceCategoryService(org.egov.infstr.services.PersistenceService<org.egov.infstr.models.ServiceCategory,Long> serviceCategoryService)
public void setServiceDetailsService(org.egov.infstr.services.PersistenceService<org.egov.infstr.models.ServiceDetails,Long> serviceDetailsService)
public void setChallanWorkflowService(org.egov.infra.workflow.service.SimpleWorkflowService<org.egov.collection.entity.Challan> challanWorkflowService)
public Long getServiceId()
public void setServiceId(Long serviceId)
public Long getServiceCategoryId()
public void setServiceCategoryId(Long serviceCategoryId)
public void setChallanService(org.egov.collection.service.ChallanService challanService)
public String getApproverName()
public void setApproverName(String approverName)
public Long getFunctionId()
public void setFunctionId(Long functionId)
public Date getCutOffDate()
public void setCutOffDate(Date cutOffDate)
public Boolean getBankAllowed()
public void setBankAllowed(Boolean bankAllowed)
public Boolean getChequeAllowed()
public void setChequeAllowed(Boolean chequeAllowed)
public Boolean getDdAllowed()
public void setDdAllowed(Boolean ddAllowed)
public String getInstrumentType()
public void setInstrumentType(String instrumentType)
public Boolean getOnlineAllowed()
public void setOnlineAllowed(Boolean onlineAllowed)
public void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportCopyright © 2015–2017 eGovernments Foundation. All rights reserved.