Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.jbo.common.sdo
Class SDOValueStoreHelper

java.lang.Object
  extended by oracle.jbo.common.sdo.SDOValueStoreHelper


public class SDOValueStoreHelper
extends java.lang.Object
Since:
release specific (what release of product did this appear in)

Field Summary
static int ALL_PROPERTY
           
static int ASSOCIATION_PROPERTY
           
static int ASSOCIATION_PROPERTY_1TO1
           
static int ASSOCIATION_PROPERTY_1TOM
           
static int COMPOSITION_PROPERTY
           
static int COMPOSITION_PROPERTY_1TO1
           
static int COMPOSITION_PROPERTY_1TOM
           
static SDOValueStoreHelper INSTANCE
           
static int PRIMARY_KEY_PROPERTY
           
static java.lang.String PROPERTY_MIMETYPE
           
static java.lang.String PROPERTY_MIMETYPE_PROPERTY
           
static java.lang.String PROPERTY_SERVICE_PROCESS_CHILDREN
           
static int SCALAR_PROPERTY
           
static java.util.HashMap sDataObjectKeyPropertiesMap
           

 

Method Summary
 java.lang.String applyFindCriteria(FindCriteria findCriteria, ViewObject viewObject, java.lang.String vcName)
           
 Key buildKeyValues(commonj.sdo.DataObject dataObject, ViewObject viewObject)
          Retrieve Key value.
 ServiceException constructServiceException(java.lang.String errorCode, java.lang.Object[] params, commonj.sdo.DataObject source)
           
 ViewCriteria convertFindCriteria(FindCriteria findCriteria, ViewObject viewObject, java.lang.String vcName)
           
 void convertViewCriteria(ViewCriteria viewCriteria, ViewCriteria vc)
           
 void copyDataObject(commonj.sdo.DataObject source, commonj.sdo.DataObject dest)
          Copy or Clone dataobject from source to dest
 void copyDataObject(commonj.sdo.DataObject source, commonj.sdo.DataObject dest, int propertyTypes)
          Copy/Clone dataobject from source to dest
 void copyDataObject(commonj.sdo.DataObject source, commonj.sdo.DataObject dest, int propertyTypes, java.util.HashMap oldValuesMap)
          Copies values from one data object to another.
 commonj.sdo.DataObject createDataObject(AttributeList attrList, java.lang.Class interfaceClass)
           
 java.lang.Object createDataObject(java.lang.Object output, java.lang.Class interfaceClass, boolean isServiceScope)
           
 commonj.sdo.DataObject createDataObject(Row row, java.lang.Class interfaceClass, FindCriteria findCriteria, boolean isDisconnectedMode, boolean isServiceScope)
           
 commonj.sdo.DataObject dataObjectToRow(commonj.sdo.DataObject dataObject, Row row, boolean isDisconnectedMode, boolean isServiceScope)
          Transfer all property values from dataobject to Row
 commonj.sdo.DataObject dataObjectToRow(commonj.sdo.DataObject dataObject, Row row, int propertyTypes, boolean forceSetAttribute, boolean isDisconnectedMode, boolean isServiceScope)
          Copies values from a data object to a row.
 commonj.sdo.DataObject dataObjectToRow(commonj.sdo.DataObject dataObject, Row row, int propertyTypes, boolean forceSetAttribute, boolean isDisconnectedMode, boolean isServiceScope, java.util.HashMap oldValuesMap)
          Copies values from a data object to a row.
 Row extractRowFromDataObject(commonj.sdo.DataObject oneChild)
          extract the row value from SDOValueStore
 Row[] findRows(FindCriteria findCriteria, ViewObject viewObject)
           
 java.lang.String[] getAlternateKeyNames(ViewObject viewObject)
           
 Key getAlternateKeyValue(ViewObject viewObject, java.lang.String altKeyName, commonj.sdo.DataObject dataObject)
          Retrieve AlternateKey Values.
 java.util.Properties getAppModuleSessionProperties()
          Helper method for setting properties of application module session
 AttributeList getAttributeList(ViewObjectImpl viewobject, commonj.sdo.DataObject source)
           
 ViewObject getChildViewObject(ViewObject viewObject, java.lang.String attributeName)
          figure out the viewobject name from attribute name
 java.lang.String getCompositionName(ViewObject viewObject, java.lang.String attributeName)
           
 AttributeList getDiscriAttributeList(ViewObjectImpl viewobject, commonj.sdo.DataObject source)
           
 int getFindCriteriaFetchSize(FindCriteria findCriteria)
           
 AttributeList getInitAttributeList(ViewObjectImpl viewobject, commonj.sdo.DataObject source)
           
 java.lang.String getMimeType(commonj.sdo.DataObject source, commonj.sdo.Property property, java.lang.Object value)
           
 AttributeList getParentAttributeList(ViewObject viewObject, ViewRowImpl row, java.lang.String attributeName)
           
 java.util.HashMap getRefreshableAttributeMap(Row row)
          Gets the names of row attributes whose values are retrieved from the database after the row is inserted or updated in the post cycle.
 java.util.HashMap getRefreshableAttributeMap(Row row, boolean getHistory)
          Gets the names of row attributes whose values are retrieved from the database after the row is inserted or updated in the post cycle.
static commonj.sdo.DataObject getReturnObject(commonj.sdo.DataObject source, java.lang.String returnMode)
           
 Row getRow(Key key, java.lang.String keyName, RowSet rowSet)
          Helper method to get row from rowset
 Row getRow(Key key, java.lang.String keyName, ViewObject viewObject)
          helper method to get row
 Row getRowByKey(Key key, java.lang.String keyName, ViewObject viewObject, RowSet parentRowSet)
           
 Row getRowByKeyOrAltKey(ViewObject viewObject, RowSet parentRowSet, commonj.sdo.DataObject source)
           
 java.lang.String[] getSelectedAttributes(commonj.sdo.Type sdotype, FindCriteria findCriteria, ViewObjectImpl viewObject)
          Return selected attribute list for viewobject whose query mode is "declarative".
static boolean hasRetrievedOnCreateAttrs(ViewObject viewObject)
          Returns whether the given viewObject has attributes needed to be refreshed on creation.
static boolean hasRetrievedOnCreateKeyAttrs(ViewObject viewObject)
          Returns whether the given viewObject has one or more key attributes needed to be refreshed on creation.
static boolean hasRetrievedOnUpdateAttrs(ViewObject viewObject)
          Returns whether the given viewObject has attributes needed to be refreshed on updating.
static boolean hasRetrievedOnUpdateKeyAttrs(ViewObject viewObject)
          Returns whether the given viewObject has one or more key attributes needed to be refreshed on updating.
 boolean isCompositeOwner(ViewObject viewObject, java.lang.String attributeName)
           
 boolean isComposition(commonj.sdo.DataObject dataobject, java.lang.String attributeName)
          check if a relationship referred by attribue name is a composition or not
 boolean isComposition(ViewObject viewObject, java.lang.String attributeName)
          evaluate if a relationship referred by attribute name is a composition or not
 boolean isEntityBasedViewRow(Row row)
          Returns whether the given Row object is based on an Entity Object.
