public abstract class ExtendedFieldValueDAO extends Object
Modifier and Type | Field and Description |
---|---|
protected static ExtendedFieldValueDAO |
instance
The one and only instance of this DAO.
|
Modifier | Constructor and Description |
---|---|
protected |
ExtendedFieldValueDAO()
constructor used when creating singleton.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
create(ExtendedFieldValue aExtendedFieldValue)
Create a ExtendedFieldValue in persistent storage.
|
abstract void |
delete(long aExtendedfieldValueID)
Delete a ExtendedFieldValue in persistent storage.
|
abstract boolean |
exists(Long aExtendedFieldValueID)
Find out if there exists in persistent storage a ExtendedFieldValue with the given id.
|
static ExtendedFieldValueDAO |
getInstance() |
abstract ExtendedFieldValue |
read(Long aExtendedFieldID,
Long aInstanceID)
Read the ExtendedFieldValue with the given extendedFieldID.
|
static void |
reset()
Reset the DAO instance.
|
abstract void |
update(ExtendedFieldValue aExtendedFieldValue)
Update a ExtendedFieldValue in persistent storage.
|
protected static ExtendedFieldValueDAO instance
protected ExtendedFieldValueDAO()
public static void reset()
public abstract boolean exists(Long aExtendedFieldValueID)
aExtendedFieldValueID
- An id associated with a ExtendedFieldValuepublic abstract void create(ExtendedFieldValue aExtendedFieldValue)
aExtendedFieldValue
- The ExtendedFieldValue to create in persistent storage.public abstract ExtendedFieldValue read(Long aExtendedFieldID, Long aInstanceID)
aExtendedFieldID
- A given ID for a ExtendedFieldValueaInstanceID
- A given instanceIDpublic abstract void update(ExtendedFieldValue aExtendedFieldValue)
aExtendedFieldValue
- The ExtendedFieldValue to updatepublic abstract void delete(long aExtendedfieldValueID)
aExtendedfieldValueID
- The ID for a extendedFieldValue to deletepublic static ExtendedFieldValueDAO getInstance()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.