org.zeroexchange.dao.invitation
Class InvitationDAOImpl
java.lang.Object
org.zeroexchange.dao.HibernateSessionHolder
org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
org.zeroexchange.dao.BaseIntegerPKDAO<Invitation>
org.zeroexchange.dao.invitation.InvitationDAOImpl
- All Implemented Interfaces:
- DAO<Integer,Invitation>, IntegerPKDAO<Invitation>, InvitationDAO
public class InvitationDAOImpl
- extends BaseIntegerPKDAO<Invitation>
- implements InvitationDAO
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvitationDAOImpl
public InvitationDAOImpl()
getEntityClass
protected Class<Invitation> getEntityClass()
-
- Specified by:
getEntityClass
in class BaseHibernateDAO<Integer,Invitation>
getInvitations
public SlicingDataSet<Invitation> getInvitations(Integer contractId)
- Lists invitations for the specified contract.
- Specified by:
getInvitations
in interface InvitationDAO
getInvitation
public Invitation getInvitation(Integer inviterId,
Integer inviteeId,
Integer contractId)
- Returns an invitation if exists.
- Specified by:
getInvitation
in interface InvitationDAO
Copyright © 2013. All Rights Reserved.