static boolean isHistoryAttribute(AttributeDefImpl attrDef)
          Returns whether the given attribute is an entity-derived attribute and the mapped entity attribute represents a history column.
 boolean isHistoryAttribute(commonj.sdo.DataObject dataobject, java.lang.String attributeName)
          Returns whether the given property maps to an entity derived history column in the view object that the SDO DataObject maps to.
 boolean isKeyAttribute(commonj.sdo.DataObject dataobject, java.lang.String attributeName)
          Returns whether the given property maps to a key attribute in the view object that the SDO DataObject maps to.
 boolean isSDOGeneric(ViewObjectImpl viewobject)
           
 void passdownFKReferece(ViewObject viewObject, java.lang.String attributeName, commonj.sdo.DataObject parent, commonj.sdo.DataObject child)
           
 void passdownFKReferece(ViewObject viewObject, java.lang.String attributeName, commonj.sdo.DataObject parent, java.util.List<commonj.sdo.DataObject> children)
          passdown foreign key value from the parent to children
 void populateKeyProperties(commonj.sdo.DataObject dataObject, ViewObject viewObject, Row viewRow)
           
 java.lang.Object preprocessPropertyValue(java.lang.Object value)
          pre-process property value; For now, the only process is to convert empty string to null.
 void resetSelectedAttributes(ViewObject viewobject, commonj.sdo.Type sdotype, FindCriteria findCriteria)
           
 commonj.sdo.DataObject rowToDataObject(Row row, commonj.sdo.DataObject dest)
          copy all property values from row to dataobject
 commonj.sdo.DataObject rowToDataObject(Row row, commonj.sdo.DataObject dest, int propertyTypes)
          Transfer certain types of property values from row to dataobject
 void setChildProperty(commonj.sdo.DataObject parentDataObject, commonj.sdo.DataObject childDataObject, commonj.sdo.Property property)
           
 void setDataTypeProperties(commonj.sdo.DataObject source, commonj.sdo.DataObject dest)
           
 void setQueryParamValues(commonj.sdo.DataObject source, java.lang.Object[] paramValues)
           
 void setSDOValueStore(Row row, FindCriteria findCriteria, boolean isDisconnectedMode, boolean isServiceScope, commonj.sdo.DataObject targetObject)
           
 void setSDOValueStoreReturnMode(commonj.sdo.DataObject source, java.lang.String returnMode)
           
 void setSDOValueStoreState(commonj.sdo.DataObject source, boolean state)
           
 void setSDOValueStoreToExpandAllChildren(commonj.sdo.DataObject source, boolean expandChildren)
           
 void setSDOValueStoreToNavigateManyChild(commonj.sdo.DataObject source, boolean flag)
           
 void setSessionEnv(SessionCookie sess)
           
 void unsetAppliedCriteria(ViewObject viewObject, java.lang.String vcName)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

INSTANCE

public static SDOValueStoreHelper INSTANCE

PRIMARY_KEY_PROPERTY

public static final int PRIMARY_KEY_PROPERTY
See Also:
Constant Field Values

SCALAR_PROPERTY

public static final int SCALAR_PROPERTY
See Also:
Constant Field Values

COMPOSITION_PROPERTY_1TO1

public static final int COMPOSITION_PROPERTY_1TO1
See Also:
Constant Field Values

COMPOSITION_PROPERTY_1TOM

public static final int COMPOSITION_PROPERTY_1TOM
See Also:
Constant Field Values

COMPOSITION_PROPERTY

public static final int COMPOSITION_PROPERTY
See Also:
Constant Field Values

ASSOCIATION_PROPERTY_1TO1

public static final int ASSOCIATION_PROPERTY_1TO1
See Also:
Constant Field Values

ASSOCIATION_PROPERTY_1TOM

public static final int ASSOCIATION_PROPERTY_1TOM
See Also:
Constant Field Values

ASSOCIATION_PROPERTY

public static final int ASSOCIATION_PROPERTY
See Also:
Constant Field Values

ALL_PROPERTY

public static final int ALL_PROPERTY
See Also:
Constant Field Values

PROPERTY_MIMETYPE

public static final java.lang.String PROPERTY_MIMETYPE
See Also:
Constant Field Values

PROPERTY_MIMETYPE_PROPERTY

public static final java.lang.String PROPERTY_MIMETYPE_PROPERTY
See Also:
Constant Field Values

PROPERTY_SERVICE_PROCESS_CHILDREN

public static final java.lang.String PROPERTY_SERVICE_PROCESS_CHILDREN
See Also:
Constant Field Values

sDataObjectKeyPropertiesMap

public static java.util.HashMap sDataObjectKeyPropertiesMap

Method Detail

extractRowFromDataObject

public Row extractRowFromDataObject(commonj.sdo.DataObject oneChild)
extract the row value from SDOValueStore
Parameters:
oneChild -
Returns:

setSDOValueStoreState

public void setSDOValueStoreState(commonj.sdo.DataObject source,
                                  boolean state)

setSDOValueStoreToNavigateManyChild

public void setSDOValueStoreToNavigateManyChild(commonj.sdo.DataObject source,
                                                boolean flag)

setSDOValueStoreReturnMode

public void setSDOValueStoreReturnMode(commonj.sdo.DataObject source,
                                       java.lang.String returnMode)

setSDOValueStoreToExpandAllChildren

public void setSDOValueStoreToExpandAllChildren(commonj.sdo.DataObject source,
                                                boolean expandChildren)

createDataObject

public java.lang.Object createDataObject(java.lang.Object output,
                                         java.lang.Class interfaceClass,
                                         boolean isServiceScope)

setQueryParamValues

public void setQueryParamValues(commonj.sdo.DataObject source,
                                java.lang.Object[] paramValues)

createDataObject

public commonj.sdo.DataObject createDataObject(AttributeList attrList,
                                               java.lang.Class interfaceClass)

setSDOValueStore

public void setSDOValueStore(Row row,
                             FindCriteria findCriteria,
                             boolean isDisconnectedMode,
                             boolean isServiceScope,
                             commonj.sdo.DataObject targetObject)

createDataObject

public commonj.sdo.DataObject createDataObject(Row row,
                                               java.lang.Class interfaceClass,
                                               FindCriteria findCriteria,
                                               boolean isDisconnectedMode,
                                               boolean isServiceScope)

dataObjectToRow

public commonj.sdo.DataObject dataObjectToRow(commonj.sdo.DataObject dataObject,
                                              Row row,
                                              int propertyTypes,
                                              boolean forceSetAttribute,
                                              boolean isDisconnectedMode,
                                              boolean isServiceScope)
Copies values from a data object to a row. If the specified dataObject already wraps the specified row, the data object is returned as is. Otherwise this method will instantiate a new data object to wrap the row.
Parameters:
dataObject - dataobject from which to get values
row - row on which to set values
propertyTypes - indicates what types of properties to copy
forceSetAttribute - flag to indicate whether executing set() when the new values are the same as old values.
isDisconnectedMode - flag to indicate whether the creation or updating of rows will be posted to database.
isServiceScope - flag to indicate whether it is inside a service operation or not.
Returns:
the final dataobject

dataObjectToRow

public commonj.sdo.DataObject dataObjectToRow(commonj.sdo.DataObject dataObject,
                                              Row row,
                                              int propertyTypes,
                                              boolean forceSetAttribute,
                                              boolean isDisconnectedMode,
                                              boolean isServiceScope,
                                              java.util.HashMap oldValuesMap)
Copies values from a data object to a row. If the specified dataObject already wraps the specified row, the data object is returned as is. Otherwise this method will instantiate a new data object to wrap the row. If oldValuesMap is specified, this method will not copy properties not found in the map. (Currently the old values are not used.)
Parameters:
dataObject - data object from which to get values
row - row on which to set values
propertyTypes - types of properties to copy
forceSetAttribute - flag to indicate whether executing set() when the new values are the same as old values.
isDisconnectedMode - flag to indicate whether the creation or updating of rows will be posted to database.
isServiceScope - flag to indicate whether it is inside a service operation or not.
oldValuesMap - table of property-value pairs
Returns:
a data object that wraps the specified row.

dataObjectToRow

public commonj.sdo.DataObject dataObjectToRow(commonj.sdo.DataObject dataObject,
                                              Row row,
                                              boolean isDisconnectedMode,
                                              boolean isServiceScope)
Transfer all property values from dataobject to Row
Parameters:
dataObject -
row -
Returns:
the new DataObject with SDOValueStore

