public class DCDataRow extends ProgrammaticViewRowImpl
ViewRowImpl.PostState, ViewRowImpl.RowStatemDataProvider, mSetAttrIndex, mSetAttrValCURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAGPROPERTY_SERVICE_RESOURCE_CONTAINER_PATHRESERVED_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_DEFRESERVED_VAR_VALUEPNAME_CONTEXTUAL_HINT_SUFFIX, PNAME_DYNACC_IS_FOR_LOV, PNAME_DYNACC_STRUCTURE_DEF_NAMEEFFDT_ADJUST_EFFECTIVE_END_DATE_MODE, EFFDT_ADJUST_EFFECTIVE_START_DATE_MODE, 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_INSERT_MODE, 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_INITIALIZEDXML_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 boolean |
checkIfNewRowSetRequired(ViewAccessorDef va)
Internal: Applications should not use this method.
To help decide whether a new RowSet should be created from a particular accessor's view object.
|
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 java.lang.Object |
createRowData(java.util.HashMap attrValues)
User should override this API to initializing the dataProvider for newly created row.
|
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 |
getDataProviderProperty(java.lang.String propertyName) |
java.lang.Object |
getExprVarVal(java.lang.String varName) |
protected void |
initDataProvider(java.lang.Object bean) |
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();
}
}
|
protected void |
populateAttribute(int index,
java.lang.Object val)
Populates the attribute at the given index with the given attribute value.
|
void |
remove()
Deletes the row.
|
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) |
protected boolean |
updateDataProvider(java.lang.Object rowDataProvider,
ViewAttributeDefImpl attrDef,
java.lang.Object newValue) |
convertToAttributeType, convertToSourceType, dump, equals, getAttributeInternalDelegation, getDataProvider, logCustomRowState, setAttribute, setAttributeInternal, setTransientAttributeValue_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkConsistency, checkForOuterJoins, clearAttributeException, clearAttributeException, clearViewAccessorResultsRecursively, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, doEffectiveDateRangeOperation, entityCacheAdd, evaluateLovFinderExpressionInternal, findAssociatedObjects, findAttributeDef, findListBindingRSI, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findOrCreateViewLinkAccessorRS, findRowSetForRow, getAccessorStructureDefName, 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, getRowOperations, getRowSet, getRowStorageInternal, getSelectedListDisplayValue, getSelectedListDisplayValues, getStringForLogger, getStructureDef, getViewAccessorDefsInternal, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, internalGetCachedCalcAttributeValue, invokeRowFunction, invokeRowFunction, isAttributeChanged, isAttributeUpdateable, isDead, isSubclassRow, isViewAccessorAttribute, markViewAccessorsDirty, matchesHierarchyDef, populate, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, refresh, refreshViewAccessor, registerAttributeException, removeAndRetain, removeFromCollection, renderAttributeInXMLElement, renderAttributeInXMLElement, resetAttributeException, resetForwardAttributes, resetHintsSuffix, revert, revertRow, revertRowAndContainees, setAttribute, setAttributeValues, setAttributeValuesInternal, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setStateOnEntity, shouldAddViewAccessorRSToRow, skipFilterListOnKeyAttributes, throwOnListBindingMismatch, toString, validate, writeAsXml, writeAsXml, writeXMLclearAllExceptions, clearRowExceptions, createXMLDefinition, ensureVariableManager, findAttrAndGetIndex, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarValType, getGlobalOperations, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasVariables, invokeMethod, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setInMultiSetter, variablesAdded, writeXML, writeXML, writeXML@Concealed protected void initDataProvider(java.lang.Object bean)
initDataProvider in class ProgrammaticViewRowImpl@Concealed protected final boolean isAttributeRSI(ViewAttributeDefImpl vad)
isAttributeRSI in class ProgrammaticViewRowImplprotected java.lang.String findListBindingName(java.lang.String attrName,
java.lang.String lbName)
RowImplfindListBindingName in class ViewRowImpl@Concealed
protected void populateAttribute(int index,
java.lang.Object val)
RowImplpopulateAttribute in class ViewRowImplindex - an attribute position.val - the value to be assigned to the attribute.@Concealed
protected final boolean updateDataProvider(java.lang.Object rowDataProvider,
ViewAttributeDefImpl attrDef,
java.lang.Object newValue)
updateDataProvider in class ProgrammaticViewRowImplrowDataProvider - - Object which represents this Row's dataattrDef - - AttributeDef whose value is going to updatenewValue - - NewValue for attrDef@Concealed protected final void setTransientAttributeValueInternal(ViewAttributeDefImpl vad, java.lang.Object val)
setTransientAttributeValueInternal in class ProgrammaticViewRowImplpublic void remove()
ViewRowImplremove
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 Rowremove in class ViewRowImplprotected 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 ProgrammaticViewRowImplnvp - the list of attributtes.protected final java.lang.Object createRowData(java.util.HashMap attrValues)
ProgrammaticViewRowImplcreateRowData in class ProgrammaticViewRowImplpublic void lock()
ViewRowImpllock in interface Rowlock in class ViewRowImplprotected 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 ProgrammaticViewRowImplindex - the index of the attribute.@Concealed public java.lang.Object getDataProviderProperty(java.lang.String propertyName)
protected void copyFrom(ViewRowImpl other)
ViewRowImplcopyFrom in class ProgrammaticViewRowImplpublic void setNewRowState(byte state)
ViewRowImplsetNewRowState in interface RowsetNewRowState in class ViewRowImplstate - This could be STATUS_NEW or STATUS_INITIALIZED.@Concealed public java.lang.Object getExprVarVal(java.lang.String varName)
getExprVarVal in interface ExprValueSuppliergetExprVarVal in class ViewRowImpl@Concealed
public void setExprVarVal(java.lang.String varName,
java.lang.Object val)
setExprVarVal in interface ExprValueSuppliersetExprVarVal in class RowImpl@Concealed protected ApplicationModule getApplicationModuleForViewAccessor()
ViewRowImplgetApplicationModuleForViewAccessor in class ViewRowImplpublic ViewAccessorDef findViewAccessorDef(java.lang.String name)
ViewAccessorDef with the specified name.findViewAccessorDef in class ViewRowImplname - The name of the ViewAccessorDef.ViewAccessorDefprotected RowSet createViewAccessorRS(ViewAccessorDef va)
createViewAccessorRS in class ViewRowImplpublic AttributeDef lookupAttributeDef(java.lang.String attrName)
ViewRowImpllookupAttributeDef in interface InternalViewRowInterfacelookupAttributeDef in class ViewRowImplprotected void addListBindingsForAttribute(java.util.List lbs,
java.util.List attrNames,
java.lang.String attrName,
java.util.ArrayList derivedNames,
java.util.ArrayList al)
RowImpladdListBindingsForAttribute in class RowImplprotected boolean isRefreshRequired(ViewAccessorDef va, java.lang.String[] attrNames, java.lang.Object[] attrValues, RowSet rs)
isRefreshRequired in class ViewRowImplprotected boolean checkIfNewRowSetRequired(ViewAccessorDef va)