org.kuali.kfs.coa.service.impl
Class A21SubAccountServiceImpl

java.lang.Object
  extended by org.kuali.kfs.coa.service.impl.A21SubAccountServiceImpl
All Implemented Interfaces:
A21SubAccountService

public class A21SubAccountServiceImpl
extends Object
implements A21SubAccountService

This class is the default implementation of the A21SubAccountService


Constructor Summary
A21SubAccountServiceImpl()
           
 
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
 void setA21SubAccountDao(A21SubAccountDao subAccountDao)
           
 void setAccountService(AccountService accountService)
          Sets the accountService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

A21SubAccountServiceImpl

public A21SubAccountServiceImpl()
Method Detail

getByPrimaryKey

public A21SubAccount getByPrimaryKey(String chartOfAccountsCode,
                                     String accountNumber,
                                     String subAccountNumber)
Description copied from interface: A21SubAccountService
This retrieves an A21SubAccount by its primary keys of chart of accounts code, account number and sub account number

Specified by:
getByPrimaryKey in interface A21SubAccountService
Returns:
the A21SubAccount that matches this primary key
See Also:
A21SubAccountService.getByPrimaryKey(java.lang.String, java.lang.String, java.lang.String)

buildCgIcrAccount

public A21SubAccount buildCgIcrAccount(String chartOfAccountsCode,
                                       String accountNumber,
                                       String subAccountNumber,
                                       String subAccountTypeCode)
Description copied from interface: A21SubAccountService
build a CG ICR account

Specified by:
buildCgIcrAccount in interface A21SubAccountService
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
See Also:
A21SubAccountService.buildCgIcrAccount(java.lang.String, java.lang.String, java.lang.String, java.lang.String)

populateCgIcrAccount

public void populateCgIcrAccount(A21SubAccount a21SubAccount,
                                 String chartOfAccountsCode,
                                 String accountNumber)
Description copied from interface: A21SubAccountService
populate the a21 sub account with the given account

Specified by:
populateCgIcrAccount in interface A21SubAccountService
Parameters:
a21SubAccount - the a21 sub account needed to be populated
chartOfAccountsCode - the given chart of account
accountNumber - the given account number
See Also:
A21SubAccountService.populateCgIcrAccount(org.kuali.kfs.coa.businessobject.A21SubAccount, java.lang.String, java.lang.String)

setA21SubAccountDao

public void setA21SubAccountDao(A21SubAccountDao subAccountDao)
Parameters:
subAccountDao - The a21SubAccountDao to set.

setAccountService

public void setAccountService(AccountService accountService)
Sets the accountService attribute value.

Parameters:
accountService - The accountService to set.


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