|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- is the type of the objectpublic interface XmlImportableBase<T>
Hibernated object which can be imported into
Method Summary | |
---|---|
void |
xmlCopyBusinessPropertiesToExisting(T existingRecord)
copy business (non update) properties to an existing record |
boolean |
xmlDifferentBusinessProperties(T other)
see if the non update cols are different (e.g. name) |
boolean |
xmlDifferentUpdateProperties(T other)
see if the update cols are different (e.g. last updated) |
java.lang.String |
xmlGetId()
set id key in db |
T |
xmlSaveBusinessProperties(T existingRecord)
save the business properties (not update properties) |
void |
xmlSaveUpdateProperties()
save the udpate properties (e.g. last updated). |
void |
xmlSetId(java.lang.String theId)
set id key in db |
java.lang.String |
xmlToString()
convert to string for log |
Method Detail |
---|
java.lang.String xmlToString()
boolean xmlDifferentUpdateProperties(T other)
other
- the one to compare with
boolean xmlDifferentBusinessProperties(T other)
other
- the one to compare with
T xmlSaveBusinessProperties(T existingRecord)
existingRecord
- null if insert, the object if exists in DB
generally just copy the hibernate version number, and last updated to the
object and store it
void xmlSaveUpdateProperties()
void xmlCopyBusinessPropertiesToExisting(T existingRecord)
existingRecord
- java.lang.String xmlGetId()
void xmlSetId(java.lang.String theId)
theId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |