public class ModificationDAO extends DAO<Modification,ModificationDAO>
| Constructor and Description |
|---|
ModificationDAO() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Modification> |
getModifications(RemoteRepository remoteRepository)
Gets all
Modifications being assigned to the given remoteRepository. |
Collection<Modification> |
getModificationsAfter(RemoteRepository remoteRepository,
long localRevision)
Gets those
Modifications 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, thisDAOpublic ModificationDAO()
public Collection<Modification> getModificationsAfter(RemoteRepository remoteRepository, long localRevision)
Modifications 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.Modifications matching the given criteria. Never null, but maybe empty.public Collection<Modification> getModificationsBeforeOrEqual(RemoteRepository remoteRepository, long localRevision)
public Collection<Modification> getModifications(RemoteRepository remoteRepository)
Modifications being assigned to the given remoteRepository.remoteRepository - the remoteRepository the queried modifications are assigned to.Modifications matching the given criteria. Never null, but maybe empty.Copyright © 2013-2014. All Rights Reserved.