Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.oaext.model
Class KFFViewRowImpl

java.lang.Object
  extended by oracle.jbo.server.RowImpl
      extended by oracle.jbo.server.ViewRowImpl
          extended by oracle.apps.fnd.applcore.oaext.model.OAViewRowImpl
              extended by oracle.apps.fnd.applcore.oaext.model.FlexfieldViewRowImpl
                  extended by oracle.apps.fnd.applcore.oaext.model.KFFBaseViewRowImpl
                      extended by oracle.apps.fnd.applcore.oaext.model.KFFViewRowImpl
All Implemented Interfaces:
oracle.jbo.AttributeList, oracle.jbo.common.xml.XmlSerializable, oracle.jbo.expr.JIReservedVarNames, oracle.jbo.ExprScriptSupplier, oracle.jbo.ExprValueSupplier, oracle.jbo.ExprWrappable, oracle.jbo.JboReservedVarNames, oracle.jbo.Row, oracle.jbo.script.ExprScriptRunner, oracle.jbo.VariableManagerOwnerBase, oracle.jbo.XMLInterface

public class KFFViewRowImpl
extends KFFBaseViewRowImpl

Row class for key flexfield view objects.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.oaext.model.KFFBaseViewRowImpl
KFFBaseViewRowImpl.DuplicateValueException, KFFBaseViewRowImpl.InvalidValueException
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.OAViewRowImpl
JAXB_CONTEXT_PATH, RCS_ID
 
Fields inherited from class oracle.jbo.server.ViewRowImpl
CURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAG
 
Fields inherited from interface oracle.jbo.JboReservedVarNames
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
 
Fields inherited from interface oracle.jbo.expr.JIReservedVarNames
RESERVED_VAR_VALUE
 
Fields inherited from interface oracle.jbo.Row
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
 
Fields inherited from interface oracle.jbo.XMLInterface
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE
 
Constructor Summary
KFFViewRowImpl()
           
 
Method Summary
 java.lang.Object getBufferedAttribute(java.lang.String attrName)
          Gets the buffered attribute value.
protected  java.lang.Object getBufferedAttributeInternal(int index)
          Gets the buffered attribute value.
 java.lang.String getBufferedConcatenatedSegments()
          Gets the buffered segment values as a concatenated String separated by the delimiter.
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCombinationDetails()
          Gets the details of the combination.
static java.lang.String getConcatenatedSegments(oracle.jbo.server.ViewRowImpl row)
          Gets the concatenated segments stored in a view row.
 java.util.List<java.lang.String> getSegmentValueDescriptions()
          Gets the descriptions of the segment values.
protected  void setAttributeInternal(int index, java.lang.Object value)
           If the flexfield entity is an instance of KFFReadOnlyEntityImpl, the attribute value is buffered in this view row without passing it to the entity; otherwise an exception is thrown to indicate that this operation is not allowed.
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.KFFBaseViewRowImpl
getAttributeInternal, getFlexfieldViewDef, getValueRow, setFlexfieldDerivedSegmentValues
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldViewRowImpl
getConcatenatedSegments, getDiscriminatorValue, getFlexfieldApplicationModule, getFlexfieldEntity, getFlexfieldParameterValue, getModelID, getSegmentAttribute, refresh, setSegmentAttribute
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.OAViewRowImpl
create, createViewAccessorRS, findDiscriminatorForFilterRow, getApplCorePrefs, getAttribute, getAttribute, getDisplay, getEntities, getKeyFlexfieldCombination, getKeyFlexfieldCombinationID, getKeyFlexfieldViewDefImpl, getKeyFlexfieldViewObjectForQuery, getSetId, getTranslatedLanguages, isRefreshRequired, isTranslatable, isTranslatableAttribute, isTranslated, populteFilterMap, refreshViewAccessor, remove, setAttribute, setAttribute, setAttribute, setKeyFlexfieldCombinationID, skipFilterListOnKeyAttributes, validate, validateKeyFlexfieldCombinationID
 
