org.kuali.kfs.module.endow.document.service
Interface TransactionArchiveService

All Known Implementing Classes:
TransactionArchiveServiceImpl

public interface TransactionArchiveService


Method Summary
 Collection<TransactionArchive> getAllTransactionArchives()
          Gets a collection of records from END_TRAN_ARCHV_T table
 Collection<TransactionArchive> getAllTransactionArchives(String typeCode, String etranCode)
          Gets a collection of records from END_TRAN_ARCHV_T table for a given TRAN_IP_IND_CD, DOC_TYP_NM, TRAN_ETRAN_CD
 TransactionArchive getByPrimaryKey(String documentNumber, int lineNumber, String lineTypeCode)
          Gets a transactionArchive by primary keys.
 Collection<TransactionArchive> getTransactionArchivesByDocumentTypeName(String typeCode)
          Gets a collection of records from END_TRAN_ARCHV_T table for a given DOC_TYP_NM
 Collection<TransactionArchive> getTransactionArchivesByDocumentTypeNameAndETranCode(String typeCode, String etranCode)
          Gets a collection of records from END_TRAN_ARCHV_T table for a given DOC_TYP_NM and TRAN_ETRAN_CD
 Collection<TransactionArchive> getTransactionArchivesByETranCode(String etranCode)
          Gets a collection of records from END_TRAN_ARCHV_T table for a given ETranCode
 Collection<TransactionArchive> getTransactionArchivesByIncomeOrPrincipalIndicator(String incomeOrPrincipalIndicator)
          Gets a collection of records from END_TRAN_ARCHV_T table for a given TRAN_IP_IND_CD
 

Method Detail

getAllTransactionArchives

Collection<TransactionArchive> getAllTransactionArchives()
Gets a collection of records from END_TRAN_ARCHV_T table

Returns:
transactionArchives

getByPrimaryKey

TransactionArchive getByPrimaryKey(String documentNumber,
                                   int lineNumber,
                                   String lineTypeCode)
Gets a transactionArchive by primary keys.

Parameters:
documentNumber, - lineNumber, lineTypeCode
Returns:
a transactionArchive

getTransactionArchivesByDocumentTypeName

Collection<TransactionArchive> getTransactionArchivesByDocumentTypeName(String typeCode)
Gets a collection of records from END_TRAN_ARCHV_T table for a given DOC_TYP_NM

Parameters:
typeCode - The document type name (DOC_TYP_NM in the table)
Returns:
transactionArchives

getTransactionArchivesByETranCode

Collection<TransactionArchive> getTransactionArchivesByETranCode(String etranCode)
Gets a collection of records from END_TRAN_ARCHV_T table for a given ETranCode

Parameters:
etranCode - The etranCode (TRAN_ETRAN_CD in the table)
Returns:
transactionArchives

getTransactionArchivesByDocumentTypeNameAndETranCode

Collection<TransactionArchive> getTransactionArchivesByDocumentTypeNameAndETranCode(String typeCode,
                                                                                    String etranCode)
Gets a collection of records from END_TRAN_ARCHV_T table for a given DOC_TYP_NM and TRAN_ETRAN_CD

Parameters:
typeCode - The document type name (DOC_TYP_NM in the table)
etranCode - The etranCode (TRAN_ETRAN_CD in the table)
Returns:
transactionArchives

getTransactionArchivesByIncomeOrPrincipalIndicator

Collection<TransactionArchive> getTransactionArchivesByIncomeOrPrincipalIndicator(String incomeOrPrincipalIndicator)
Gets a collection of records from END_TRAN_ARCHV_T table for a given TRAN_IP_IND_CD

Parameters:
incomePrincipalIndicator - The income or principal indicator (TRAN_IP_IND_CD in the table)
Returns:
transactionArchives where the indicator is I (income) or P (principal)

getAllTransactionArchives

Collection<TransactionArchive> getAllTransactionArchives(String typeCode,
                                                         String etranCode)
Gets a collection of records from END_TRAN_ARCHV_T table for a given TRAN_IP_IND_CD, DOC_TYP_NM, TRAN_ETRAN_CD

Parameters:
typeCode, - etranCode
Returns:
transactionArchives where the incomePrincipalIndicator = B


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