|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ar.document.service.impl.CashControlDocumentServiceImpl
public class CashControlDocumentServiceImpl
Constructor Summary | |
---|---|
CashControlDocumentServiceImpl()
|
Method Summary | |
---|---|
void |
addNewCashControlDetail(String description,
CashControlDocument cashControlDocument,
CashControlDetail cashControlDetail)
This method add a new cash control detail to the cash control document |
protected AccountingLine |
buildAccountingLine(String accountNumber,
String subAccountNumber,
String objectCode,
String subObjectCode,
String chartOfAccountsCode,
String debitOrCredit,
org.kuali.rice.kns.util.KualiDecimal amount)
This method creates an accounting line. |
protected GeneralLedgerPendingEntry |
createAndAddNewExplicitEntry(CashControlDocument cashControlDocument,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
AccountingLine accountingLine,
SystemOptions options,
String documentType)
This method creates and adds a new explicit glpe |
protected boolean |
createAndAddTheOffsetEntry(CashControlDocument cashControlDocument,
GeneralLedgerPendingEntry explicitEntry,
AccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This method creates and adds an offset entry for the given explicit entry and accounting line. |
PaymentApplicationDocument |
createAndSavePaymentApplicationDocument(String description,
CashControlDocument cashControlDocument,
CashControlDetail cashControlDetail)
This method creates a new PaymentApplicationDocument |
boolean |
createBankOffsetGLPEs(CashControlDocument cashControlDocument,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Creates bank offset GLPEs for the cash control document |
boolean |
createCashReceiptGLPEs(CashControlDocument cashControlDocument,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This method creates the GLPEs with document type CR |
boolean |
createDistributionOfIncomeAndExpenseGLPEs(CashControlDocument cashControlDocument,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This method creates the GLPEs with document type DI |
boolean |
createGeneralErrorCorrectionGLPEs(CashControlDocument cashControlDocument,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This method creates the GLPEs with document type GEC |
AccountsReceivableDocumentHeaderService |
getAccountsReceivableDocumentHeaderService()
This method gets the accounts receivable header |
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
This method gets the business object service |
ChartService |
getChartService()
This method gets the chart service |
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
Gets the dataDictionaryService attribute. |
org.kuali.rice.kns.service.DocumentService |
getDocumentService()
This method gets the document service |
GeneralLedgerPendingEntryService |
getGlpeService()
This method gets the glpe service |
String |
getLockboxNumber(CashControlDocument cashControlDocument)
This method gets the lockbox number for the current CashControl document |
OptionsService |
getOptionsService()
This method gets the option service |
SystemInformationService |
getSystemInformationService()
This method gets the system information servcie |
UniversityDateService |
getUniversityDateService()
|
void |
saveGLPEs(CashControlDocument cashControlDocument)
This method saves CashControl document GLPEs in the database |
void |
setAccountsReceivableDocumentHeaderService(AccountsReceivableDocumentHeaderService accountsReceivableDocumentHeaderService)
This method sets the accounts receivable header |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
This method sets the business object service |
void |
setChartService(ChartService chartService)
This method sets the chart service |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value. |
void |
setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
This method sets the document service |
void |
setGlpeService(GeneralLedgerPendingEntryService glpeService)
This method sets the glpe service |
void |
setOptionsService(OptionsService optionsService)
This method sets the option service |
void |
setSystemInformationService(SystemInformationService systemInformationService)
This method sets the system information service |
void |
setUniversityDateService(UniversityDateService universityDateService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CashControlDocumentServiceImpl()
Method Detail |
---|
public PaymentApplicationDocument createAndSavePaymentApplicationDocument(String description, CashControlDocument cashControlDocument, CashControlDetail cashControlDetail) throws org.kuali.rice.kew.exception.WorkflowException
CashControlDocumentService
createAndSavePaymentApplicationDocument
in interface CashControlDocumentService
description
- the description tells whether the detail was added by cash controo doc or by lockboxcashControlDocument
- the cash control documentcashControlDetail
- the cash control detail
org.kuali.rice.kew.exception.WorkflowException
CashControlDocumentService.createAndSavePaymentApplicationDocument(java.lang.String,
org.kuali.kfs.module.ar.document.CashControlDocument, org.kuali.kfs.module.ar.businessobject.CashControlDetail)
public void addNewCashControlDetail(String description, CashControlDocument cashControlDocument, CashControlDetail cashControlDetail) throws org.kuali.rice.kew.exception.WorkflowException
CashControlDocumentService
addNewCashControlDetail
in interface CashControlDocumentService
description
- the description tells whether the detail was added by cash controo doc or by lockboxcashControlDocument
- the cash control documentcashControlDetail
- the cash control detail to be added
org.kuali.rice.kew.exception.WorkflowException
CashControlDocumentService.addNewCashControlDetail(java.lang.String,
org.kuali.kfs.module.ar.document.CashControlDocument, org.kuali.kfs.module.ar.businessobject.CashControlDetail)
public void saveGLPEs(CashControlDocument cashControlDocument)
CashControlDocumentService
saveGLPEs
in interface CashControlDocumentService
CashControlDocumentService.saveGLPEs(org.kuali.kfs.module.ar.document.CashControlDocument)
public boolean createCashReceiptGLPEs(CashControlDocument cashControlDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
CashControlDocumentService
createCashReceiptGLPEs
in interface CashControlDocumentService
CashControlDocumentService.createCashReceiptGLPEs(org.kuali.kfs.module.ar.document.CashControlDocument,
org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
public boolean createBankOffsetGLPEs(CashControlDocument cashControlDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
createBankOffsetGLPEs
in interface CashControlDocumentService
cashControlDocument
- the document to create cash control GLPEs forsequenceHelper
- the sequence helper which will sequence the new GLPEs
public boolean createDistributionOfIncomeAndExpenseGLPEs(CashControlDocument cashControlDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
CashControlDocumentService
createDistributionOfIncomeAndExpenseGLPEs
in interface CashControlDocumentService
CashControlDocumentService.createDistributionOfIncomeAndExpenseGLPEs(org.kuali.kfs.module.ar.document.CashControlDocument, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
public boolean createGeneralErrorCorrectionGLPEs(CashControlDocument cashControlDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
CashControlDocumentService
createGeneralErrorCorrectionGLPEs
in interface CashControlDocumentService
CashControlDocumentService.createGeneralErrorCorrectionGLPEs(org.kuali.kfs.module.ar.document.CashControlDocument, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
public String getLockboxNumber(CashControlDocument cashControlDocument)
CashControlDocumentService
getLockboxNumber
in interface CashControlDocumentService
CashControlDocumentService.getLockboxNumber(org.kuali.kfs.module.ar.document.CashControlDocument)
protected AccountingLine buildAccountingLine(String accountNumber, String subAccountNumber, String objectCode, String subObjectCode, String chartOfAccountsCode, String debitOrCredit, org.kuali.rice.kns.util.KualiDecimal amount)
systemInformation
- System Information used to set accounting line datadebitOrCredit
- Tells if it is debit or creditamount
- The amount
protected GeneralLedgerPendingEntry createAndAddNewExplicitEntry(CashControlDocument cashControlDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, AccountingLine accountingLine, SystemOptions options, String documentType)
cashControlDocument
- the cash control documentsequenceHelper
- sequence helperaccountingLine
- the accounting line based on which the glpe is createdoptions
- the current year oprionsdocumentType
- the document type to be associated with the glpeprotected boolean createAndAddTheOffsetEntry(CashControlDocument cashControlDocument, GeneralLedgerPendingEntry explicitEntry, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
cashControlDocument
- the cash control documentexplicitEntry
- the explicit entry for which we create the offset entryaccountingLine
- the accounting line used to populate the offset entrysequenceHelper
- the sequence helper
public SystemInformationService getSystemInformationService()
public void setSystemInformationService(SystemInformationService systemInformationService)
systemInformationService
- public ChartService getChartService()
public void setChartService(ChartService chartService)
chartService
- public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService
- The dataDictionaryService to set.public GeneralLedgerPendingEntryService getGlpeService()
public void setGlpeService(GeneralLedgerPendingEntryService glpeService)
glpeService
- public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- public OptionsService getOptionsService()
public void setOptionsService(OptionsService optionsService)
optionsService
- public AccountsReceivableDocumentHeaderService getAccountsReceivableDocumentHeaderService()
public void setAccountsReceivableDocumentHeaderService(AccountsReceivableDocumentHeaderService accountsReceivableDocumentHeaderService)
accountsReceivableDocumentHeaderService
- public org.kuali.rice.kns.service.DocumentService getDocumentService()
public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
documentService
- public UniversityDateService getUniversityDateService()
public void setUniversityDateService(UniversityDateService universityDateService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |