public class DCDataRow extends ProgrammaticViewRowImpl
ViewRowImpl.PostState, ViewRowImpl.RowState
mDataProvider, mSetAttrIndex, mSetAttrVal
CURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAG
PROPERTY_SERVICE_RESOURCE_CONTAINER_PATH
RESERVED_VAR_AGG_AVG, RESERVED_VAR_AGG_COUNT, RESERVED_VAR_AGG_MAX, RESERVED_VAR_AGG_MIN, RESERVED_VAR_AGG_SUM, RESERVED_VAR_AGGVAL_PREFIX, RESERVED_VAR_STRUCTURE_DEF
RESERVED_VAR_VALUE
EFFDT_DELETE_FUTURE_CHANGE_MODE, EFFDT_DELETE_MODE, EFFDT_DELETE_NEXT_CHANGE_MODE, EFFDT_DELETE_THIS_CHANGE_MODE, EFFDT_DELETE_ZAP_MODE, EFFDT_EXPERT_MODE, EFFDT_NONE_MODE, EFFDT_UPDATE_CHANGE_INSERT_MODE, EFFDT_UPDATE_CORRECTION, EFFDT_UPDATE_MODE, EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, EFFDT_UPDATE_OVERRIDE_MODE, REFRESH_CONTAINEES, REFRESH_FORGET_NEW_ROWS, REFRESH_REMOVE_NEW_ROWS, REFRESH_UNDO_CHANGES, REFRESH_WITH_DB_FORGET_CHANGES, REFRESH_WITH_DB_ONLY_IF_UNCHANGED, STATUS_INITIALIZED
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE
Constructor and Description |
---|
DCDataRow() |
Modifier and Type | Method and Description |
---|---|
protected void |
addListBindingsForAttribute(java.util.List lbs,
java.util.List attrNames,
java.lang.String attrName,
java.util.ArrayList derivedNames,
java.util.ArrayList al)
Internal: Applications should not use this method.
|
protected void |
copyFrom(ViewRowImpl other)
For subclasses to implement copy of transient members in the subclass
This method is invoked when a new row is created with attributes copied
from the other row for move into a new collection in makeRowCopy.
|
protected void |
create(AttributeList nvp)
Initialization method to be over-ridden in generated code
for custom defaulting.
|
protected RowSet |
createViewAccessorRS(ViewAccessorDef va)
Internal: Applications should not use this method.
|
protected java.lang.String |
findListBindingName(java.lang.String attrName,
java.lang.String lbName)
Internal: Applications should not use this method.
|
ViewAccessorDef |
findViewAccessorDef(java.lang.String name)
This method returns
ViewAccessorDef with the specified name. |
protected ApplicationModule |
getApplicationModuleForViewAccessor()
Internal: Applications should not use this method.
|
protected java.lang.Object |
getAttributeInternal(int index)
Gets the value of the attribute by index.
|
java.lang.Object |
getExprVarVal(java.lang.String varName) |
protected boolean |
isAttributeRSI(ViewAttributeDefImpl vad) |
protected boolean |
isRefreshRequired(ViewAccessorDef va,
java.lang.String[] attrNames,
java.lang.Object[] attrValues,
RowSet rs) |
void |
lock()
Locks the referenced Entity Rows.
|
AttributeDef |
lookupAttributeDef(java.lang.String attrName)
final void setViewDef(ViewDefImpl vDef)
{
try
{
useInner();
mInner.setViewDef(vDef);
}
finally
{
releaseInner();
}
}
|
void |
remove()
Deletes the row.
|
void |
removeAndRetain()
Removes the row from the collection and then retain it for insertion
into another location.
|
void |
removeFromCollection()
Removes the row from the collection.
|
void |
setExprVarVal(java.lang.String varName,
java.lang.Object val) |
void |
setNewRowState(byte state)
void setIterator(ViewRowSetIteratorImpl rsi)
{
mRSI = rsi;
}
public ViewRowSetIteratorImpl getIterator()
{
return mRSI;
}
|
protected void |
setTransientAttributeValueInternal(ViewAttributeDefImpl vad,
java.lang.Object val) |
dump, equals, getAttributeInternalDelegation, getDataProvider, initDataProvider, populateAttribute, setAttribute, setAttributeInternal, setTransientAttributeValue
_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkConsistency, checkForOuterJoins, clearAttributeException, clearAttributeException, clearViewAccessorResultsRecursively, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, entityCacheAdd, evaluateLovFinderExpressionInternal, findAssociatedObjects, findAttributeDef, findListBindingRSI, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findOrCreateViewLinkAccessorRS, findRowSetForRow, getApplicationModule, getAttribute, getAttribute, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeInternal, getAttributeNames, getAttributeValues, getAttrInvokeAccessor, getClientChangeIndicator, getCtrlHints, getDBTransaction, getEffectiveDate, getElementTagName, getEntities, getEntitiesInternal, getEntity, getEntityAttrForAttribute, getEntityCount, getEntityForAttribute, getEntityForListBinding, getHandle, getKey, getKeyForLogger, getListBindingCount, getListBindingRSI, getListBindings, getLookupDescription, getNewRowState, getOriginalAttributeValue, getOwningAccessorName, getParentVariableManager, getPostState, getPreferredListBindingRSI, getPrimaryEntityReference, getPrimaryPostState, getPrimaryRowState, getQueryCollection, getRowHintsAttributeDef, getRowOperationsScript, getRowSet, getRowStorageInternal, getSelectedListDisplayValue, getSelectedListDisplayValues, getStringForLogger, getStructureDef, getViewAccessorDefsInternal, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, internalGetCachedCalcAttributeValue, invokeMethod, isAttributeChanged, isAttributeUpdateable, isDead, isSubclassRow, isViewAccessorAttribute, markViewAccessorsDirty, populate, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, refresh, refreshViewAccessor, registerAttributeException, renderAttributeInXMLElement, renderAttributeInXMLElement, resetForwardAttributes, revert, revertRow, revertRowAndContainees, setAttribute, setAttributeValues, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setStateOnEntity, shouldAddViewAccessorRSToRow, throwOnListBindingMismatch, toString, validate, writeAsXml, writeAsXml, writeXML
clearAllExceptions, clearRowExceptions, createXMLDefinition, ensureVariableManager, findAttrAndGetIndex, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarValType, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasVariables, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setInMultiSetter, skipFilterListOnKeyAttributes, variablesAdded, writeXML, writeXML, writeXML
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGlobalScript
protected boolean isAttributeRSI(ViewAttributeDefImpl vad)
isAttributeRSI
in class ProgrammaticViewRowImpl
protected java.lang.String findListBindingName(java.lang.String attrName, java.lang.String lbName)
RowImpl
findListBindingName
in class ViewRowImpl
protected void setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val)
setTransientAttributeValueInternal
in class ProgrammaticViewRowImpl
public void remove()
ViewRowImpl
remove
on the updateable Entity Rows that are referenced by this View Object Row.
After the referenced, updateable entity rows have been removed this method
will remove the View Object Row from the View Object's RowSet.remove
in interface Row
remove
in class ViewRowImpl
protected void create(AttributeList nvp)
ViewRowImpl
This method invokes create(AttributeList)
on each of the "new" entities
that make up this View Row.
The attribute list nvp is simply passed to the new entity rows that make up this View Row.
Note: the names in the attribute list are not transformed into entity-relative names hoping that the caller has done so already. If not, the entity's create() method might fail.
create
in class ViewRowImpl
nvp
- the list of attributtes.public void removeFromCollection()
Row
This method differs from
in that
it just removes the row from the collection. It does not
remove the underlying Entity row(s) or database row(s).
However, once the row is removed, it cannot be used any more.
If you want to remove the row from the collection and insert it elsewhere,
call Row.remove()
.Row.removeAndRetain()
removeFromCollection
in interface Row
removeFromCollection
in class ViewRowImpl
public void removeAndRetain()
Row
This method differs from
in that
it just removes the row from the collection. It does not
remove the underlying Entity row(s) or database row(s).
Row.remove()
This method also differs from
in that after the row is removed from the collection, it can be inserted
back into the collection at another location.Row.removeFromCollection()
removeAndRetain
in interface Row
removeAndRetain
in class ViewRowImpl
public void lock()
ViewRowImpl
lock
in interface Row
lock
in class ViewRowImpl
protected java.lang.Object getAttributeInternal(int index)
ViewRowImpl
Note that this is an "inner" accessor for an attribute and does
not callout to the generated getXXX() method
on a subclass of a
ViewRowImpl. getAttribute()
methods are the "outer"
methods that callout to a subclass's getXXX() method where
XXX is the name of the attribute.
getAttributeInternal
in class ProgrammaticViewRowImpl
index
- the index of the attribute.protected void copyFrom(ViewRowImpl other)
ViewRowImpl
copyFrom
in class ViewRowImpl
public void setNewRowState(byte state)
ViewRowImpl
setNewRowState
in interface Row
setNewRowState
in class ViewRowImpl
state
- This could be STATUS_NEW or STATUS_INITIALIZED.public java.lang.Object getExprVarVal(java.lang.String varName)
getExprVarVal
in interface ExprValueSupplier
getExprVarVal
in class ViewRowImpl
public void setExprVarVal(java.lang.String varName, java.lang.Object val)
setExprVarVal
in interface ExprValueSupplier
setExprVarVal
in class RowImpl
protected ApplicationModule getApplicationModuleForViewAccessor()
ViewRowImpl
getApplicationModuleForViewAccessor
in class ViewRowImpl
public ViewAccessorDef findViewAccessorDef(java.lang.String name)
ViewAccessorDef
with the specified name.findViewAccessorDef
in class ViewRowImpl
name
- The name of the ViewAccessorDef
.ViewAccessorDef
protected RowSet createViewAccessorRS(ViewAccessorDef va)
createViewAccessorRS
in class ViewRowImpl
public AttributeDef lookupAttributeDef(java.lang.String attrName)
ViewRowImpl
lookupAttributeDef
in interface InternalViewRowInterface
lookupAttributeDef
in class ViewRowImpl
protected void addListBindingsForAttribute(java.util.List lbs, java.util.List attrNames, java.lang.String attrName, java.util.ArrayList derivedNames, java.util.ArrayList al)
RowImpl
addListBindingsForAttribute
in class RowImpl
protected boolean isRefreshRequired(ViewAccessorDef va, java.lang.String[] attrNames, java.lang.Object[] attrValues, RowSet rs)
isRefreshRequired
in class ViewRowImpl