getAppModuleSessionProperties

public java.util.Properties getAppModuleSessionProperties()
Helper method for setting properties of application module session
Returns:
properties

setSessionEnv

public void setSessionEnv(SessionCookie sess)

rowToDataObject

public commonj.sdo.DataObject rowToDataObject(Row row,
                                              commonj.sdo.DataObject dest)
copy all property values from row to dataobject
Parameters:
row -
dest -
Returns:

rowToDataObject

public commonj.sdo.DataObject rowToDataObject(Row row,
                                              commonj.sdo.DataObject dest,
                                              int propertyTypes)
Transfer certain types of property values from row to dataobject
Parameters:
row -
dest -
propertyTypes -
Returns:

copyDataObject

public void copyDataObject(commonj.sdo.DataObject source,
                           commonj.sdo.DataObject dest,
                           int propertyTypes)
Copy/Clone dataobject from source to dest
Parameters:
source - source dataObject
dest - destination dataobject
propertyTypes - indicates what types of properties to copy

copyDataObject

public void copyDataObject(commonj.sdo.DataObject source,
                           commonj.sdo.DataObject dest,
                           int propertyTypes,
                           java.util.HashMap oldValuesMap)
Copies values from one data object to another. If the destination data object wraps a view row, this method will indirectly set the view row attribute values. If oldValuesMap is specified, this method will not copy properties not found in the map. (Currently the old values are not used.)
Parameters:
source - data object from which to get values
dest - data object on which to set values
propertyTypes - types of properties to copy
oldValuesMap - table of property-value pairs

preprocessPropertyValue

public java.lang.Object preprocessPropertyValue(java.lang.Object value)
pre-process property value; For now, the only process is to convert empty string to null.
Parameters:
value - input property value;
Returns:
processed value

isComposition

public boolean isComposition(commonj.sdo.DataObject dataobject,
                             java.lang.String attributeName)
check if a relationship referred by attribue name is a composition or not
Parameters:
dataobject -
attributeName -
Returns:

isKeyAttribute

public boolean isKeyAttribute(commonj.sdo.DataObject dataobject,
                              java.lang.String attributeName)
Returns whether the given property maps to a key attribute in the view object that the SDO DataObject maps to.
Parameters:
dataobject - the SDODataObject who uses SDOValueStore
attributeName - the name of the attribute
Returns:
true if the attribute of the view object is one of the key attributes; false otherwise.

isEntityBasedViewRow

public boolean isEntityBasedViewRow(Row row)
Returns whether the given Row object is based on an Entity Object.
Parameters:
Row - object
Returns:
true if the row object is a view row based on an Entity Object; false otherwise.

isHistoryAttribute

public boolean isHistoryAttribute(commonj.sdo.DataObject dataobject,
                                  java.lang.String attributeName)
Returns whether the given property maps to an entity derived history column in the view object that the SDO DataObject maps to.
Parameters:
dataobject - the SDODataObject who uses SDOValueStore
attributeName - the name of the attribute
Returns:
true if the attribute of the view object is one of the history attributes; false otherwise.

getChildViewObject

public ViewObject getChildViewObject(ViewObject viewObject,
                                     java.lang.String attributeName)
figure out the viewobject name from attribute name
Parameters:
viewObject -
attributeName -
Returns:

passdownFKReferece

public void passdownFKReferece(ViewObject viewObject,
                               java.lang.String attributeName,
                               commonj.sdo.DataObject parent,
                               java.util.List<commonj.sdo.DataObject> children)
passdown foreign key value from the parent to children
Parameters:
viewObject - the parent viewObject
attributeName - accessor name to get the children
parent - parent dataobject
children - child dataobjects

passdownFKReferece

public void passdownFKReferece(ViewObject viewObject,
                               java.lang.String attributeName,
                               commonj.sdo.DataObject parent,
                               commonj.sdo.DataObject child)

