org.kuali.kfs.module.endow.dataaccess.impl
Class EndowmentAccountingLineBaseDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.module.endow.dataaccess.impl.EndowmentAccountingLineBaseDaoOjb
All Implemented Interfaces:
EndowmentAccountingLineBaseDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class EndowmentAccountingLineBaseDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements EndowmentAccountingLineBaseDao


Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
EndowmentAccountingLineBaseDaoOjb()
           
 
Method Summary
 Collection<EndowmentAccountingLineBase> getAllEndowmentAccountingLines(String documentNumber)
          Gets a collection of records from END_ENDOW_ACCT_LINES_T table.
 Collection<TransactionArchive> getAllTransactionArchives()
           
 TransactionArchive getByPrimaryKey(String documentNumber, int lineNumber, String lineTypeCode)
           
protected  Collection getETranCodes(String feeMethodCode)
          Gets the document Type codes for a given feeMethodCode in END_FEE_TRAN_DOC_TYP_T table
 long getTransactionArchivesCountByBothIncomeAndPrincipal(FeeMethod feeMethod)
           
 long getTransactionArchivesCountByDocumentTypeName(String feeMethodCode, Date transactionPostedDate)
           
 long getTransactionArchivesCountByDocumentTypeNameAndETranCode(String feeMethodCode, Date transactionPostedDate)
           
 long getTransactionArchivesCountByETranCode(String feeMethodCode, Date transactionPostedDate)
           
 long getTransactionArchivesCountByIncomeOrPrincipal(String incomeOrPrincipalIndicator)
           
 long getTransactionArchivesCountForTransactions(FeeMethod feeMethod)
           
protected  Collection<TransactionArchive> getTransactionArchivesForTransactions(FeeMethod feeMethod)
          Prepares the criteria to select the records from END_TRAN_ARCHV_T table
 HashMap<String,BigDecimal> getTransactionArchivesIncomeAndPrincipalCashAmountForTransactions(FeeMethod feeMethod)
           
 BigDecimal getTransactionArchivesIncomeCashAmountForTransactions(FeeMethod feeMethod)
           
 BigDecimal getTransactionArchivesPrincipalCashAmountForTransactions(FeeMethod feeMethod)
           
 BigDecimal getTransactionArchivesTotalCashActivity(String kemid, String securityId)
           
protected  Collection getTypeCodes(String feeMethodCode)
          Gets the document Type codes for a given feeMethodCode in END_FEE_TRAN_DOC_TYP_T table
 
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

EndowmentAccountingLineBaseDaoOjb

public EndowmentAccountingLineBaseDaoOjb()
Method Detail

getAllEndowmentAccountingLines

public Collection<EndowmentAccountingLineBase> getAllEndowmentAccountingLines(String documentNumber)
Description copied from interface: EndowmentAccountingLineBaseDao
Gets a collection of records from END_ENDOW_ACCT_LINES_T table.

Specified by:
getAllEndowmentAccountingLines in interface EndowmentAccountingLineBaseDao
Returns:
transactionArchives

getAllTransactionArchives

public Collection<TransactionArchive> getAllTransactionArchives()

getByPrimaryKey

public TransactionArchive getByPrimaryKey(String documentNumber,
                                          int lineNumber,
                                          String lineTypeCode)
See Also:
TransactionArchiveDao.getByPrimaryKey(String, int, String)

getTransactionArchivesForTransactions

protected Collection<TransactionArchive> getTransactionArchivesForTransactions(FeeMethod feeMethod)
Prepares the criteria to select the records from END_TRAN_ARCHV_T table


getTransactionArchivesCountForTransactions

public long getTransactionArchivesCountForTransactions(FeeMethod feeMethod)
See Also:
TransactionArchiveDao.getTransactionArchivesCountForTransactions(FeeMethod)

getTransactionArchivesIncomeCashAmountForTransactions

public BigDecimal getTransactionArchivesIncomeCashAmountForTransactions(FeeMethod feeMethod)
See Also:
TransactionArchiveDao.getTransactionArchivesIncomeCashAmountForTransactions(FeeMethod)

getTransactionArchivesPrincipalCashAmountForTransactions

public BigDecimal getTransactionArchivesPrincipalCashAmountForTransactions(FeeMethod feeMethod)
See Also:
TransactionArchiveDao.getTransactionArchivesPrincipalCashAmountForTransactions(FeeMethod)

getTransactionArchivesIncomeAndPrincipalCashAmountForTransactions

public HashMap<String,BigDecimal> getTransactionArchivesIncomeAndPrincipalCashAmountForTransactions(FeeMethod feeMethod)
See Also:
TransactionArchiveDao.getTransactionArchivesIncomeAndPrincipalCashAmountForTransactions(FeeMethod)

getTransactionArchivesCountByDocumentTypeName

public long getTransactionArchivesCountByDocumentTypeName(String feeMethodCode,
                                                          Date transactionPostedDate)
See Also:
org.kuali.kfs.module.endow.dataaccess.TransactionArchiveDao#getTransactionArchivesCountByDocumentTypeName(String, long)

getTypeCodes

protected Collection getTypeCodes(String feeMethodCode)
Gets the document Type codes for a given feeMethodCode in END_FEE_TRAN_DOC_TYP_T table

Returns:
typeCodes

getTransactionArchivesCountByETranCode

public long getTransactionArchivesCountByETranCode(String feeMethodCode,
                                                   Date transactionPostedDate)
See Also:
org.kuali.kfs.module.endow.dataaccess.TransactionArchiveDao#getTransactionArchivesCountByETranCode(String, long)

getETranCodes

protected Collection getETranCodes(String feeMethodCode)
Gets the document Type codes for a given feeMethodCode in END_FEE_TRAN_DOC_TYP_T table

Returns:
typeCodes

getTransactionArchivesCountByDocumentTypeNameAndETranCode

public long getTransactionArchivesCountByDocumentTypeNameAndETranCode(String feeMethodCode,
                                                                      Date transactionPostedDate)
See Also:
org.kuali.kfs.module.endow.dataaccess.TransactionArchiveDao#getTransactionArchivesCountByDocumentTypeNameAndETranCode(String, long)

getTransactionArchivesCountByIncomeOrPrincipal

public long getTransactionArchivesCountByIncomeOrPrincipal(String incomeOrPrincipalIndicator)
See Also:
TransactionArchiveDao.getTransactionArchivesCountByIncomeOrPrincipal(String)

getTransactionArchivesCountByBothIncomeAndPrincipal

public long getTransactionArchivesCountByBothIncomeAndPrincipal(FeeMethod feeMethod)
See Also:
org.kuali.kfs.module.endow.dataaccess.TransactionArchiveDao#getTransactionArchivesCountByBothIncomeAndPrincipal()

getTransactionArchivesTotalCashActivity

public BigDecimal getTransactionArchivesTotalCashActivity(String kemid,
                                                          String securityId)
See Also:
org.kuali.kfs.module.endow.dataaccess.TransactionArchiveDao#getTransactionArchivesTotalCashActivity(String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.