Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

oracle.apps.fnd.applxdf.comp.schemaseparation
Class PublicSynonymCr

java.lang.Object
  extended by oracle.apps.fnd.applxdf.comp.schemaseparation.PublicSynonymCr

public class PublicSynonymCr
extends java.lang.Object


Field Summary
protected  XDFLogger logger
           
protected  Parameters param
           
 
Constructor Summary
PublicSynonymCr(Parameters theParam, XDFLogger theLogger)
          Constructor with arguments.
 
Method Summary
 void checkPublicSynonym(java.lang.String theObjectName)
          Check the synonym and do the comparison.
 boolean checkTargetDBObjectNotExists()
          Check whether the Object exists in the target db or not.
 void dropSynonym(java.lang.String oName)
          Drop the synonym.
 boolean getSynEqual(java.lang.String theSchemaName, java.lang.String baseObjName)
          Check to see whether the synonyms are the same.
protected  java.lang.String prepareObjectQuery()
          Prepare the query statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

param

protected Parameters param

logger

protected XDFLogger logger
Constructor Detail

PublicSynonymCr

public PublicSynonymCr(Parameters theParam,
                       XDFLogger theLogger)
Constructor with arguments.

Parameters:
theParam - Parameters instance
theLogger - XDFLogger instance
Method Detail

dropSynonym

public void dropSynonym(java.lang.String oName)
                 throws java.lang.Exception
Drop the synonym.

Throws:
java.lang.Exception - when dropping the synonym

getSynEqual

public boolean getSynEqual(java.lang.String theSchemaName,
                           java.lang.String baseObjName)
Check to see whether the synonyms are the same.

Parameters:
theSchemaName - schema name
baseObjName - base object name
Returns:
true if the synonyms are the same

checkTargetDBObjectNotExists

public boolean checkTargetDBObjectNotExists()
                                     throws java.lang.Exception
Check whether the Object exists in the target db or not.

Returns:
true if object exists in target db. Otherwise false.
Throws:
java.lang.Exception - when the statement or connection is closed

prepareObjectQuery

protected java.lang.String prepareObjectQuery()
Prepare the query statement.

Parameters:
arguments - arguments associated with the query statement
Returns:
query statement

checkPublicSynonym

public void checkPublicSynonym(java.lang.String theObjectName)
Check the synonym and do the comparison.

Parameters:
theObjectName - object name

Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

Copyright © 2012 Oracle. All Rights Reserved.