org.kuali.kfs.coa.service
Interface A21SubAccountService

All Known Implementing Classes:
A21SubAccountServiceImpl

public interface A21SubAccountService

This interface defines the methods for retrieving fully populated A21SubAccount objects


Method Summary
 A21SubAccount buildCgIcrAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber, String subAccountTypeCode)
          build a CG ICR account
 A21SubAccount getByPrimaryKey(String chartOfAccountsCode, String accountNumber, String subAccountNumber)
          This retrieves an A21SubAccount by its primary keys of chart of accounts code, account number and sub account number
 void populateCgIcrAccount(A21SubAccount a21SubAccount, String chartOfAccountsCode, String accountNumber)
          populate the a21 sub account with the given account
 

Method Detail

getByPrimaryKey

A21SubAccount getByPrimaryKey(String chartOfAccountsCode,
                              String accountNumber,
                              String subAccountNumber)
This retrieves an A21SubAccount by its primary keys of chart of accounts code, account number and sub account number

Parameters:
chartOfAccountsCode -
accountNumber -
subAccountNumber -
Returns:
the A21SubAccount that matches this primary key

buildCgIcrAccount

A21SubAccount buildCgIcrAccount(String chartOfAccountsCode,
                                String accountNumber,
                                String subAccountNumber,
                                String subAccountTypeCode)
build a CG ICR account

Parameters:
chartOfAccountsCode - the given chart of account
accountNumber - the given account number
subAccountNumber - the given sub account number
subAccountTypeCode - the type of the CG ICR account
Returns:
a CG ICR account built from the given information

populateCgIcrAccount

void populateCgIcrAccount(A21SubAccount a21SubAccount,
                          String chartOfAccountsCode,
                          String accountNumber)
populate the a21 sub account with the given account

Parameters:
a21SubAccount - the a21 sub account needed to be populated
chartOfAccountsCode - the given chart of account
accountNumber - the given account number


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