public class NormalFileDao extends Dao<NormalFile,NormalFileDao>
Dao.IdRange
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) |
buildIdRangePackageFilter, buildIdRangePackageQueryMap, buildIdRangePackages, buildIdRangePackages, clearFetchGroups, deletePersistentAll, getDao, getDaoProvider, getEntityClass, getObjectByIdOrFail, getObjectByIdOrNull, getObjects, getObjectsCount, getPersistenceManager, load, loadDtos, persistenceManager, pm, setDaoProvider, setPersistenceManager, shrinkIdRangePackageSizeIfPossible, 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–2019. All rights reserved.