public class NormalFileDAO extends DAO<NormalFile,NormalFileDAO>
Constructor and Description |
---|
NormalFileDAO() |
Modifier and Type | Method and Description |
---|---|
void |
deletePersistent(NormalFile entity) |
Collection<NormalFile> |
getNormalFilesForSha1(String sha1,
long length)
|
<P extends NormalFile> |
makePersistent(P entity) |
deletePersistentAll, getDAO, getEntityClass, getObjectByIdOrFail, getObjectByIdOrNull, getObjects, getObjectsCount, getPersistenceManager, load, persistenceManager, pm, setPersistenceManager, thisDAO
public NormalFileDAO()
public Collection<NormalFile> getNormalFilesForSha1(String sha1, long length)
sha1
- the sha1
for which to query. Must not be null
.length
- the length
for which to query.RepoFile
s matching the given criteria. Never null
; but maybe empty.public void deletePersistent(NormalFile entity)
deletePersistent
in class DAO<NormalFile,NormalFileDAO>
public <P extends NormalFile> P makePersistent(P entity)
makePersistent
in class DAO<NormalFile,NormalFileDAO>
Copyright © 2013-2014. All Rights Reserved.