getRefreshableAttributeMap

public java.util.HashMap getRefreshableAttributeMap(Row row)
Gets the names of row attributes whose values are retrieved from the database after the row is inserted or updated in the post cycle.

Note: This method only returns attributes with Refresh After Insert or Refresh After Update properties; it does not include history attributes.

Parameters:
row - a row
Returns:
a list of refreshable attributes.

getRefreshableAttributeMap

public java.util.HashMap getRefreshableAttributeMap(Row row,
                                                    boolean getHistory)
Gets the names of row attributes whose values are retrieved from the database after the row is inserted or updated in the post cycle.

If getHistory is set, also include the history attributes, whose values are updated by the entity object in the post cycle.

Parameters:
row - a row
getHistory - includes history attributes in the returned list
Returns:
a list of refreshable attributes.

isHistoryAttribute

public static boolean isHistoryAttribute(AttributeDefImpl attrDef)
Returns whether the given attribute is an entity-derived attribute and the mapped entity attribute represents a history column.
Parameters:
attrDef - an attribute definition
Returns:
true if the attribute is a History Column; false otherwise.

hasRetrievedOnCreateKeyAttrs

public static boolean hasRetrievedOnCreateKeyAttrs(ViewObject viewObject)
Returns whether the given viewObject has one or more key attributes needed to be refreshed on creation.
Parameters:
viewObject - the view object
Returns:
true if there is at least one key attribute is marked as "refresh on create"; false otherwise.

hasRetrievedOnCreateAttrs

public static boolean hasRetrievedOnCreateAttrs(ViewObject viewObject)
Returns whether the given viewObject has attributes needed to be refreshed on creation.
Parameters:
viewObject - the view object
Returns:
true if there is at least one attribute is marked as "refresh on create", or a History Column; false otherwise.

hasRetrievedOnUpdateKeyAttrs

public static boolean hasRetrievedOnUpdateKeyAttrs(ViewObject viewObject)
Returns whether the given viewObject has one or more key attributes needed to be refreshed on updating.
Parameters:
viewObject - the view object
Returns:
true if there is at least one key attribute is marked as "refresh on update"; false otherwise.

hasRetrievedOnUpdateAttrs

public static boolean hasRetrievedOnUpdateAttrs(ViewObject viewObject)
Returns whether the given viewObject has attributes needed to be refreshed on updating.
Parameters:
viewObject - the view object
Returns:
true if there is at least one attribute is marked as "refresh on update", or a History Column; false otherwise.

isCompositeOwner

public boolean isCompositeOwner(ViewObject viewObject,
                                java.lang.String attributeName)

isComposition

public boolean isComposition(ViewObject viewObject,
                             java.lang.String attributeName)
evaluate if a relationship referred by attribute name is a composition or not
Parameters:
viewObject -
attributeName -
Returns:

getCompositionName

public java.lang.String getCompositionName(ViewObject viewObject,
                                           java.lang.String attributeName)

getAlternateKeyNames

public java.lang.String[] getAlternateKeyNames(ViewObject viewObject)

getAlternateKeyValue

public Key getAlternateKeyValue(ViewObject viewObject,
                                java.lang.String altKeyName,
                                commonj.sdo.DataObject dataObject)
Retrieve AlternateKey Values.
Parameters:
viewObject -
altKeyName -
dataObject -
Returns:
Null if one of alternate key property is not set. Otherwise the key value.

copyDataObject

public void copyDataObject(commonj.sdo.DataObject source,
                           commonj.sdo.DataObject dest)
Copy or Clone dataobject from source to dest
Parameters:
source -
dest -

buildKeyValues

public Key buildKeyValues(commonj.sdo.DataObject dataObject,
                          ViewObject viewObject)
Retrieve Key value.
Parameters:
dataObject -
viewObject -
Returns:
null if none of the key properties is set. Otherwise, the value of the Key will be returned.

populateKeyProperties

