public abstract class ExtendedFieldTypeDAO extends Object implements DAO
Modifier and Type | Field and Description |
---|---|
protected static ExtendedFieldTypeDAO |
instance
The database singleton model.
|
Modifier | Constructor and Description |
---|---|
protected |
ExtendedFieldTypeDAO()
constructor used when creating singleton.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
exists(Long aExtendedfieldtypeId)
Tests if exists an ExtendedFieldType with the given ID.
|
abstract List<ExtendedFieldType> |
getAll() |
static ExtendedFieldTypeDAO |
getInstance()
If an instance exists, return it, otherwise instantiate one, and return it.
|
abstract ExtendedFieldType |
read(Long aExtendedfieldtypeId)
Read an ExtendedFieldType belonging to the given id.
|
protected static void |
reset()
Reset the DAO instance.
|
protected static ExtendedFieldTypeDAO instance
protected ExtendedFieldTypeDAO()
protected static void reset()
public abstract boolean exists(Long aExtendedfieldtypeId)
aExtendedfieldtypeId
- An id belonging to an ExtendedFieldTypepublic abstract ExtendedFieldType read(Long aExtendedfieldtypeId)
aExtendedfieldtypeId
- an id belonging to a ExtendedFieldTypepublic abstract List<ExtendedFieldType> getAll()
public static ExtendedFieldTypeDAO getInstance()
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.