public class ExtendedFieldValueDBDAO extends ExtendedFieldValueDAO
instance
Constructor and Description |
---|
ExtendedFieldValueDBDAO()
Constructor for the ExtendedFieldValueDBDAO class.
|
Modifier and Type | Method and Description |
---|---|
void |
create(Connection aConnection,
ExtendedFieldValue aExtendedFieldValue,
boolean aCommit)
Create a ExtendedFieldValue in persistent storage.
|
void |
create(ExtendedFieldValue aExtendedFieldValue)
Create a ExtendedFieldValue in persistent storage.
|
void |
delete(long aExtendedfieldValueID)
Delete a ExtendedFieldValue in persistent storage.
|
boolean |
exists(Long aExtendedFieldValueID)
Find out if there exists in persistent storage a ExtendedFieldValue with the given id.
|
ExtendedFieldValue |
read(Long aExtendedFieldID,
Long aInstanceID)
Read the ExtendedFieldValue with the given extendedFieldID.
|
void |
update(Connection aConnection,
ExtendedFieldValue aExtendedFieldValue,
boolean aCommit)
Read a ExtendedFieldValue in persistent storage.
|
void |
update(ExtendedFieldValue aExtendedFieldValue)
Update a ExtendedFieldValue in persistent storage.
|
getInstance, reset
public ExtendedFieldValueDBDAO()
public void create(Connection aConnection, ExtendedFieldValue aExtendedFieldValue, boolean aCommit) throws SQLException
aConnection
- an open connection to the HarvestDatabase.aExtendedFieldValue
- The ExtendedFieldValue to create in persistent storageaCommit
- Should we commit this or notSQLException
- In case of Database access problems.public void create(ExtendedFieldValue aExtendedFieldValue)
ExtendedFieldValueDAO
create
in class ExtendedFieldValueDAO
aExtendedFieldValue
- The ExtendedFieldValue to create in persistent storage.public void delete(long aExtendedfieldValueID) throws IOFailure
ExtendedFieldValueDAO
delete
in class ExtendedFieldValueDAO
aExtendedfieldValueID
- The ID for a extendedFieldValue to deleteIOFailure
public boolean exists(Long aExtendedFieldValueID)
ExtendedFieldValueDAO
exists
in class ExtendedFieldValueDAO
aExtendedFieldValueID
- An id associated with a ExtendedFieldValuepublic ExtendedFieldValue read(Long aExtendedFieldID, Long aInstanceID)
ExtendedFieldValueDAO
read
in class ExtendedFieldValueDAO
aExtendedFieldID
- A given ID for a ExtendedFieldValueaInstanceID
- A given instanceIDpublic void update(Connection aConnection, ExtendedFieldValue aExtendedFieldValue, boolean aCommit) throws SQLException
aConnection
- an open connection to the HarvestDatabaseaExtendedFieldValue
- The ExtendedFieldValue to updateaCommit
- Should we commit this or notSQLException
- In case of database problems.public void update(ExtendedFieldValue aExtendedFieldValue) throws IOFailure
ExtendedFieldValueDAO
update
in class ExtendedFieldValueDAO
aExtendedFieldValue
- The ExtendedFieldValue to updateIOFailure
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.