@Repository public class PushDeviceTupleDaoImpl extends Object implements PushDeviceTupleDao
Constructor and Description |
---|
PushDeviceTupleDaoImpl()
Creates a new instance of a
PushDeviceTupleDaoImpl |
Modifier and Type | Method and Description |
---|---|
List<PushDeviceTuple> |
findTuplesForPush(Push push)
DAO Method to find all
PushDeviceTuple |
List<PushDeviceTuple> |
findUnsentTuples()
DAO Method to find all unsent
PushDeviceTuple |
javax.persistence.EntityManager |
getEntityManager()
Return the
EntityManager for this DaoImpl.. |
void |
markTupleAsSent(PushDeviceTuple tuple)
DAO Method to mark a specific
PushDeviceTuple |
int |
removeTuplesForPush(Push push)
DAO Method to remove
PushDeviceTuple |
Long |
saveTuple(PushDeviceTuple tuple)
DAO Method to save a given
PushDeviceTuple |
void |
setEntityManager(javax.persistence.EntityManager entityManager)
Set the
EntityMAnager for this DaoImpl. |
public PushDeviceTupleDaoImpl()
PushDeviceTupleDaoImpl
public void markTupleAsSent(PushDeviceTuple tuple)
PushDeviceTupleDao
PushDeviceTuple as sent.
markTupleAsSent
in interface PushDeviceTupleDao
public Long saveTuple(PushDeviceTuple tuple)
PushDeviceTupleDao
PushDeviceTuple.
saveTuple
in interface PushDeviceTupleDao
PushDeviceTuple.
public List<PushDeviceTuple> findUnsentTuples()
PushDeviceTupleDao
PushDeviceTuple and return them as a List
findUnsentTuples
in interface PushDeviceTupleDao
PushDeviceTuple
public List<PushDeviceTuple> findTuplesForPush(Push push)
PushDeviceTupleDao
PushDeviceTuple associated with a given Push
findTuplesForPush
in interface PushDeviceTupleDao
PushDeviceTuple
@Transactional public int removeTuplesForPush(Push push)
PushDeviceTupleDao
PushDeviceTuple associated with a given Push
removeTuplesForPush
in interface PushDeviceTupleDao
public javax.persistence.EntityManager getEntityManager()
EntityManager
for this DaoImpl..public void setEntityManager(javax.persistence.EntityManager entityManager)
EntityMAnager
for this DaoImpl.entityManager
- Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.