public class DBObjectWriterV7 extends DBObjectWriter
ATTRIBUTE_CORRUPT_JOURNAL_FIELD, DENORMALIZED_RESULT_SAVE_COUNT, INIT_DATA, obj| Constructor and Description |
|---|
DBObjectWriterV7(DBObject obj)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectStatements(StatementBatch sb)
Collects the raw SQL statements to be batch together and
executed as a single database transaction.
|
static java.lang.Object |
makeCurrentValue(DataSource ds,
DBField field,
java.lang.Object userValue,
java.lang.Object previousValueActual,
GlobalKey currentKey,
java.lang.String language,
FldParams inParams) |
static GlobalKey |
makeLinkedKey(DataSource ds,
DBField field,
boolean isLinked,
java.lang.Object orgValue,
FldParams inParams) |
public DBObjectWriterV7(@Nonnull
DBObject obj)
obj - the objectpublic void collectStatements(StatementBatch sb) throws java.lang.Exception
sb - The holder of all the SQL statements for this universe.java.lang.Exception - A serious problem has occurred.public static java.lang.Object makeCurrentValue(DataSource ds, DBField field, java.lang.Object userValue, java.lang.Object previousValueActual, GlobalKey currentKey, java.lang.String language, FldParams inParams)
ds - the data sourcefield - The fielduserValue - userpreviousValueActual - actual valuecurrentKey - the keylanguage - the languageinParams - the parameters to usepublic static GlobalKey makeLinkedKey(DataSource ds, DBField field, boolean isLinked, java.lang.Object orgValue, FldParams inParams) throws java.lang.Exception
ds - the data sourcefield - The fieldisLinked - is linkedorgValue - the valueinParams - the parametersjava.lang.Exception - a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.