public interface VdcOptionDAO extends DAO
VdcOptionDAO
defines a type for performing CRUD operations on instances of VdcOption
.Modifier and Type | Method and Description |
---|---|
VdcOption |
get(int id)
Retrieves the option with the specified id.
|
List<VdcOption> |
getAll()
Retrieves all options.
|
VdcOption |
getByNameAndVersion(String name,
String version)
Retrieves the option with the specified name.
|
void |
remove(int id)
Removes the option with the specified id.
|
void |
save(VdcOption option)
Saves the supplied option.
|
void |
update(VdcOption option)
Updates the specified option.
|
VdcOption get(int id)
id
- the option idVdcOption getByNameAndVersion(String name, String version)
name
- the option nameversion
- the versionvoid save(VdcOption option)
option
- the optionvoid update(VdcOption option)
option
- the optionvoid remove(int id)
id
- the optionCopyright © 2012. All Rights Reserved.