|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageLabelDbPersister
| Nested Class Summary | |
|---|---|
static class |
MessageLabelDbPersister.Default
A utility class that provides quick access to the MessageLabelDbPersister
instance associated with the
default instance of the database BbPersistenceManager. |
| 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 MessageLabel identified by the given Id
value using a connection from the associated
persistence manager's database container. |
void |
deleteById(Id id,
java.sql.Connection con)
Deletes the MessageLabel identified by the given Id
value using the supplied connection. |
void |
deleteByMessageId(Id messageId)
Deletes the MessageLabel that belongs to the Message
identified by the given Id value using a connection from the associated persistence manager's database
container. |
void |
deleteByMessageId(Id messageId,
java.sql.Connection con)
Deletes the MessageLabel that belongs to the Message
identified by the given Id value using the supplied connection. |
void |
persist(MessageLabel MessageLabel)
Inserts or updates the supplied MessageLabel using a connection from the associated persistence
manager's database container. |
void |
persist(MessageLabel MessageLabel,
java.sql.Connection con)
Inserts or updates the supplied MessageLabel using the supplied connection. |
| Methods inherited from interface blackboard.persist.Persister |
|---|
getAppVersion, init |
| Field Detail |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getPersister(String)
| Method Detail |
|---|
void persist(MessageLabel MessageLabel)
throws ValidationException,
PersistenceException
MessageLabel using a connection from the associated persistence
manager's database container. If the object's id is set and is associated with the same container, then an update
is done, otherwise a new object is inserted.
ValidationException - if the object is not in a consistent state to be persisted.
PersistenceException - if some other exception happens while persisting the object.
void persist(MessageLabel MessageLabel,
java.sql.Connection con)
throws ValidationException,
PersistenceException
MessageLabel 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.
ValidationException - if the object is not in a consistent state to be persisted.
PersistenceException - if some other exception happens while persisting the object.
void deleteById(Id id)
throws KeyNotFoundException,
PersistenceException
MessageLabel identified by the given Id
value using a connection from the associated
persistence manager's database container.
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation
void deleteById(Id id,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
MessageLabel identified by the given Id
value using the supplied connection.
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation
void deleteByMessageId(Id messageId)
throws KeyNotFoundException,
PersistenceException
MessageLabel that belongs to the Message
identified by the given Id value using a connection from the associated persistence manager's database
container.
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation
void deleteByMessageId(Id messageId,
java.sql.Connection con)
throws KeyNotFoundException,
PersistenceException
MessageLabel that belongs to the Message
identified by the given Id value using the supplied connection.
KeyNotFoundException - not thrown
PersistenceException - if some other exception happens during the delete operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||