org.kuali.kfs.sys.service.impl
Class AccountingLineServiceImpl

java.lang.Object
  extended by org.kuali.kfs.sys.service.impl.AccountingLineServiceImpl
All Implemented Interfaces:
AccountingLineService

public class AccountingLineServiceImpl
extends Object
implements AccountingLineService

This class is the service implementation for the AccountingLine structure. This has been created with polymorphism in mind so that this service can be used for performing services for both the Source and Target AccountingLineBase structures. This is the default, Kuali provided implementation.


Constructor Summary
AccountingLineServiceImpl()
          Default constructor
 
Method Summary
 AccountingLineDao getAccountingLineDao()
          Retrieves a data access object
 List getByDocumentHeaderId(Class clazz, String documentHeaderId)
          Retrieves an accounting line by its document header id.
 void setAccountingLineDao(AccountingLineDao d)
          Sets the data access object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingLineServiceImpl

public AccountingLineServiceImpl()
Default constructor

Method Detail

getByDocumentHeaderId

public List getByDocumentHeaderId(Class clazz,
                                  String documentHeaderId)
Retrieves an accounting line by its document header id. Will retrieve any object that extends AccountingLineBase (i.e. Source and Target lines).

Specified by:
getByDocumentHeaderId in interface AccountingLineService
Parameters:
Class - The specific child class type to be retrieved.
Long -
Returns:
A list of AccountingLines... to be casted to the appropriate class.

setAccountingLineDao

public void setAccountingLineDao(AccountingLineDao d)
Sets the data access object

Parameters:
d -

getAccountingLineDao

public AccountingLineDao getAccountingLineDao()
Retrieves a data access object



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