org.zeroexchange.dao.mcredit
Class CreditLineDAOImpl
java.lang.Object
org.zeroexchange.dao.HibernateSessionHolder
org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
org.zeroexchange.dao.BaseIntegerPKDAO<CreditLine>
org.zeroexchange.dao.mcredit.CreditLineDAOImpl
- All Implemented Interfaces:
- DAO<Integer,CreditLine>, IntegerPKDAO<CreditLine>, CreditLineDAO
@Repository
public class CreditLineDAOImpl
- extends BaseIntegerPKDAO<CreditLine>
- implements CreditLineDAO
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreditLineDAOImpl
public CreditLineDAOImpl()
getEntityClass
protected Class<CreditLine> getEntityClass()
-
- Specified by:
getEntityClass
in class BaseHibernateDAO<Integer,CreditLine>
getCreditorLines
public SlicingDataSet<CreditLine> getCreditorLines(User creditor)
- Returns credit lines for the specified creditor.
- Specified by:
getCreditorLines
in interface CreditLineDAO
getDebtorLines
public SlicingDataSet<CreditLine> getDebtorLines(User debtor)
- Returns credit lines for the specified debtor.
- Specified by:
getDebtorLines
in interface CreditLineDAO
getCreditLine
public CreditLine getCreditLine(User creditor,
User debtor)
- Returns credit line between specified users.
- Specified by:
getCreditLine
in interface CreditLineDAO
remove
public void remove(CreditLine creditLine)
- Removes line by id.
- Specified by:
remove
in interface CreditLineDAO
Copyright © 2013. All Rights Reserved.