|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applseed.rt.loader.core.SDDataHandler oracle.apps.fnd.applseed.rt.loader.handler.data.SDBC4JDataHandler
public class SDBC4JDataHandler
Field Summary | |
---|---|
protected boolean |
exclusiveModeParentMissing
|
Fields inherited from class oracle.apps.fnd.applseed.rt.loader.core.SDDataHandler |
---|
driverNode, fileProps, LOGGER, theMTSHandler, theParams, theRowCounter, warnings |
Constructor Summary | |
---|---|
SDBC4JDataHandler()
|
Method Summary | |
---|---|
protected void |
checkDuplicates(oracle.jbo.Row[] rows,
java.util.List<java.lang.Object> keyObjects)
|
protected java.lang.String |
encodeValue(java.lang.String val)
Encode the passed value using hex encoder. |
protected long |
getCountOfChildEntities(SDDataEntity de)
Counts the total number of entities under the given entity. |
protected java.lang.String |
getFileHashValue(SDDataEntity de)
Get the file hash value from the data entity. |
protected java.lang.String |
getLastUpdateUserAttrName(oracle.jbo.Row row)
|
protected oracle.jbo.NameValuePairs |
getParentKeyAttributes(SDDataEntity de)
|
protected java.lang.String |
getRowHashValue(SDViewNode node,
oracle.jbo.Row row)
Get the row hash value depending on the calculating type, db or mid-tier. |
protected oracle.jbo.Row[] |
getRowsByPrimaryKey(SDDataEntity de)
|
protected oracle.jbo.Row[] |
getRowsByUniqueKey(SDDataEntity de)
|
protected oracle.jbo.ViewObject |
getViewObject(SDDataEntity de)
|
protected void |
handleRegularInsert(SDDataEntity de,
oracle.jbo.server.ViewObjectImpl vo)
|
protected void |
handleRegularUpdate(SDDataEntity de,
oracle.jbo.server.ViewObjectImpl vo,
oracle.jbo.Row[] rows)
|
protected boolean |
isAncestorOfExclusiveNode(SDLoaderViewNode node)
Checks if the given node is a parent/ancestor of the exclusive view. |
protected boolean |
isChangeIndicatorSame(SDDataEntity de,
oracle.jbo.Row row)
Check if the change indicator attr value the same between data entity and row. |
protected boolean |
isCustomizedRow(SDDataEntity de,
oracle.jbo.Row row)
Check if the row is customized, that is, last update user not equal 0. |
protected boolean |
isCustomizedRow(java.lang.String lastUpdatedUserAttrName,
oracle.jbo.Row row)
Check if the row is customized, that is, last update user not equal 0. |
protected boolean |
isMatchingRowByAttrs(SDDataEntity de,
oracle.jbo.Row row)
Check if the database and file records match by comparing each attribute value. |
protected boolean |
isNLSNonTranslatableNode(SDLoaderViewNode node)
Method checks for whether the node is translatable or not in NLS mode. |
protected void |
loadEntity(SDDataEntity de)
|
protected void |
loadEntitySingle(SDDataEntity de)
|
protected void |
logAllAttributes(SDDataEntity de,
java.lang.String msg)
|
void |
performCleanup()
|
protected oracle.jbo.Row |
performRegularInsert(SDDataEntity de,
oracle.jbo.server.ViewObjectImpl vo)
|
protected void |
performRegularUpdate(SDDataEntity de,
oracle.jbo.server.ViewObjectImpl vo,
oracle.jbo.Row r)
|
protected long |
removeChildRows(SDViewNode viewNode,
int indent)
|
protected void |
removeViewCriteria(SDDataEntity de)
|
protected void |
resolveAttributes(SDDataEntity de)
|
protected void |
selectAttributesIfSIMode(oracle.jbo.server.ViewObjectImpl vo)
|
protected void |
setAttributes(SDDataEntity de,
oracle.jbo.Row r)
|
Methods inherited from class oracle.apps.fnd.applseed.rt.loader.core.SDDataHandler |
---|
checkCFV, commitTrans, foundImmutableData, foundMutableData, getDriverNode, getTransaction, getWarnings, handleDMLConstraintException, handleDMLConstraintException, handleGenericException, handleGenericException, handleJboException, handleJboException, initialize, initialize, isTopEntity, loadEntityGroup, loadEntityMain, loadEntityTopLevel, resetAllState, rollbackTrans, setEnterpriseContext, showCommitProgress, showFailedRow, showProgress, showProgress2, showWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean exclusiveModeParentMissing
Constructor Detail |
---|
public SDBC4JDataHandler()
Method Detail |
---|
protected void loadEntitySingle(SDDataEntity de) throws SDLoaderException
loadEntitySingle
in class SDDataHandler
SDLoaderException
protected oracle.jbo.ViewObject getViewObject(SDDataEntity de)
protected void loadEntity(SDDataEntity de) throws SDLoaderException, SDMetaDataException, java.io.IOException, java.sql.SQLException
SDLoaderException
SDMetaDataException
java.io.IOException
java.sql.SQLException
protected void selectAttributesIfSIMode(oracle.jbo.server.ViewObjectImpl vo)
protected void resolveAttributes(SDDataEntity de) throws SDMetaDataException, SDLoaderException
SDMetaDataException
SDLoaderException
protected void logAllAttributes(SDDataEntity de, java.lang.String msg)
protected void removeViewCriteria(SDDataEntity de)
protected oracle.jbo.NameValuePairs getParentKeyAttributes(SDDataEntity de)
protected oracle.jbo.Row[] getRowsByUniqueKey(SDDataEntity de) throws SDLoaderException
SDLoaderException
protected oracle.jbo.Row[] getRowsByPrimaryKey(SDDataEntity de) throws SDLoaderException
SDLoaderException
protected void checkDuplicates(oracle.jbo.Row[] rows, java.util.List<java.lang.Object> keyObjects) throws SDLoaderException
SDLoaderException
protected void setAttributes(SDDataEntity de, oracle.jbo.Row r) throws java.io.IOException
java.io.IOException
protected void handleRegularUpdate(SDDataEntity de, oracle.jbo.server.ViewObjectImpl vo, oracle.jbo.Row[] rows) throws java.io.IOException
java.io.IOException
protected void handleRegularInsert(SDDataEntity de, oracle.jbo.server.ViewObjectImpl vo) throws java.io.IOException
java.io.IOException
protected void performRegularUpdate(SDDataEntity de, oracle.jbo.server.ViewObjectImpl vo, oracle.jbo.Row r) throws java.io.IOException
java.io.IOException
protected oracle.jbo.Row performRegularInsert(SDDataEntity de, oracle.jbo.server.ViewObjectImpl vo) throws SDMetaDataException, java.io.IOException
SDMetaDataException
java.io.IOException
public void performCleanup() throws SDLoaderCleanupException
performCleanup
in class SDDataHandler
SDLoaderCleanupException
protected long removeChildRows(SDViewNode viewNode, int indent)
protected java.lang.String getLastUpdateUserAttrName(oracle.jbo.Row row)
protected boolean isCustomizedRow(SDDataEntity de, oracle.jbo.Row row)
row
- Row to check
protected boolean isCustomizedRow(java.lang.String lastUpdatedUserAttrName, oracle.jbo.Row row)
lastUpdatedUserAttrName
- LastUpdatedUserNamerow
- Row to check
protected boolean isMatchingRowByAttrs(SDDataEntity de, oracle.jbo.Row row)
de
- SDDataEntity, contains attribute values parsed from upload filerow
- Row, contains atribute values read from database
protected boolean isAncestorOfExclusiveNode(SDLoaderViewNode node)
node
- to be checked
protected long getCountOfChildEntities(SDDataEntity de)
de
- - the entity whose children/grand-children are to be counted.
protected boolean isChangeIndicatorSame(SDDataEntity de, oracle.jbo.Row row)
de
- SDDataEntity attribute values parsed from filerow
- Row data retrieved from database
protected java.lang.String getRowHashValue(SDViewNode node, oracle.jbo.Row row)
node
- SDViewNoderow
- db fetched row
protected java.lang.String getFileHashValue(SDDataEntity de)
de
- SDDataEntity
protected java.lang.String encodeValue(java.lang.String val)
val
- String to encode
protected boolean isNLSNonTranslatableNode(SDLoaderViewNode node)
node
- to be checked
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |