|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.knowledgeplaza.util.AbstractBean<T>
nl.knowledgeplaza.util.jpa.AbstractBean<T>
@MappedSuperclass public class AbstractBean<T>
Touch method should be overridden.
| Constructor Summary | |
|---|---|
AbstractBean()
|
|
| Method Summary | |
|---|---|
static void |
ignoreAllChanges()
disable the change detection on ALL entities, ignore and register must be balanced! |
void |
ignoreChanges()
disable the change detection on this entity (for defaults in the constructor), ignore and register must be balanced! |
boolean |
isDirty()
PendingChanges |
boolean |
isReadonly()
Readonly |
void |
markAsDirty(boolean value)
|
protected void |
markedAsDirtyHook()
|
static void |
registerAllChanges()
|
void |
registerChanges()
|
void |
setReadonly(boolean value)
|
void |
touch()
Touch the current entity (see unix man pages) Should be implemented |
| Methods inherited from class nl.knowledgeplaza.util.AbstractBean |
|---|
addProperty, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBean()
| Method Detail |
|---|
public boolean isDirty()
public void markAsDirty(boolean value)
protected void markedAsDirtyHook()
public boolean isReadonly()
public void setReadonly(boolean value)
public void ignoreChanges()
public void registerChanges()
public static void ignoreAllChanges()
public static void registerAllChanges()
public void touch()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||