|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GroupUploadDbPersister
This interface describes the set of methods that all database persisters for
GroupUpload objects must implement.
| Field Summary | |
|---|---|
static DbPersisterFactory<GroupUploadDbPersister> |
Default
Default factory for the persister. |
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 |
persist(GroupUpload groupUpload,
java.sql.Connection con)
Inserts or updates the supplied GroupUpload using the supplied connection. |
| Methods inherited from interface blackboard.persist.Persister |
|---|
getAppVersion, init |
| Field Detail |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String).
static final DbPersisterFactory<GroupUploadDbPersister> Default
| Method Detail |
|---|
void persist(GroupUpload groupUpload,
java.sql.Connection con)
throws PersistenceException,
ValidationException
GroupUpload using the supplied connection. The connection must be to
the same database as is used by the associated persistence manager. If the object's Id is set and is associated
with this persistence manager's same container, then an update is done, otherwise a new object is inserted.
groupUpload - Object to store.con - Database connection to use. This may be null
PersistenceException - if some other exception happens while persisting the object.
ValidationException - if the object is not in a consistent state to be persisted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||