|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.fp.document.service.impl.CashReceiptServiceImpl
@Transactional public class CashReceiptServiceImpl
This is the default implementation of the CashReceiptService interface.
| Constructor Summary | |
|---|---|
CashReceiptServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addCashDetailsToCashDrawer(CashReceiptDocument crDoc)
This method retrieves the cash details from the cash receipt document provided and adds those details to the associated cash drawer. |
boolean |
areCashTotalsInvalid(CashReceiptDocument cashReceiptDocument)
Checks whether the CashReceiptDocument's cash totals are invalid, generating global errors if so. |
protected Map |
buildCashReceiptCriteriaMap(String campusCode,
String[] statii)
This method builds out a map of search criteria for performing cash receipt lookups using the values provided. |
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
CashDrawerService |
getCashDrawerService()
Gets the cashDrawerService attribute. |
CashManagementDao |
getCashManagementDao()
Gets the cashManagementDao attribute. |
List |
getCashReceipts(String verificationUnit,
String statusCode)
This method retrieves a collection of cash receipts using the verification unit and the status provided to retrieve the cash receipts. |
List |
getCashReceipts(String verificationUnit,
String[] statii)
This method retrieves a collection of cash receipts using the verification unit and the statuses provided to retrieve the cash receipts. |
String |
getCashReceiptVerificationUnitForUser(org.kuali.rice.kim.bo.Person user)
This method retrieves the cash receipt verification unit based on the user provided. |
org.kuali.rice.kns.service.DictionaryValidationService |
getDictionaryValidationService()
Gets the dictionaryValidationService attribute. |
org.kuali.rice.kns.service.ParameterService |
getParameterService()
Gets the parameterService attribute. |
List |
getPopulatedCashReceipts(String verificationUnit,
String[] statii)
This method retrieves a populated collection of cash receipts using the lookup parameters provided. |
org.kuali.rice.kns.workflow.service.WorkflowDocumentService |
getWorkflowDocumentService()
Gets the workflowDocumentService attribute. |
protected boolean |
isTotalInvalid(CashReceiptFamilyBase cashReceiptDocument,
org.kuali.rice.kns.util.KualiDecimal totalAmount,
String documentEntryName,
String propertyName)
Puts an error message in the error map for that property if the amount is negative. |
protected void |
populateWorkflowFields(List documents)
This method populates the workflowDocument field of each CashReceiptDocument in the given List |
protected CashDrawer |
retrieveCashDrawer(CashReceiptDocument crDoc)
This method finds the appropriate cash drawer for this cash receipt document to add cash to. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setCashDrawerService(CashDrawerService cashDrawerService)
Sets the cashDrawerService attribute value. |
void |
setCashManagementDao(CashManagementDao cashManagementDao)
Sets the cashManagementDao attribute value. |
void |
setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
Sets the dictionaryValidationService attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
void |
setWorkflowDocumentService(org.kuali.rice.kns.workflow.service.WorkflowDocumentService workflowDocumentService)
Sets the workflowDocumentService attribute value. |
protected boolean |
verifyCampus(String campusCode)
This method verifies the campus code provided exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CashReceiptServiceImpl()
| Method Detail |
|---|
protected boolean verifyCampus(String campusCode)
campusCode - The campus code to be verified.
public String getCashReceiptVerificationUnitForUser(org.kuali.rice.kim.bo.Person user)
getCashReceiptVerificationUnitForUser in interface CashReceiptServiceuser - The user to be used to retrieve the verification unit.
org.kuali.kfs.fp.document.service.CashReceiptService#getCashReceiptVerificationUnit(org.kuali.rice.kns.bo.user.KualiUser)
public List getCashReceipts(String verificationUnit,
String statusCode)
getCashReceipts in interface CashReceiptServiceverificationUnit - The verification unit used to retrieve a collection of associated cash receipts.statusCode - The status code of the cash receipts to be retrieved.
CashReceiptService.getCashReceipts(java.lang.String, java.lang.String)
public List getCashReceipts(String verificationUnit,
String[] statii)
getCashReceipts in interface CashReceiptServiceverificationUnit - The verification unit used to retrieve a collection of associated cash receipts.statii - A collection of possible statuses that will be used in the lookup of cash receipts.
CashReceiptService.getCashReceipts(java.lang.String, java.lang.String[])
public List getPopulatedCashReceipts(String verificationUnit,
String[] statii)
verificationUnit - The verification unit used to retrieve a collection of associated cash receipts.statii - A collection of possible statuses that will be used in the lookup of the cash receipts.
protected Map buildCashReceiptCriteriaMap(String campusCode,
String[] statii)
campusCode - The campus code to use as search criteria for looking up cash receipts.statii - A collection of possible statuses to use as search criteria for looking up cash receipts.
protected void populateWorkflowFields(List documents)
documents - A collection of CashReceiptDocuments to be populated with workflow document data.public void addCashDetailsToCashDrawer(CashReceiptDocument crDoc)
addCashDetailsToCashDrawer in interface CashReceiptServicecrDoc - The cash receipt document the cash details will be retrieved from.CashReceiptService.addCashDetailsToCashDrawer(org.kuali.kfs.fp.document.CashReceiptDocument)protected CashDrawer retrieveCashDrawer(CashReceiptDocument crDoc)
crDoc - The document the cash drawer will be retrieved from.
public boolean areCashTotalsInvalid(CashReceiptDocument cashReceiptDocument)
CashReceiptService
areCashTotalsInvalid in interface CashReceiptServicecashReceiptDocument - submitted cash receipt document
org.kuali.module.financial.service.CashReceiptTotalsVerificationService#areCashTotalsInvalid(org.kuali.kfs.fp.document.CashReceiptDocument)
protected boolean isTotalInvalid(CashReceiptFamilyBase cashReceiptDocument,
org.kuali.rice.kns.util.KualiDecimal totalAmount,
String documentEntryName,
String propertyName)
cashReceiptDocument - submitted cash receipt documenttotalAmount - total amount (cash total, check total, etc)documentEntryName - document typepropertyName - property type (i.e totalCashAmount, totalCheckAmount, etc)
public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public org.kuali.rice.kns.workflow.service.WorkflowDocumentService getWorkflowDocumentService()
public void setWorkflowDocumentService(org.kuali.rice.kns.workflow.service.WorkflowDocumentService workflowDocumentService)
workflowDocumentService - The workflowDocumentService to set.public CashManagementDao getCashManagementDao()
public void setCashManagementDao(CashManagementDao cashManagementDao)
cashManagementDao - The cashManagementDao to set.public CashDrawerService getCashDrawerService()
public void setCashDrawerService(CashDrawerService cashDrawerService)
cashDrawerService - The cashDrawerService to set.public org.kuali.rice.kns.service.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService - The parameterService to set.public org.kuali.rice.kns.service.DictionaryValidationService getDictionaryValidationService()
public void setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
dictionaryValidationService - The dictionaryValidationService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||