oracle.apps.fnd.applseed.rt.loader.core
Class SDDataHandler
java.lang.Object
oracle.apps.fnd.applseed.rt.loader.core.SDDataHandler
- Direct Known Subclasses:
- SDBC4JDataHandler, SDDataHandlerTest.TestSDDataHandler, SDJDBCDataHandler
public abstract class SDDataHandler
- extends java.lang.Object
- Since:
- Drop 4
- Version:
- $Header: atgpf/applseed/src/java/oracle/apps/fnd/applseed/rt/loader/core/SDDataHandler.java /main/40 2010/11/10 11:58:19 sjanarth Exp $
- Author:
- sjanarth
Method Summary |
protected boolean |
checkCFV(CheckFileVersion cfv,
SDDataEntity de)
|
void |
commitTrans()
|
boolean |
foundImmutableData()
|
boolean |
foundMutableData()
|
SDLoaderViewNode |
getDriverNode()
|
protected oracle.jbo.server.DBTransaction |
getTransaction()
|
java.util.List<java.lang.String> |
getWarnings()
|
protected void |
handleDMLConstraintException(oracle.jbo.DMLConstraintException dmlce)
|
protected void |
handleDMLConstraintException(SDDataEntity de,
oracle.jbo.DMLConstraintException dmlce)
|
protected void |
handleGenericException(SDDataEntity de,
java.lang.Throwable t)
|
protected void |
handleGenericException(java.lang.Throwable t)
|
protected void |
handleJboException(oracle.jbo.JboException jboe)
|
protected void |
handleJboException(SDDataEntity de,
oracle.jbo.JboException jboe)
|
void |
initialize(oracle.jbo.ApplicationModule am,
SDLoaderParams lps,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> props2,
SDRowCounter rc)
|
void |
initialize(oracle.jbo.ApplicationModule am,
SDLoaderParams lps,
java.lang.String driverName,
SDRowCounter rc)
Deprecated. |
boolean |
isTopEntity(java.lang.String entityName)
|
protected void |
loadEntityGroup(SDDataEntity de,
CheckFileVersion cfv)
|
void |
loadEntityMain(SDDataEntity topEntity,
CheckFileVersion cfv,
boolean bCommit)
|
protected abstract void |
loadEntitySingle(SDDataEntity de)
|
protected void |
loadEntityTopLevel(SDDataEntity topEntity,
CheckFileVersion cfv)
|
abstract void |
performCleanup()
|
void |
resetAllState()
|
void |
rollbackTrans()
|
void |
setEnterpriseContext(java.lang.String eid)
|
protected void |
showCommitProgress(int cs)
|
protected void |
showFailedRow(SDDataEntity de)
|
protected void |
showProgress(SDDataEntity de)
|
protected void |
showProgress2()
|
protected void |
showWarning(java.lang.String msg,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static final java.util.logging.Logger LOGGER
theParams
protected SDLoaderParams theParams
driverNode
protected SDLoaderViewNode driverNode
fileProps
protected java.util.Map<java.lang.String,java.lang.String> fileProps
warnings
protected java.util.List<java.lang.String> warnings
theMTSHandler
protected SDMTSHandler theMTSHandler
theRowCounter
protected SDRowCounter theRowCounter
SDDataHandler
public SDDataHandler()
performCleanup
public abstract void performCleanup()
throws SDLoaderCleanupException
- Throws:
SDLoaderCleanupException
loadEntitySingle
protected abstract void loadEntitySingle(SDDataEntity de)
throws SDLoaderException
- Throws:
SDLoaderException
loadEntityMain
public void loadEntityMain(SDDataEntity topEntity,
CheckFileVersion cfv,
boolean bCommit)
throws SDLoaderException
- Throws:
SDLoaderException
loadEntityTopLevel
protected void loadEntityTopLevel(SDDataEntity topEntity,
CheckFileVersion cfv)
throws SDLoaderException
- Throws:
SDLoaderException
loadEntityGroup
protected void loadEntityGroup(SDDataEntity de,
CheckFileVersion cfv)
throws SDLoaderException
- Throws:
SDLoaderException
initialize
@Deprecated
public void initialize(oracle.jbo.ApplicationModule am,
SDLoaderParams lps,
java.lang.String driverName,
SDRowCounter rc)
throws SDDriverInitException,
SDMultiTenancyInitException
- Deprecated.
- Throws:
SDDriverInitException
SDMultiTenancyInitException
initialize
public void initialize(oracle.jbo.ApplicationModule am,
SDLoaderParams lps,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> props2,
SDRowCounter rc)
throws SDDriverInitException,
SDMultiTenancyInitException
- Throws:
SDDriverInitException
SDMultiTenancyInitException
commitTrans
public void commitTrans()
throws SDLoaderException
- Throws:
SDLoaderException
rollbackTrans
public void rollbackTrans()
throws SDLoaderException
- Throws:
SDLoaderException
handleDMLConstraintException
protected void handleDMLConstraintException(SDDataEntity de,
oracle.jbo.DMLConstraintException dmlce)
throws SDLoaderException
- Throws:
SDLoaderException
handleDMLConstraintException
protected void handleDMLConstraintException(oracle.jbo.DMLConstraintException dmlce)
throws SDLoaderException
- Throws:
SDLoaderException
handleJboException
protected void handleJboException(SDDataEntity de,
oracle.jbo.JboException jboe)
throws SDLoaderException
- Throws:
SDLoaderException
handleJboException
protected void handleJboException(oracle.jbo.JboException jboe)
throws SDLoaderException
- Throws:
SDLoaderException
handleGenericException
protected void handleGenericException(SDDataEntity de,
java.lang.Throwable t)
throws SDLoaderException
- Throws:
SDLoaderException
handleGenericException
protected void handleGenericException(java.lang.Throwable t)
throws SDLoaderException
- Throws:
SDLoaderException
showFailedRow
protected void showFailedRow(SDDataEntity de)
showProgress
protected void showProgress(SDDataEntity de)
showProgress2
protected void showProgress2()
showCommitProgress
protected void showCommitProgress(int cs)
showWarning
protected void showWarning(java.lang.String msg,
java.lang.Object[] args)
checkCFV
protected boolean checkCFV(CheckFileVersion cfv,
SDDataEntity de)
throws SDLoaderException
- Throws:
SDLoaderException
getTransaction
protected oracle.jbo.server.DBTransaction getTransaction()
isTopEntity
public boolean isTopEntity(java.lang.String entityName)
getDriverNode
public SDLoaderViewNode getDriverNode()
getWarnings
public java.util.List<java.lang.String> getWarnings()
resetAllState
public void resetAllState()
throws SDLoaderException
- Throws:
SDLoaderException
setEnterpriseContext
public void setEnterpriseContext(java.lang.String eid)
foundMutableData
public boolean foundMutableData()
foundImmutableData
public boolean foundImmutableData()
Copyright © 2011 Oracle. All Rights Reserved.