public class PaymentService extends org.egov.infstr.services.PersistenceService<Paymentheader,Long>
| Modifier and Type | Field and Description |
|---|---|
List<BigDecimal> |
cBillGlcodeIdList |
List<org.egov.commons.CChartOfAccounts> |
contingentBillGlcodeList |
SimpleDateFormat |
formatter |
protected List<Miscbilldetail> |
miscBillList |
List<org.egov.commons.CChartOfAccounts> |
pensionBillGlcodeList |
List<org.egov.commons.CChartOfAccounts> |
purchaseBillGlcodeList |
List<org.egov.commons.CChartOfAccounts> |
salaryBillGlcodeList |
SimpleDateFormat |
sdf |
Integer |
selectedRows |
List<org.egov.commons.CChartOfAccounts> |
worksBillGlcodeList |
| Constructor and Description |
|---|
PaymentService(Class<Paymentheader> type) |
| Modifier and Type | Method and Description |
|---|---|
int |
backUpdateRemittanceDateInGL(Long paymentVoucherId) |
boolean |
CheckForContractorSubledgerCodes(List<PaymentBean> billList,
Date restrictedDate) |
List<InstrumentHeader> |
createInstrument(List<ChequeAssignment> chequeAssignmentList,
String paymentMode,
Integer bankaccount,
Map<String,String[]> parameters,
org.egov.infra.admin.master.entity.Department dept) |
Paymentheader |
createPayment(Map<String,String[]> parameters,
HashMap<String,Object> headerdetails,
List<HashMap<String,Object>> accountcodedetails,
List<HashMap<String,Object>> subledgerdetails,
org.egov.commons.Bankaccount bankaccount) |
Paymentheader |
createPayment(Map<String,String[]> parameters,
List<PaymentBean> billList,
EgBillregister billregister,
WorkflowBean workflowBean) |
protected Paymentheader |
createPaymentHeader(org.egov.commons.CVoucherHeader voucherHeader,
org.egov.commons.Bankaccount ba,
Map<String,String[]> parameters) |
Paymentheader |
createPaymentHeader(org.egov.commons.CVoucherHeader voucherHeader,
Integer bankaccountId,
String type,
BigDecimal amount) |
protected void |
deleteMiscBill(Long payVHId) |
void |
finalApproval(Long voucherid) |
protected void |
generateMiscBill(EgBillregister egBillregister,
BigDecimal paidAmt,
BigDecimal passedAmt) |
protected void |
generateMiscBillForSalary(EgBillregister egBillregister,
BigDecimal paidAmt,
BigDecimal passedAmt,
String newPartyName) |
BigDecimal |
getAccountBalance(String accountId,
String voucherDate,
BigDecimal amount,
Long paymentId,
Long accGlcodeID) |
org.egov.eis.entity.Assignment |
getAssignment() |
CreateVoucher |
getCreateVoucher() |
List<PaymentBean> |
getCSList(List<EgBillregister> billList,
Map<Long,BigDecimal> deductionAmtMap,
Map<Long,BigDecimal> paidAmtMap) |
Map<Long,BigDecimal> |
getDeductionAmt(List<EgBillregister> billList,
String type) |
List<ChequeAssignment> |
getDirectBankPaymentVoucherForRTGSInstrument(Map<String,String[]> parameters,
org.egov.commons.CVoucherHeader voucherHeader) |
Map<Long,BigDecimal> |
getEarlierPaymentAmt(List<EgBillregister> billList,
String type) |
org.egov.pims.model.PersonalInformation |
getEmpForCurrentUser() |
String |
getEmployeeNameForPositionId(org.egov.pims.commons.Position pos) |
org.egov.commons.utils.EntityType |
getEntity(Integer detailTypeId,
Serializable detailKeyId) |
String |
getFunctionaryAndDesignation() |
FundFlowService |
getFundFlowService() |
void |
getGlcodeIds() |
List<InstrumentVoucher> |
getInstVoucherList() |
List<PaymentBean> |
getMiscBillList(Paymentheader header) |
List |
getPayeeDetailsForExpenseBill(Map<String,String[]> parameters,
org.egov.commons.CVoucherHeader voucherHeader) |
String |
getPayeeNameForCBill(EgBillregister bill) |
void |
getPaymentBills(Paymentheader paymentheader) |
Paymentheader |
getPaymentHeaderByVoucherHeaderId(Long voucherHeaderId) |
List<ChequeAssignment> |
getPaymentVoucherForRemittanceRTGSInstrument(Map<String,String[]> parameters,
org.egov.commons.CVoucherHeader voucherHeader) |
List<ChequeAssignment> |
getPaymentVoucherForRTGSInstrument(Map<String,String[]> parameters,
org.egov.commons.CVoucherHeader voucherHeader) |
List<ChequeAssignment> |
getPaymentVoucherForTNEBRTGSInstrument(Map<String,String[]> parameters,
org.egov.commons.CVoucherHeader voucherHeader) |
List<ChequeAssignment> |
getPaymentVoucherNotInInstrument(Map<String,String[]> parameters,
org.egov.commons.CVoucherHeader voucherHeader) |
org.egov.pims.commons.Position |
getPosition() |
org.egov.pims.commons.Position |
getPositionForEmployee(org.egov.eis.entity.Employee emp) |
org.egov.pims.commons.Position |
getSuperiourPositionByPosition() |
VoucherService |
getVoucherService() |
protected org.egov.eis.entity.Assignment |
getWorkflowInitiator(Paymentheader paymentheader) |
boolean |
isAnyItemSelected(List<PaymentBean> billList,
String paymentMd,
Date restrictedDate) |
boolean |
isChequeNoGenerationAuto() |
boolean |
isRestrictPaymentToOnlyRtgsForContractor() |
boolean |
isRtgsNoGenerationAuto() |
protected Map<String,Object> |
preapreInstrumentVoucher(org.egov.commons.CVoucherHeader voucherHeader,
org.egov.commons.Bankaccount account,
String chqNo,
String paidTo) |
protected Map<String,Object> |
preapreInstrumentVoucher(org.egov.commons.CVoucherHeader voucherHeader,
org.egov.commons.Bankaccount account,
String chqNo,
String paidTo,
String serialno) |
protected Map<String,Object> |
prepareInstrumentHeader(org.egov.commons.Bankaccount account,
String chqNo,
String instType,
String partyName,
BigDecimal amount,
Date date,
String key,
String serialNo) |
protected Map<String,Object> |
prepareInstrumentHeaderForRtgs(org.egov.commons.Bankaccount account,
String txnNo,
BigDecimal amount,
Date date,
String key) |
protected void |
prepareMiscBill(PaymentBean bean,
EgBillregister br) |
protected void |
prepareMiscBillForSalary(PaymentBean bean,
EgBillregister br,
String newPartyName) |
List<InstrumentHeader> |
reassignInstrument(List<ChequeAssignment> chequeAssignmentList,
String paymentMode,
Integer bankaccount,
Map<String,String[]> parameters,
org.egov.infra.admin.master.entity.Department dept) |
InstrumentHeader |
reassignInstrumentHeader(org.egov.commons.Bankaccount account,
String chqNo,
String instType,
String partyName,
BigDecimal amount,
Date date,
String key,
String serialNo) |
Map<String,Object> |
reassignInstrumentVoucher(org.egov.commons.CVoucherHeader voucherHeader,
org.egov.commons.Bankaccount account,
String chqNo,
String paidTo,
String serailNo) |
void |
setBillsAccountingService(BillsAccountingService billsAccountingService) |
void |
setChequeAssignmentService(ChequeAssignmentService chequeAssignmentService) |
void |
setChequeService(ChequeService chequeService) |
void |
setCreateVoucher(CreateVoucher createVoucher) |
void |
setEisCommonService(org.egov.eis.service.EisCommonService eisCommonService) |
void |
setFundFlowService(FundFlowService fundFlowService) |
void |
setInstrumentService(InstrumentService instrumentService) |
void |
setInstVoucherList(List<InstrumentVoucher> instVoucherList) |
void |
setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService) |
void |
setVoucherService(VoucherService voucherService) |
Paymentheader |
transitionWorkFlow(Paymentheader paymentheader,
WorkflowBean workflowBean) |
Paymentheader |
updatePayment(Map<String,String[]> parameters,
List<PaymentBean> billList,
Paymentheader payheader) |
Paymentheader |
updatePaymentHeader(Paymentheader paymentheader,
org.egov.commons.CVoucherHeader voucherHeader,
Integer bankaccountId,
String type,
BigDecimal amount) |
void |
validateForContractorSupplierDetailCodes(List<PaymentBean> billList,
String type) |
void |
validateForRTGSPayment(List<PaymentBean> billList,
String type) |
void |
validatePaymentForRTGSAssignment(List<ChequeAssignment> billList,
String type) |
void |
validateRTGSPaymentForModify(List<PaymentBean> billList) |
addFilterCriteriaForObject, addIndexparams, applyAuditing, applyAuditing, create, delete, find, find, findAll, findAll, findAllBy, findAllByNamedQuery, findByExample, findById, findById, findByIdWithJoinFetch, findByNamedQuery, findPageBy, findPageByNamedQuery, getNamedQuery, getSession, getType, load, merge, persist, update, validate, validateModelpublic SimpleDateFormat sdf
public final SimpleDateFormat formatter
public List<org.egov.commons.CChartOfAccounts> purchaseBillGlcodeList
public List<org.egov.commons.CChartOfAccounts> worksBillGlcodeList
public List<org.egov.commons.CChartOfAccounts> salaryBillGlcodeList
public List<org.egov.commons.CChartOfAccounts> pensionBillGlcodeList
public List<org.egov.commons.CChartOfAccounts> contingentBillGlcodeList
public List<BigDecimal> cBillGlcodeIdList
protected List<Miscbilldetail> miscBillList
public Integer selectedRows
public PaymentService(Class<Paymentheader> type)
public BigDecimal getAccountBalance(String accountId, String voucherDate, BigDecimal amount, Long paymentId, Long accGlcodeID) throws ParseException
ParseExceptionpublic boolean isChequeNoGenerationAuto()
public boolean isRtgsNoGenerationAuto()
public Paymentheader createPayment(Map<String,String[]> parameters, HashMap<String,Object> headerdetails, List<HashMap<String,Object>> accountcodedetails, List<HashMap<String,Object>> subledgerdetails, org.egov.commons.Bankaccount bankaccount)
@Transactional public Paymentheader createPayment(Map<String,String[]> parameters, List<PaymentBean> billList, EgBillregister billregister, WorkflowBean workflowBean) throws org.egov.infra.exception.ApplicationRuntimeException, org.egov.infra.validation.exception.ValidationException
org.egov.infra.exception.ApplicationRuntimeExceptionorg.egov.infra.validation.exception.ValidationExceptionprotected org.egov.eis.entity.Assignment getWorkflowInitiator(Paymentheader paymentheader)
@Transactional public Paymentheader transitionWorkFlow(Paymentheader paymentheader, WorkflowBean workflowBean)
public void getPaymentBills(Paymentheader paymentheader)
protected Paymentheader createPaymentHeader(org.egov.commons.CVoucherHeader voucherHeader, org.egov.commons.Bankaccount ba, Map<String,String[]> parameters)
@Transactional protected void generateMiscBill(EgBillregister egBillregister, BigDecimal paidAmt, BigDecimal passedAmt)
protected void generateMiscBillForSalary(EgBillregister egBillregister, BigDecimal paidAmt, BigDecimal passedAmt, String newPartyName)
public Paymentheader updatePayment(Map<String,String[]> parameters, List<PaymentBean> billList, Paymentheader payheader) throws org.egov.infra.exception.ApplicationRuntimeException, org.egov.infra.validation.exception.ValidationException
org.egov.infra.exception.ApplicationRuntimeExceptionorg.egov.infra.validation.exception.ValidationExceptionprotected void prepareMiscBill(PaymentBean bean, EgBillregister br)
protected void prepareMiscBillForSalary(PaymentBean bean, EgBillregister br, String newPartyName)
protected void deleteMiscBill(Long payVHId)
public void getGlcodeIds()
throws org.egov.infra.exception.ApplicationRuntimeException
org.egov.infra.exception.ApplicationRuntimeExceptionpublic Map<Long,BigDecimal> getDeductionAmt(List<EgBillregister> billList, String type)
public Map<Long,BigDecimal> getEarlierPaymentAmt(List<EgBillregister> billList, String type)
public void validateForRTGSPayment(List<PaymentBean> billList, String type) throws org.egov.infra.validation.exception.ValidationException, org.egov.infra.exception.ApplicationException
org.egov.infra.validation.exception.ValidationExceptionorg.egov.infra.exception.ApplicationExceptionpublic void validateForContractorSupplierDetailCodes(List<PaymentBean> billList, String type) throws org.egov.infra.validation.exception.ValidationException, org.egov.infra.exception.ApplicationException
org.egov.infra.validation.exception.ValidationExceptionorg.egov.infra.exception.ApplicationExceptionpublic void validatePaymentForRTGSAssignment(List<ChequeAssignment> billList, String type) throws org.egov.infra.validation.exception.ValidationException, org.egov.infra.exception.ApplicationException
org.egov.infra.validation.exception.ValidationExceptionorg.egov.infra.exception.ApplicationExceptionpublic boolean isAnyItemSelected(List<PaymentBean> billList, String paymentMd, Date restrictedDate) throws org.egov.infra.validation.exception.ValidationException
org.egov.infra.validation.exception.ValidationExceptionpublic boolean isRestrictPaymentToOnlyRtgsForContractor()
public boolean CheckForContractorSubledgerCodes(List<PaymentBean> billList, Date restrictedDate) throws NumberFormatException, org.egov.infra.exception.ApplicationException
billList - restrictedDate - NumberFormatExceptionorg.egov.infra.exception.ApplicationException - this api check if the voucher contains subledger on credit side andpublic void validateRTGSPaymentForModify(List<PaymentBean> billList) throws org.egov.infra.validation.exception.ValidationException, org.egov.infra.exception.ApplicationException
org.egov.infra.validation.exception.ValidationExceptionorg.egov.infra.exception.ApplicationExceptionpublic org.egov.commons.utils.EntityType getEntity(Integer detailTypeId, Serializable detailKeyId) throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationExceptionpublic List<PaymentBean> getMiscBillList(Paymentheader header)
public List<ChequeAssignment> getPaymentVoucherForRTGSInstrument(Map<String,String[]> parameters, org.egov.commons.CVoucherHeader voucherHeader) throws org.egov.infra.exception.ApplicationException, ParseException
org.egov.infra.exception.ApplicationExceptionParseExceptionpublic List<ChequeAssignment> getPaymentVoucherForTNEBRTGSInstrument(Map<String,String[]> parameters, org.egov.commons.CVoucherHeader voucherHeader) throws org.egov.infra.exception.ApplicationException, ParseException
org.egov.infra.exception.ApplicationExceptionParseExceptionpublic List<ChequeAssignment> getDirectBankPaymentVoucherForRTGSInstrument(Map<String,String[]> parameters, org.egov.commons.CVoucherHeader voucherHeader) throws org.egov.infra.exception.ApplicationException, ParseException
org.egov.infra.exception.ApplicationExceptionParseExceptionpublic List<ChequeAssignment> getPaymentVoucherNotInInstrument(Map<String,String[]> parameters, org.egov.commons.CVoucherHeader voucherHeader) throws org.egov.infra.exception.ApplicationException, ParseException
org.egov.infra.exception.ApplicationExceptionParseException@Transactional public List<InstrumentHeader> createInstrument(List<ChequeAssignment> chequeAssignmentList, String paymentMode, Integer bankaccount, Map<String,String[]> parameters, org.egov.infra.admin.master.entity.Department dept) throws org.egov.infra.exception.ApplicationRuntimeException, Exception
org.egov.infra.exception.ApplicationRuntimeExceptionException@Transactional public List<InstrumentHeader> reassignInstrument(List<ChequeAssignment> chequeAssignmentList, String paymentMode, Integer bankaccount, Map<String,String[]> parameters, org.egov.infra.admin.master.entity.Department dept) throws org.egov.infra.exception.ApplicationRuntimeException, Exception
org.egov.infra.exception.ApplicationRuntimeExceptionExceptionprotected Map<String,Object> prepareInstrumentHeader(org.egov.commons.Bankaccount account, String chqNo, String instType, String partyName, BigDecimal amount, Date date, String key, String serialNo)
protected Map<String,Object> prepareInstrumentHeaderForRtgs(org.egov.commons.Bankaccount account, String txnNo, BigDecimal amount, Date date, String key)
@Transactional public InstrumentHeader reassignInstrumentHeader(org.egov.commons.Bankaccount account, String chqNo, String instType, String partyName, BigDecimal amount, Date date, String key, String serialNo)
protected Map<String,Object> preapreInstrumentVoucher(org.egov.commons.CVoucherHeader voucherHeader, org.egov.commons.Bankaccount account, String chqNo, String paidTo, String serialno)
protected Map<String,Object> preapreInstrumentVoucher(org.egov.commons.CVoucherHeader voucherHeader, org.egov.commons.Bankaccount account, String chqNo, String paidTo)
@Transactional public Map<String,Object> reassignInstrumentVoucher(org.egov.commons.CVoucherHeader voucherHeader, org.egov.commons.Bankaccount account, String chqNo, String paidTo, String serailNo)
public List<PaymentBean> getCSList(List<EgBillregister> billList, Map<Long,BigDecimal> deductionAmtMap, Map<Long,BigDecimal> paidAmtMap)
public String getPayeeNameForCBill(EgBillregister bill)
@Transactional public Paymentheader createPaymentHeader(org.egov.commons.CVoucherHeader voucherHeader, Integer bankaccountId, String type, BigDecimal amount)
public Paymentheader getPaymentHeaderByVoucherHeaderId(Long voucherHeaderId)
public Paymentheader updatePaymentHeader(Paymentheader paymentheader, org.egov.commons.CVoucherHeader voucherHeader, Integer bankaccountId, String type, BigDecimal amount)
public List<ChequeAssignment> getPaymentVoucherForRemittanceRTGSInstrument(Map<String,String[]> parameters, org.egov.commons.CVoucherHeader voucherHeader) throws org.egov.infra.exception.ApplicationException, ParseException
org.egov.infra.exception.ApplicationExceptionParseExceptionpublic List getPayeeDetailsForExpenseBill(Map<String,String[]> parameters, org.egov.commons.CVoucherHeader voucherHeader)
public int backUpdateRemittanceDateInGL(Long paymentVoucherId)
paymentVoucherId - public org.egov.pims.commons.Position getSuperiourPositionByPosition()
public org.egov.pims.commons.Position getPosition()
throws org.egov.infra.exception.ApplicationRuntimeException
org.egov.infra.exception.ApplicationRuntimeExceptionpublic String getFunctionaryAndDesignation()
public org.egov.eis.entity.Assignment getAssignment()
public org.egov.pims.commons.Position getPositionForEmployee(org.egov.eis.entity.Employee emp)
throws org.egov.infra.exception.ApplicationRuntimeException
org.egov.infra.exception.ApplicationRuntimeExceptionpublic org.egov.pims.model.PersonalInformation getEmpForCurrentUser()
public String getEmployeeNameForPositionId(org.egov.pims.commons.Position pos) throws org.egov.infra.exception.ApplicationRuntimeException
org.egov.infra.exception.ApplicationRuntimeExceptionpublic void finalApproval(Long voucherid)
public void setBillsAccountingService(BillsAccountingService billsAccountingService)
public void setEisCommonService(org.egov.eis.service.EisCommonService eisCommonService)
public void setInstrumentService(InstrumentService instrumentService)
public void setChequeService(ChequeService chequeService)
public List<InstrumentVoucher> getInstVoucherList()
public void setInstVoucherList(List<InstrumentVoucher> instVoucherList)
public FundFlowService getFundFlowService()
public void setFundFlowService(FundFlowService fundFlowService)
public void setChequeAssignmentService(ChequeAssignmentService chequeAssignmentService)
public void setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService)
public VoucherService getVoucherService()
public void setVoucherService(VoucherService voucherService)
public CreateVoucher getCreateVoucher()
public void setCreateVoucher(CreateVoucher createVoucher)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.