public class AdapterDCHelper
extends java.lang.Object
Constructor and Description |
---|
AdapterDCHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
createAdapterDataControlFromRuntimeDef(DCDataControlDef dcDef,
java.lang.String configFullName)
this method creates JUDTAdapterDataControl from runtime adapterDCDef
|
static java.lang.String |
getConnectionNameFromWSAdapterDC(org.w3c.dom.Element adapterDCelem) |
static boolean |
hasAdapterMethodDiff(AdapterDataControlDef targetObject,
AdapterDataControlDef originalObj)
this method returns true if there is any difference in the AdapterDataControlDef's methods
|
static boolean |
isDifferentAdapterDataControlsWithSameID(AdapterDataControlDef targetObject,
AdapterDataControlDef originalObj) |
static boolean |
isknownAdapterDefType(DCDataControlDef dcDef)
Checks if the AdapterDef belongs to SOAP or REST definition types based on WSDefinition or RestURLDCDefinition
|
static java.lang.String |
restoreDataControlInDCX(oracle.mds.sandbox.Sandbox sandbox,
java.lang.String connName) |
static void |
restoreDataControlUsageInCPX(oracle.mds.sandbox.Sandbox sandbox,
java.lang.String dcPath) |
public static boolean isknownAdapterDefType(DCDataControlDef dcDef)
dcDef
- DCDataControlDef adapterDataControlDefpublic static void createAdapterDataControlFromRuntimeDef(DCDataControlDef dcDef, java.lang.String configFullName)
dcDef
- DCDataControlDef adapterDataControlDefconfigFullName
- dcx full name to create the Configurationpublic static boolean hasAdapterMethodDiff(AdapterDataControlDef targetObject, AdapterDataControlDef originalObj)
targetObject
- AdapterDataControlDef adapterDataControlDeforiginalObj
- AdapterDataControlDef adapterDataControlDefpublic static boolean isDifferentAdapterDataControlsWithSameID(AdapterDataControlDef targetObject, AdapterDataControlDef originalObj)
public static java.lang.String restoreDataControlInDCX(oracle.mds.sandbox.Sandbox sandbox, java.lang.String connName) throws oracle.mds.core.MetadataNotFoundException, oracle.mds.exception.UnsupportedUpdateException, oracle.mds.persistence.MDSIOException
oracle.mds.core.MetadataNotFoundException
oracle.mds.exception.UnsupportedUpdateException
oracle.mds.persistence.MDSIOException
public static void restoreDataControlUsageInCPX(oracle.mds.sandbox.Sandbox sandbox, java.lang.String dcPath) throws oracle.mds.persistence.MDSIOException, oracle.mds.core.MetadataNotFoundException, oracle.mds.exception.UnsupportedUpdateException
oracle.mds.persistence.MDSIOException
oracle.mds.core.MetadataNotFoundException
oracle.mds.exception.UnsupportedUpdateException
public static java.lang.String getConnectionNameFromWSAdapterDC(org.w3c.dom.Element adapterDCelem)