@Repository public class FileDaoImpl extends Object implements FileDao
Constructor and Description |
---|
FileDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<File> |
findAllFiles() |
File |
findFileById(Long Id) |
List<File> |
findFilesByName(String name) |
javax.persistence.EntityManager |
getEntityManager() |
boolean |
removeFile(File file) |
Long |
saveFile(File file) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public FileDaoImpl()
public boolean removeFile(File file)
removeFile
in interface FileDao
public File findFileById(Long Id)
findFileById
in interface FileDao
public List<File> findFilesByName(String name)
findFilesByName
in interface FileDao
public List<File> findAllFiles()
findAllFiles
in interface FileDao
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.