|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IPTPersist is implemented by objects that wish to support standardized persistence to and from the Plumtree database. Most Plumtree objects support IPTPersist, e.g. Users, Data Sources, etc.
| Method Summary | |
boolean |
GetDirty()
Retrieves the dirty flag for this object. |
void |
Load(com.plumtree.openfoundation.util.IXPPropertyBag pBag)
Load the persistent data about the object from a PropertyBag (which was typically retrieved from the database) |
void |
LoadFromXML(java.lang.String bstrXML)
Load the persistent data about the object from an XML string |
void |
Save(com.plumtree.openfoundation.util.IXPPropertyBag pBag)
Save the persistent data about the object to a PropertyBag (which will typically be stored into the database) |
java.lang.String |
SaveToXML(int nXMLFormat)
Save the persistent data about the object to an XML string |
void |
SetDirty(boolean Value)
Sets the dirty flag for this object. |
| Method Detail |
public void SetDirty(boolean Value)
Value - is the object dirtypublic boolean GetDirty()
public void Save(com.plumtree.openfoundation.util.IXPPropertyBag pBag)
pBag - the PropertyBag into which to save the datapublic void Load(com.plumtree.openfoundation.util.IXPPropertyBag pBag)
pBag - the PropertyBag from which to read datapublic java.lang.String SaveToXML(int nXMLFormat)
nXMLFormat - the format to be used to serialize- must be 0public void LoadFromXML(java.lang.String bstrXML)
bstrXML - the XML string, as created by SaveToXML
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||