|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PersistentObject
| Field Summary | |
|---|---|
static java.lang.String |
FIELD_NAME_KEY
the name of the id field for FieldQueries |
| Method Summary | |
|---|---|
java.lang.Object |
getKey()
Get the id for this persistent object |
boolean |
isTransient()
Returns true if this object is transient |
boolean |
remove()
remove without need for transaction |
boolean |
remove(Transaction tx)
|
void |
setKey(java.lang.Object key)
Get the id for this persistent object |
void |
update()
update without need for transaction |
void |
update(Transaction tx)
|
| Field Detail |
|---|
static final java.lang.String FIELD_NAME_KEY
| Method Detail |
|---|
java.lang.Object getKey()
void setKey(java.lang.Object key)
boolean isTransient()
void update(Transaction tx)
throws ObjectRepositoryException
ObjectRepositoryException
boolean remove(Transaction tx)
throws ObjectRepositoryException
ObjectRepositoryException
boolean remove()
throws ObjectRepositoryError
ObjectRepositoryError - if something goes wrong
void update()
throws ObjectRepositoryError
ObjectRepositoryError - if something goes wrong
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||