|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The LineitemDbPersister interface provides a standard set of methods used to store
Lineitem objects into the Blackboard database schema.
Note: Persisting a Lineitem requires the caller to have a PersistPermission
with the name "OutcomeDefinition", with actions for create, modify, or delete, as appropriate. For system
extensions, this is declared with a line in the manifest such as
<permission type="persist" name="OutcomeDefinition" actions="create,modify,delete"/>
| Field Summary | |
static java.lang.String |
TYPE
Type used to obtain an instance of the class configured to provide the implementation for this interface. |
| Method Summary | |
void |
deleteById(Id id)
Deletes the Lineitem with the given Id from the database using a connection obtained through this object's database context. |
void |
deleteById(Id id,
java.sql.Connection con)
Deletes the Lineitem with the given Id from the database using the supplied connection. |
void |
persist(BbList lineitems)
Stores the given LineitemList into the database Lineitem by Lineitem using a connection obtained through this object's database context. |
void |
persist(BbList lineitems,
java.sql.Connection con)
Stores the given LineitemList into the database Lineitem by Lineitem using the provided connection. |
void |
persist(Lineitem lineitem)
Stores the given Lineitem into the database using a connection obtained through this object's database context. |
void |
persist(Lineitem lineitem,
java.sql.Connection con)
Stores the given Lineitem into the database using the provided connection. |
| Methods inherited from interface blackboard.persist.Persister |
getAppVersion, init |
| Field Detail |
public static final java.lang.String TYPE
BbPersistenceManager.getPersister(String)
| Method Detail |
public void persist(Lineitem lineitem)
throws ValidationException,
PersistenceException
lineitem - The Lineitem to be persisted
ValidationException - If the Lineitem fails validation tests
PersistenceException - If a general persistence level exception occurs
public void persist(Lineitem lineitem,
java.sql.Connection con)
throws ValidationException,
PersistenceException
lineitem - The Lineitem to be persistedcon - A connection supplied by the caller's database context
ValidationException - If the Lineitem fails validation tests
PersistenceException - If a general persistence level exception occurs
public void persist(BbList lineitems)
throws ValidationException,
PersistenceException
lineitems - The LineitemList to be persisted
ValidationException - If any Lineitem fails validation tests
PersistenceException - If a general persistence level exception occurs
public void persist(BbList lineitems,
java.sql.Connection con)
throws ValidationException,
PersistenceException
lineitems - The LineitemList to be persistedcon - A connection supplied by the caller's database context
ValidationException - If any Lineitem fails validation tests
PersistenceException - If a general persistence level exception occurs
public void deleteById(Id id)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Lineitem to be deleted
KeyNotFoundException - If there is no Lineitem in the database with the given Id
PersistenceException - If a general persistence level exception occurs
public void deleteById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
id - The Id of the Lineitem to be deletedcon - A connection supplied by the caller's database context
KeyNotFoundException - If there is no Lineitem in the database with the given Id
PersistenceException - If a general persistence level exception occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||