public class ContraService extends org.egov.infstr.services.PersistenceService<ContraJournalVoucher,Long>
| Modifier and Type | Field and Description |
|---|---|
protected org.egov.eis.service.EisCommonService |
eisCommonService |
| Constructor and Description |
|---|
ContraService() |
ContraService(Class<ContraJournalVoucher> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBankRecon(org.egov.commons.CVoucherHeader payIn,
InstrumentHeader instrumentHeader,
org.egov.commons.EgwStatus instrumentReconciledStatus) |
void |
addToBankReconcilationSQL(Map instrumentDetailsMap) |
ContraJournalVoucher |
addToContra(org.egov.commons.CVoucherHeader payIn,
org.egov.commons.Bankaccount depositedBank,
InstrumentHeader instrumentHeader) |
void |
addToContraJournal(org.egov.commons.CVoucherHeader cVoucherHeader,
InstrumentHeader instrumentHeader,
org.egov.commons.Bankaccount bankaccount) |
void |
cancelVoucher(ContraJournalVoucher cjv) |
void |
createVoucherfromPreApprovedVoucher(ContraJournalVoucher cjv) |
void |
editInstruments(Long voucherId) |
org.egov.infra.admin.master.entity.Boundary |
getBoundaryForUser(ContraJournalVoucher rv) |
Map<String,Object> |
getCTBVoucher(String voucherId,
ContraBean contraBean) |
org.egov.infra.admin.master.entity.Department |
getDepartmentForUser(org.egov.infra.admin.master.entity.User user) |
org.egov.infra.admin.master.entity.Department |
getDepartmentForWfItem(ContraJournalVoucher cjv) |
String |
getDesginationName() |
InstrumentService |
getInstrumentService() |
Map<String,Object> |
getpayInSlipVoucher(Long voucherId,
ContraBean contraBean,
List<PayInBean> iHeaderList) |
org.egov.infstr.services.PersistenceService |
getPersistenceService() |
org.egov.pims.commons.Position |
getPositionForEmployee(org.egov.eis.entity.Employee emp) |
org.egov.pims.commons.Position |
getPositionForWfItem(ContraJournalVoucher rv) |
List<Transaxtion> |
postInTransaction(org.egov.commons.CVoucherHeader voucherHeader,
ContraBean contraBean) |
Map |
prepareForUpdateInstrumentDeposit(String toBankaccountGlcode)
Call this api before calling followin apis and send the map returned by this api into updateCheque_DD_Card_Deposit
updateCheque_DD_Card_Deposit_Receipt updateCashDeposit and
|
Map |
prepareForUpdateInstrumentDepositSQL() |
void |
setEmployeeServiceOld(org.egov.pims.service.EmployeeServiceOld employeeServiceOld) |
void |
setInstrumentService(InstrumentService instrumentService) |
void |
setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService) |
org.egov.commons.Bankreconciliation |
updateBankreconciliation(InstrumentHeader instrHeader,
ContraBean contraBean) |
void |
updateCashDeposit(Long payInId,
String toBankaccountGlcode,
InstrumentHeader instrumentHeader,
Map valuesMap)
used by modules which are integrating
|
void |
updateCashDeposit(Map instrumentDetailsMap) |
void |
updateCashDeposit(Map instrumentDetailsMap,
org.egov.commons.CVoucherHeader cVoucherHeader,
InstrumentHeader instrumentHeader,
org.egov.commons.Bankaccount bankaccount) |
void |
updateCheque_DD_Card_Deposit_Receipt(Long receiptId,
String toBankaccountGlcode,
InstrumentHeader instrumentHeader,
Map valuesMap)
This method will be called for remit to bank in case of cheque/dd/card/atm/online deposit where a Receipt Voucher is
generated
|
void |
updateCheque_DD_Card_Deposit_Receipt(Map instrumentDetailsMap)
This method will be called for remit to bank in case of cheque/dd/card/atm/online deposit where a Receipt Voucher is
generated This api will be used for only when it is called in loop
|
void |
updateCheque_DD_Card_Deposit(Long payInId,
String toBankaccountGlcode,
InstrumentHeader instrumentHeader,
Map valuesMap)
This method will be called for remit to bank in case of cheque/dd/card/atm/online deposit where a Contra Voucher is
generated
|
void |
updateCheque_DD_Card_Deposit(Map instrumentDetailsMap) |
void |
updateCheque_DD_Card_Deposit(Map instrumentDetailsMap,
org.egov.commons.CVoucherHeader cVoucherHeader,
InstrumentHeader instrumentHeader,
org.egov.commons.Bankaccount bankaccount) |
ContraJournalVoucher |
updateIntoContraJournal(org.egov.commons.CVoucherHeader voucherHeader,
ContraBean contraBean) |
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, validateModel@Autowired protected org.egov.eis.service.EisCommonService eisCommonService
public ContraService()
public ContraService(Class<ContraJournalVoucher> type)
public org.egov.pims.commons.Position getPositionForWfItem(ContraJournalVoucher rv)
public org.egov.infra.admin.master.entity.Department getDepartmentForUser(org.egov.infra.admin.master.entity.User user)
public ContraJournalVoucher updateIntoContraJournal(org.egov.commons.CVoucherHeader voucherHeader, ContraBean contraBean)
public org.egov.commons.Bankreconciliation updateBankreconciliation(InstrumentHeader instrHeader, ContraBean contraBean)
public List<Transaxtion> postInTransaction(org.egov.commons.CVoucherHeader voucherHeader, ContraBean contraBean)
public Map<String,Object> getCTBVoucher(String voucherId, ContraBean contraBean)
public Map<String,Object> getpayInSlipVoucher(Long voucherId, ContraBean contraBean, List<PayInBean> iHeaderList)
public void updateCheque_DD_Card_Deposit(Long payInId, String toBankaccountGlcode, InstrumentHeader instrumentHeader, Map valuesMap)
payInId - toBankaccountGlcode - instrumentHeader - public Map prepareForUpdateInstrumentDeposit(String toBankaccountGlcode)
toBankaccountGlcode - @Transactional public void updateCheque_DD_Card_Deposit_Receipt(Long receiptId, String toBankaccountGlcode, InstrumentHeader instrumentHeader, Map valuesMap)
payInId - toBankaccountGlcode - instrumentHeader - @Transactional public void updateCashDeposit(Long payInId, String toBankaccountGlcode, InstrumentHeader instrumentHeader, Map valuesMap)
public void createVoucherfromPreApprovedVoucher(ContraJournalVoucher cjv)
public void cancelVoucher(ContraJournalVoucher cjv)
public String getDesginationName()
public org.egov.infra.admin.master.entity.Department getDepartmentForWfItem(ContraJournalVoucher cjv)
public org.egov.infra.admin.master.entity.Boundary getBoundaryForUser(ContraJournalVoucher rv)
public org.egov.pims.commons.Position getPositionForEmployee(org.egov.eis.entity.Employee emp)
throws org.egov.infra.exception.ApplicationRuntimeException
org.egov.infra.exception.ApplicationRuntimeException@Transactional
public void addToBankRecon(org.egov.commons.CVoucherHeader payIn,
InstrumentHeader instrumentHeader,
org.egov.commons.EgwStatus instrumentReconciledStatus)
@Transactional public ContraJournalVoucher addToContra(org.egov.commons.CVoucherHeader payIn, org.egov.commons.Bankaccount depositedBank, InstrumentHeader instrumentHeader)
public Map prepareForUpdateInstrumentDepositSQL()
public void updateCheque_DD_Card_Deposit_Receipt(Map instrumentDetailsMap)
isntrumentDetailsMap - Map should contain with following No. key value 1. "instrumentheader" InstrumentHeader -
org.egov.model.instrument.InstrumentHeader 2. "bankaccountid" Integer - id of the BankAccount 3. "instrumentamount"
BigDecimal - instrumentamount 4. "instrumenttype" String - type of instrument (eg. Cheque,DD....) 5. "depositdate" Date -
Date of remittance 6. "createdby" Integer - userid who is depositing 7. "ispaycheque" boolean - saying whether it is
paymentcheque or receipt cheque 8. "payinid" Long - Voucher header id Map will also contain data returned by
prepareForUpdateInstrumentDepositSQL which should be called only oncepublic void updateCheque_DD_Card_Deposit(Map instrumentDetailsMap)
isntrumentDetailsMap - void updateCheque_DD_Card_Deposit_Receipt(Map isntrumentDetailsMap) fordetailspublic void updateCheque_DD_Card_Deposit(Map instrumentDetailsMap, org.egov.commons.CVoucherHeader cVoucherHeader, InstrumentHeader instrumentHeader, org.egov.commons.Bankaccount bankaccount)
public void updateCashDeposit(Map instrumentDetailsMap)
isntrumentDetailsMap - void updateCheque_DD_Card_Deposit_Receipt(Map isntrumentDetailsMap) fordetails@Transactional public void updateCashDeposit(Map instrumentDetailsMap, org.egov.commons.CVoucherHeader cVoucherHeader, InstrumentHeader instrumentHeader, org.egov.commons.Bankaccount bankaccount)
public void addToBankReconcilationSQL(Map instrumentDetailsMap) throws org.egov.infra.exception.ApplicationRuntimeException
instrumentDetailsMap - org.egov.infra.exception.ApplicationRuntimeException - Will update bank reconcilation and set isreconciled to true for the type 1. cash 2.ECS 3. bank challan 4. bank@Transactional
public void addToContraJournal(org.egov.commons.CVoucherHeader cVoucherHeader,
InstrumentHeader instrumentHeader,
org.egov.commons.Bankaccount bankaccount)
public void editInstruments(Long voucherId)
public org.egov.infstr.services.PersistenceService getPersistenceService()
public void setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService)
public InstrumentService getInstrumentService()
public void setInstrumentService(InstrumentService instrumentService)
public void setEmployeeServiceOld(org.egov.pims.service.EmployeeServiceOld employeeServiceOld)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.