|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.document.DocumentBase
org.kuali.rice.kns.document.TransactionalDocumentBase
org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
org.kuali.kfs.sys.document.LedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase
org.kuali.kfs.fp.document.CashReceiptFamilyBase
public abstract class CashReceiptFamilyBase
Abstract class which defines behavior common to CashReceipt-like documents.
Field Summary | |
---|---|
protected String |
campusLocationCode
|
protected CapitalAssetInformation |
capitalAssetInformation
|
protected Date |
depositDate
|
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase |
---|
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines |
Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase |
---|
generalLedgerPendingEntries |
Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
---|
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear |
Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
---|
documentHeader |
Fields inherited from class org.kuali.rice.kns.document.DocumentBase |
---|
documentBusinessObject, documentNumber |
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
CashReceiptFamilyBase()
Constructs a CashReceiptFamilyBase |
Method Summary | |
---|---|
List |
buildListOfDeletionAwareLists()
|
void |
customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
Overrides to set the entry's description to the description from the accounting line, if a value exists. |
boolean |
documentPerformsSufficientFundsCheck()
Documents in the CashReceiptFamily do not perform Sufficient Funds checking |
String |
getCampusLocationCode()
Gets the campusLocationCode attribute. |
CapitalAssetInformation |
getCapitalAssetInformation()
Gets the capitalAssetInformation attribute. |
protected CapitalAssetManagementModuleService |
getCapitalAssetManagementModuleService()
|
Date |
getDepositDate()
Gets the depositDate attribute. |
String |
getSourceAccountingLinesSectionTitle()
Overrides the base implementation to return an empty string. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceTotal()
Total for a Cash Receipt according to the spec should be the sum of the amounts on accounting lines belonging to object codes having the 'income' object type, less the sum of the amounts on accounting lines belonging to object codes having the 'expense' object type. |
String |
getTargetAccountingLinesSectionTitle()
Overrides the base implementation to return an empty string. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetTotal()
Cash Receipts only have source lines, so this should always return 0. |
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Returns true if accounting line is debit |
void |
setCampusLocationCode(String campusLocationCode)
Sets the campusLocationCode attribute value. |
void |
setCapitalAssetInformation(CapitalAssetInformation capitalAssetInformation)
Sets the capitalAssetInformation attribute. |
void |
setDepositDate(Date depositDate)
Sets the depositDate attribute value. |
Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
---|
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
---|
answerSplitNodeQuestion, getDocumentHeader, prepareForSave, processAfterRetrieve, setDocumentHeader |
Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase |
---|
getAllowsCopy, isSessionDocument |
Methods inherited from class org.kuali.rice.kns.document.DocumentBase |
---|
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, toStringMapper, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
---|
prepareForWorkflow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPostingDocument |
---|
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries |
Methods inherited from interface org.kuali.kfs.sys.document.LedgerPostingDocument |
---|
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument |
---|
answerSplitNodeQuestion, getDocumentHeader |
Methods inherited from interface org.kuali.rice.kns.document.Document |
---|
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
---|
addNote, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
---|
prepareForWorkflow, refresh |
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware |
---|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource |
---|
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getPostingYear |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected String campusLocationCode
protected Date depositDate
protected transient CapitalAssetInformation capitalAssetInformation
Constructor Detail |
---|
public CashReceiptFamilyBase()
Method Detail |
---|
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists
in interface org.kuali.rice.kns.bo.PersistableBusinessObject
buildListOfDeletionAwareLists
in class AccountingDocumentBase
AccountingDocumentBase.buildListOfDeletionAwareLists()
public boolean documentPerformsSufficientFundsCheck()
documentPerformsSufficientFundsCheck
in class GeneralLedgerPostingDocumentBase
GeneralLedgerPostingDocumentBase.documentPerformsSufficientFundsCheck()
public String getCampusLocationCode()
public void setCampusLocationCode(String campusLocationCode)
campusLocationCode
- The campusLocationCode to set.public Date getDepositDate()
public void setDepositDate(Date depositDate)
depositDate
- The depositDate to set.public org.kuali.rice.kns.util.KualiDecimal getSourceTotal()
getSourceTotal
in interface AccountingDocument
getSourceTotal
in class AccountingDocumentBase
AccountingDocument.getSourceTotal()
public org.kuali.rice.kns.util.KualiDecimal getTargetTotal()
getTargetTotal
in interface AccountingDocument
getTargetTotal
in class AccountingDocumentBase
AccountingDocument.getTargetTotal()
public String getSourceAccountingLinesSectionTitle()
getSourceAccountingLinesSectionTitle
in interface AccountingDocument
getSourceAccountingLinesSectionTitle
in class AccountingDocumentBase
AccountingDocument.getSourceAccountingLinesSectionTitle()
public String getTargetAccountingLinesSectionTitle()
getTargetAccountingLinesSectionTitle
in interface AccountingDocument
getTargetAccountingLinesSectionTitle
in class AccountingDocumentBase
AccountingDocument.getTargetAccountingLinesSectionTitle()
public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit
in interface GeneralLedgerPendingEntrySource
isDebit
in class AccountingDocumentBase
financialDocument
- accountingLine
- true
- if accountline line
IsDebitUtils#isDebitConsideringType(FinancialDocumentRuleBase, FinancialDocument, AccountingLine)
,
org.kuali.rice.kns.rule.AccountingLineRule#isDebit(org.kuali.rice.kns.document.FinancialDocument,
org.kuali.rice.kns.bo.AccountingLine)
public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntry explicitEntry)
customizeExplicitGeneralLedgerPendingEntry
in class AccountingDocumentBase
financialDocument
- submitted accounting documentaccountingLine
- accounting line in accounting documentexplicitEntry
- general ledger pending entryorg.kuali.module.financial.rules.FinancialDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.kns.document.FinancialDocument,
org.kuali.rice.kns.bo.AccountingLine, org.kuali.module.gl.bo.GeneralLedgerPendingEntry)
public CapitalAssetInformation getCapitalAssetInformation()
CapitalAssetEditable
getCapitalAssetInformation
in interface CapitalAssetEditable
CapitalAssetEditable.getCapitalAssetInformation()
public void setCapitalAssetInformation(CapitalAssetInformation capitalAssetInformation)
CapitalAssetEditable
setCapitalAssetInformation
in interface CapitalAssetEditable
CapitalAssetEditable.setCapitalAssetInformation(org.kuali.kfs.fp.businessobject.CapitalAssetInformation)
protected CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |