|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentabean.BaseMentaBean
public class BaseMentaBean
A base implementation of MentaBean to be used by composition.
| Constructor Summary | |
|---|---|
BaseMentaBean(Object bean,
BeanSession session)
|
|
| Method Summary | |
|---|---|
boolean |
delete()
Attempt to delete a bean from the database. |
void |
insert()
Attempt to insert a bean to the database. |
boolean |
load()
Attempt to load the bean properties from the database. |
boolean |
update()
Attempt to update the bean properties in the database. |
boolean |
updateAll()
Attempt to update ALL the bean properties in the database, not just the ones that have been changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseMentaBean(Object bean,
BeanSession session)
| Method Detail |
|---|
public void insert()
MentaBean
insert in interface MentaBeanpublic boolean load()
MentaBean
load in interface MentaBeanpublic boolean update()
MentaBean
update in interface MentaBeanpublic boolean updateAll()
MentaBean
updateAll in interface MentaBeanpublic boolean delete()
MentaBean
delete in interface MentaBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||