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

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

public class SubAccountServiceImpl
extends Object
implements SubAccountService

This class is the service implementation for the SubAccount structure. This is the default implementation that gets delivered with Kuali.


Constructor Summary
SubAccountServiceImpl()
           
 
Method Summary
 SubAccount getByPrimaryId(String chartOfAccountsCode, String accountNumber, String subAccountNumber)
          Retrieves a SubAccount object based on primary key.
 SubAccount getByPrimaryIdWithCaching(String chartOfAccountsCode, String accountNumber, String subAccountNumber)
          Method is used by KualiAccountAttribute to enable caching of accounts for routing.
 SubAccountDao getSubAccountDao()
           
 List getSubAccountsByReportsToOrganization(String chartOfAccountsCode, String organizationCode, String subAccountNumber)
          Retrieves SubAccount objects associated with the given chart-org-subAccount code combination
 void setSubAccountDao(SubAccountDao subAccountDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubAccountServiceImpl

public SubAccountServiceImpl()
Method Detail

getByPrimaryId

public SubAccount getByPrimaryId(String chartOfAccountsCode,
                                 String accountNumber,
                                 String subAccountNumber)
Description copied from interface: SubAccountService
Retrieves a SubAccount object based on primary key.

Specified by:
getByPrimaryId in interface SubAccountService
Parameters:
chartOfAccountsCode - - Chart of Accounts Code
accountNumber - - Account Number
subAccountNumber - - Sub Account Number
Returns:
SubAccount
See Also:
SubAccountService.getByPrimaryId(java.lang.String, java.lang.String, java.lang.String)

getByPrimaryIdWithCaching

public SubAccount getByPrimaryIdWithCaching(String chartOfAccountsCode,
                                            String accountNumber,
                                            String subAccountNumber)
Method is used by KualiAccountAttribute to enable caching of accounts for routing.

Specified by:
getByPrimaryIdWithCaching in interface SubAccountService
See Also:
getByPrimaryId(String, String, String)

getSubAccountsByReportsToOrganization

public List getSubAccountsByReportsToOrganization(String chartOfAccountsCode,
                                                  String organizationCode,
                                                  String subAccountNumber)
Retrieves SubAccount objects associated with the given chart-org-subAccount code combination

Specified by:
getSubAccountsByReportsToOrganization in interface SubAccountService
Parameters:
chartOfAccountsCode - - 'Reports To' Chart of Accounts Code
organizationCode - - 'Reports To' Organization Code
subAccountNumber - - Sub Account Number
Returns:
a list of SubAccount objects

getSubAccountDao

public SubAccountDao getSubAccountDao()
Returns:
SubAccountDao

setSubAccountDao

public void setSubAccountDao(SubAccountDao subAccountDao)
Parameters:
subAccountDao -


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