|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.webservices.JAXRPCSvcModel
oracle.jdeveloper.webservices.JAXRPCPlsqlModel
This class represents the data model for a PL/SQL package exposed as a web service.
Field Summary | |
static java.lang.String |
DB_CONNECTION
Property identifier. |
static java.lang.String |
DB_PACKAGE
Property identifier. |
static java.lang.String |
JAVA_PACKAGE
Property identifier. |
static java.lang.String |
UNITS_PUBLISHED
Property identifier. |
Fields inherited from class oracle.jdeveloper.webservices.JAXRPCSvcModel |
ALL_WRITEABLE, ENDPOINT, m_backup, m_modelRenameRequired, m_targetProject, PLATFORM_ALL_SERVERS, PLATFORM_APACHE_2X, PLATFORM_JAX_RPC, PLATFORM_ORACLE_IAS_20, PLATFORM_ORACLE_J2EE, TARGET_NAMESPACE, TYPE_JAVA, TYPE_JMS, TYPE_PLSQL, TYPE_UNKNOWN, URI, WEB_XML_URL, WSDL_URL |
Constructor Summary | |
JAXRPCPlsqlModel()
Default constructor. |
|
JAXRPCPlsqlModel(boolean migratedService)
Create a new web service model, allowing the creator to specify that it is being created to hold data being migrated from an older version of JDeveloper. |
|
JAXRPCPlsqlModel(java.net.URI uri)
Create a new web service with the supplied URI. |
Method Summary | |
void |
addProgramUnit(ProgramUnit add)
Add the program unit supplied to the list of program units to be published. |
void |
beginEdit()
Make a copy of this model and store it internally, ready for updates that can be applied or undone. |
java.net.URI |
deriveTargetNamespace()
Derive a model-specific default target namespace URI for the service. |
java.net.URL |
deriveWSDLFileLocation()
Derive a location for a WSDL file for this service. |
java.lang.String[] |
getAuxiliaryClasses()
|
java.sql.Connection |
getConnection(java.lang.String name)
Retrieve the connection for the named database connection. |
java.lang.String |
getDBConnection()
|
java.lang.String |
getDBPackage()
|
java.lang.String |
getJavaPackage()
|
java.net.URL |
getModelLocation()
Determine what the location of the persisted model will be after generation. |
URLPath |
getTargetDirectories()
Work out all of the directories that will be touched by the JAX-RPC assembler in creating the service. |
int |
getType()
|
java.util.List |
getUnitsPublished()
|
java.lang.String |
getWrapperClassName()
|
protected boolean |
invokeWizardInternal(oracle.bali.ewt.wizard.BaseWizard baseWizard,
boolean showProgressBar,
boolean openFiles,
java.awt.Component dialogParent)
Invoke a wizard to edit this data model. |
boolean |
isPackageValid(java.lang.String connectionName,
java.lang.String packageName)
Check whether a package with the given name exists on the given connection, and that it is valid. |
void |
removeProgramUnit(ProgramUnit remove)
Remove the program unit supplied from the list of program units to be published. |
void |
setDBConnection(java.lang.String dbConnection)
|
void |
setDBPackage(java.lang.String dbPackage)
|
void |
setJavaPackage(java.lang.String javaPackage)
|
void |
setUnitsPublished(java.util.List unitsPublished)
|
void |
undoEdit()
Restore the state of the model to what it was when beginEdit was called. |
void |
validate(java.lang.String[] properties)
Validate all of the properties whose identifiers have been supplied in the String array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DB_CONNECTION
public static final java.lang.String DB_PACKAGE
public static final java.lang.String JAVA_PACKAGE
public static final java.lang.String UNITS_PUBLISHED
Constructor Detail |
public JAXRPCPlsqlModel()
public JAXRPCPlsqlModel(java.net.URI uri)
uri
- URI to give to the new service.public JAXRPCPlsqlModel(boolean migratedService)
migratedService
- Set this to true to indicate that the model will
contain data being migrated from an older version of JDeveloper.Method Detail |
public void setDBConnection(java.lang.String dbConnection)
dbConnection
- The name of the database connection on which the
package being published resides.public java.lang.String getDBConnection()
public void setDBPackage(java.lang.String dbPackage)
dbPackage
- The name of the database package to publish.public java.lang.String getDBPackage()
public void setJavaPackage(java.lang.String javaPackage)
javaPackage
- The name of the target Java package for classes
generated by JPublisher.public java.lang.String getJavaPackage()
public void setUnitsPublished(java.util.List unitsPublished)
unitsPublished
- Representations of the signatures of all program
units being published, held as instances of ProgramUnit.public java.util.List getUnitsPublished()
public int getType()
getType
in class JAXRPCSvcModel
public java.net.URL getModelLocation()
getModelLocation
in class JAXRPCSvcModel
public java.net.URL deriveWSDLFileLocation()
JAXRPCSvcModel
deriveWSDLFileLocation
in class JAXRPCSvcModel
public java.net.URI deriveTargetNamespace()
JAXRPCSvcModel
deriveTargetNamespace
in class JAXRPCSvcModel
public URLPath getTargetDirectories()
JAXRPCSvcModel
getTargetDirectories
in class JAXRPCSvcModel
public void beginEdit()
JAXRPCSvcModel
beginEdit
in class JAXRPCSvcModel
public void undoEdit()
JAXRPCSvcModel
undoEdit
in class JAXRPCSvcModel
protected boolean invokeWizardInternal(oracle.bali.ewt.wizard.BaseWizard baseWizard, boolean showProgressBar, boolean openFiles, java.awt.Component dialogParent)
JAXRPCSvcModel
invokeWizardInternal
in class JAXRPCSvcModel
baseWizard
- Wizard class that pages and panels should be added to.showProgressBar
- Boolean flag, set this to true if a progress bar
should be shown during generation.openFiles
- Boolean flag, set this to true if generated files should
be opened after generation.dialogParent
- Parent component for any progress or error dialogs
displayed during generation.
public void validate(java.lang.String[] properties) throws java.lang.Exception
JAXRPCSvcModel
validate
in class JAXRPCSvcModel
properties
- Array of string identifiers of all the properties that
should be validated. If the array is null or empty, all properties
will be validated.
java.lang.Exception
- containing a translated message that explains why
validation failed.public java.lang.String getWrapperClassName()
public java.lang.String[] getAuxiliaryClasses()
public void removeProgramUnit(ProgramUnit remove)
remove
- Signature of the program unit to be unpublished.public void addProgramUnit(ProgramUnit add)
add
- Signature of the new program unit to be published.public boolean isPackageValid(java.lang.String connectionName, java.lang.String packageName) throws CMException, java.io.IOException, java.sql.SQLException
connectionName
- Name of the connection that the package is on.packageName
- Name of the package.
CMException,
- IOException or SQLException if there are any
errors running the query that does the check.
CMException
java.io.IOException
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String name) throws CMException, java.io.IOException
name
- Name of the connection to retrieve the wrapper for.
java.io.IOException
- or CMException if the connection could not be
accessed.
CMException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.