public void populateKeyProperties(commonj.sdo.DataObject dataObject,
                                  ViewObject viewObject,
                                  Row viewRow)

setChildProperty

public void setChildProperty(commonj.sdo.DataObject parentDataObject,
                             commonj.sdo.DataObject childDataObject,
                             commonj.sdo.Property property)

setDataTypeProperties

public void setDataTypeProperties(commonj.sdo.DataObject source,
                                  commonj.sdo.DataObject dest)

isSDOGeneric

public boolean isSDOGeneric(ViewObjectImpl viewobject)

getDiscriAttributeList

public AttributeList getDiscriAttributeList(ViewObjectImpl viewobject,
                                            commonj.sdo.DataObject source)

getInitAttributeList

public AttributeList getInitAttributeList(ViewObjectImpl viewobject,
                                          commonj.sdo.DataObject source)

getAttributeList

public AttributeList getAttributeList(ViewObjectImpl viewobject,
                                      commonj.sdo.DataObject source)

getMimeType

public java.lang.String getMimeType(commonj.sdo.DataObject source,
                                    commonj.sdo.Property property,
                                    java.lang.Object value)

getSelectedAttributes

public java.lang.String[] getSelectedAttributes(commonj.sdo.Type sdotype,
                                                FindCriteria findCriteria,
                                                ViewObjectImpl viewObject)
Return selected attribute list for viewobject whose query mode is "declarative". The returned list includes the findAttributes specified in FindCriteria and also includes all attributes that are part of any ViewObject's alternate keys, or Entity Object's alternate keys. (With all alternate key attributes are selected could eliminate FAULLT-IN query to improve performance.
Parameters:
sdotype - The type of the SDO dataobject mapped to the viewObject
findCriteria - FindCriteria defined as part of find() operation.
viewObject - The instance of ViewObject
Returns:
list of attribute names.

resetSelectedAttributes

public void resetSelectedAttributes(ViewObject viewobject,
                                    commonj.sdo.Type sdotype,
                                    FindCriteria findCriteria)

getReturnObject

public static commonj.sdo.DataObject getReturnObject(commonj.sdo.DataObject source,
                                                     java.lang.String returnMode)

getRowByKey

public Row getRowByKey(Key key,
                       java.lang.String keyName,
                       ViewObject viewObject,
                       RowSet parentRowSet)

getRowByKeyOrAltKey

public Row getRowByKeyOrAltKey(ViewObject viewObject,
                               RowSet parentRowSet,
                               commonj.sdo.DataObject source)

getRow

public Row getRow(Key key,
                  java.lang.String keyName,
                  ViewObject viewObject)
helper method to get row
Parameters:
key -
viewObject -
Returns:

getRow

public Row getRow(Key key,
                  java.lang.String keyName,
                  RowSet rowSet)
Helper method to get row from rowset
Parameters:
key -
rowSet -
Returns:

convertFindCriteria

public ViewCriteria convertFindCriteria(FindCriteria findCriteria,
                                        ViewObject viewObject,
                                        java.lang.String vcName)

convertViewCriteria

public void convertViewCriteria(ViewCriteria viewCriteria,
                                ViewCriteria vc)

applyFindCriteria

public java.lang.String applyFindCriteria(FindCriteria findCriteria,
                                          ViewObject viewObject,
                                          java.lang.String vcName)

getParentAttributeList

public AttributeList getParentAttributeList(ViewObject viewObject,
                                            ViewRowImpl row,
                                            java.lang.String attributeName)

constructServiceException

public ServiceException constructServiceException(java.lang.String errorCode,
                                                  java.lang.Object[] params,
                                                  commonj.sdo.DataObject source)

findRows

public Row[] findRows(FindCriteria findCriteria,
                      ViewObject viewObject)

getFindCriteriaFetchSize

public int getFindCriteriaFetchSize(FindCriteria findCriteria)

unsetAppliedCriteria

public void unsetAppliedCriteria(ViewObject viewObject,
                                 java.lang.String vcName)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.