public class ModificationDAO extends DAO<Modification,ModificationDAO>
Constructor and Description |
---|
ModificationDAO() |
Modifier and Type | Method and Description |
---|---|
Collection<Modification> |
getModifications(RemoteRepository remoteRepository)
Gets all
Modification s being assigned to the given remoteRepository . |
Collection<Modification> |
getModificationsAfter(RemoteRepository remoteRepository,
long localRevision)
Gets those
Modification s being assigned to the given remoteRepository
whose localRevision is greater than the given localRevision . |
Collection<Modification> |
getModificationsBeforeOrEqual(RemoteRepository remoteRepository,
long localRevision) |
deletePersistent, deletePersistentAll, getDAO, getEntityClass, getObjectByIdOrFail, getObjectByIdOrNull, getObjects, getObjectsCount, getPersistenceManager, load, makePersistent, persistenceManager, pm, setPersistenceManager, thisDAO
public ModificationDAO()
public Collection<Modification> getModificationsAfter(RemoteRepository remoteRepository, long localRevision)
Modification
s being assigned to the given remoteRepository
whose localRevision
is greater than the given localRevision
.remoteRepository
- the remoteRepository
the queried modifications are assigned to.localRevision
- the localRevision
, after which the modifications
to be queried where created.Modification
s matching the given criteria. Never null
, but maybe empty.public Collection<Modification> getModificationsBeforeOrEqual(RemoteRepository remoteRepository, long localRevision)
public Collection<Modification> getModifications(RemoteRepository remoteRepository)
Modification
s being assigned to the given remoteRepository
.remoteRepository
- the remoteRepository
the queried modifications are assigned to.Modification
s matching the given criteria. Never null
, but maybe empty.Copyright © 2013-2014. All Rights Reserved.