|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTPersist
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 |
---|
void SetDirty(boolean Value)
Value
- is the object dirtyboolean GetDirty()
void Save(com.plumtree.openfoundation.util.IXPPropertyBag pBag)
pBag
- the PropertyBag into which to save the datavoid Load(com.plumtree.openfoundation.util.IXPPropertyBag pBag)
pBag
- the PropertyBag from which to read datajava.lang.String SaveToXML(int nXMLFormat)
nXMLFormat
- the format to be used to serialize- must be 0
void LoadFromXML(java.lang.String bstrXML)
bstrXML
- the XML string, as created by SaveToXML
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |