org.zeroexchange.dao.mcredit
Interface CreditLineDAO

All Superinterfaces:
DAO<Integer,CreditLine>, IntegerPKDAO<CreditLine>
All Known Implementing Classes:
CreditLineDAOImpl

public interface CreditLineDAO
extends IntegerPKDAO<CreditLine>

Author:
black

Method Summary
 CreditLine getCreditLine(User creditor, User debtor)
          Returns credit line between specified users.
 SlicingDataSet<CreditLine> getCreditorLines(User creditor)
          Returns credit lines for the specified creditor.
 SlicingDataSet<CreditLine> getDebtorLines(User debtor)
          Returns credit lines for the specified debtor.
 void remove(CreditLine creditLine)
          Removes line by id.
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Method Detail

getCreditorLines

SlicingDataSet<CreditLine> getCreditorLines(User creditor)
Returns credit lines for the specified creditor.


getDebtorLines

SlicingDataSet<CreditLine> getDebtorLines(User debtor)
Returns credit lines for the specified debtor.


getCreditLine

CreditLine getCreditLine(User creditor,
                         User debtor)
Returns credit line between specified users.


remove

void remove(CreditLine creditLine)
Removes line by id.



Copyright © 2013. All Rights Reserved.