Methods inherited from class oracle.jbo.server.ViewRowImpl
_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkForOuterJoins, clearAttributeException, clearAttributeException, copyFrom, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, entityCacheAdd, equals, findAssociatedObjects, findAttributeDef, findListBindingName, findListBindingRSI, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findRowSetForRow, findViewAccessorDef, getApplicationModule, getApplicationModuleForViewAccessor, getAttribute, getAttribute, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeInternal, getAttributeNames, getAttributeValues, getAttrInvokeAccessor, getCtrlHints, getDBTransaction, getEffectiveDate, getElementTagName, getEntity, getEntityAttrForAttribute, getEntityCount, getEntityForAttribute, getEntityForListBinding, getExprVarVal, getHandle, getKey, getListBindingCount, getListBindingRSI, getListBindings, getLookupDescription, getNewRowState, getParentVariableManager, getPreferredListBindingRSI, getQueryCollection, getRowSet, getRowStorageInternal, getStructureDef, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, invokeMethod, isAttributeChanged, isAttributeUpdateable, isDead, isRefreshRequired, isSubclassRow, isViewAccessorAttribute, lock, lookupAttributeDef, markViewAccessorsDirty, populate, populateAttribute, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, registerAttributeException, removeAndRetain, removeFromCollection, renderAttributeInXMLElement, renderAttributeInXMLElement, revert, setAttribute, setAttributeValues, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setNewRowState, setStateOnEntity, setTransientAttributeValue, shouldAddViewAccessorRSToRow, throwOnListBindingMismatch, toString, writeAsXml, writeAsXml, writeXML
 
Methods inherited from class oracle.jbo.server.RowImpl
addListBindingsForAttribute, clearAllExceptions, clearRowExceptions, createXMLDefinition, ensureVariableManager, findAttrAndGetIndex, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasVariables, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, variablesAdded, writeXML, writeXML, writeXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KFFViewRowImpl

public KFFViewRowImpl()
Method Detail

setAttributeInternal

protected void setAttributeInternal(int index,
                                    java.lang.Object value)
If the flexfield entity is an instance of KFFReadOnlyEntityImpl, the attribute value is buffered in this view row without passing it to the entity; otherwise an exception is thrown to indicate that this operation is not allowed.

Overrides:
setAttributeInternal in class FlexfieldViewRowImpl
See Also:
getBufferedAttributeInternal(int), getBufferedAttribute(java.lang.String)

getBufferedAttributeInternal

protected java.lang.Object getBufferedAttributeInternal(int index)
Gets the buffered attribute value. If the attribute is not buffered, the original value is returned. Note that it is not possible to know if the return value is original or a buffered value.

Parameters:
index - the attribute index
Returns:
the value

getBufferedAttribute

public java.lang.Object getBufferedAttribute(java.lang.String attrName)
Gets the buffered attribute value. If the attribute is not buffered, the original value is returned. Note that it is not possible to know if the return value is original or a buffered value.

Parameters:
attrName - the attribute name
Returns:
the value

getConcatenatedSegments

public static final java.lang.String getConcatenatedSegments(oracle.jbo.server.ViewRowImpl row)
Gets the concatenated segments stored in a view row. The view definition of the row must be annotated with delimiter and segment information.

Parameters:
row - the row that contains the segment values
Returns:
the concatenated segment values; null if the given row does not contain any segment
Throws:
java.lang.NullPointerException - if the given row is null
java.lang.IllegalArgumentException - if the view definition of the row does not contain required information

getBufferedConcatenatedSegments

public java.lang.String getBufferedConcatenatedSegments()
Gets the buffered segment values as a concatenated String separated by the delimiter.

Returns:
the buffered segment values as a concatenated String; an empty String if there's no segment in this structure.

getCombinationDetails

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getCombinationDetails()
Gets the details of the combination. Each element of the return list is a map that contains information about the segment and the segment value.

The keys of this map are:

Returns:
the detail of the combination

getSegmentValueDescriptions

public java.util.List<java.lang.String> getSegmentValueDescriptions()
Gets the descriptions of the segment values. The descriptions are returned in the same order used for concatenation. If a value is null, invalid or has no description, null is returned.

Returns:
the descriptions of the segment values; an empty list if there is no segment.
Throws:
FlexfieldJboException - if a value appears more than once in the binding list associated with the attribute

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.