|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects to manage a dirty state
Field Summary | |
static int |
FLAG_DELETED
indicates that the business object was deleted |
static int |
FLAG_DIRTY
indicates that the business object is dirty and has unsaved changes |
static int |
FLAG_NEW
indicates that the business object is new |
Method Summary | |
boolean |
isDeleted()
Returns if the object is deleted |
boolean |
isDirty()
Returns if an object is dirty and has unsaved changes. |
boolean |
isNew()
Returns if the object is new |
void |
resetDeleted()
Clears the deleted flag |
void |
resetDirty()
Clears the dirty flag |
void |
resetNew()
Clears the new flag |
void |
setDeleted()
Sets the deleted flag |
void |
setDirty()
Sets the dirty flag |
void |
setNew()
Sets the new flag |
Field Detail |
public static final int FLAG_NEW
public static final int FLAG_DELETED
public static final int FLAG_DIRTY
Method Detail |
public boolean isDirty()
true
if the object is dirty;
false
otherwise.public void setDirty()
public void resetDirty()
public boolean isNew()
true
if the object is new;
false
otherwise.public void setNew()
public void resetNew()
public boolean isDeleted()
true
if the object is deleted;
false
otherwise.public void setDeleted()
public void resetDeleted()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |