@Repository public class FileAttributeDAOHibernate extends Object implements FileAttributeDAO
Constructor and Description |
---|
FileAttributeDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
Integer |
add(FileAttribute fileAttribute)
add.
|
void |
delete(FileAttribute fileAttribute)
delete.
|
List<FileAttribute> |
get(File file)
get.
|
FileAttribute |
get(Integer id)
get.
|
List<FileAttribute> |
getAll()
getAll.
|
void |
update(FileAttribute fileAttribute)
update.
|
public List<FileAttribute> getAll()
getAll.
getAll
in interface FileAttributeDAO
List
object.public List<FileAttribute> get(File file)
get.
get
in interface FileAttributeDAO
file
- a File
object.List
object.public FileAttribute get(Integer id)
get.
get
in interface FileAttributeDAO
id
- a Integer
object.FileAttribute
object.public Integer add(FileAttribute fileAttribute)
add.
add
in interface FileAttributeDAO
fileAttribute
- a FileAttribute
object.Integer
object.public void update(FileAttribute fileAttribute)
update.
update
in interface FileAttributeDAO
fileAttribute
- a FileAttribute
object.public void delete(FileAttribute fileAttribute)
delete.
delete
in interface FileAttributeDAO
fileAttribute
- a FileAttribute
object.Copyright © 2015 SeqWare. All rights reserved.