| Constructor and Description |
|---|
ConnectionWizard()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
createConnection(javax.naming.Context ctx,
java.lang.String connectionId,
javax.naming.Referenceable connection)
Deprecated.
Utility method to persist a new connection instance in the specified
connection context.
|
boolean |
invoke(Context ideContext)
Deprecated.
Invokes the wizard in Create mode.
|
abstract boolean |
invokeCreate(Context ideContext,
javax.naming.Context connectionContext)
Deprecated.
invokes the wizard in "create" mode
In this mode, the wizard should let the user create a new instance of a
connection.
|
abstract boolean |
invokeEdit(Context ideContext,
javax.naming.Context connectionContext,
java.lang.String connectionId)
Deprecated.
invokes the wizard in Edit mode.
|
boolean |
isAvailable(Context ideContext)
Deprecated.
Returns true if this wizard should be enabled in the specified IDE Context.
|
static boolean |
updateConnection(javax.naming.Context ctx,
java.lang.String connectionId,
javax.naming.Referenceable connection)
Deprecated.
|
void |
validateConnectionId(javax.naming.Context ctx,
java.lang.String connectionId)
Deprecated.
Utility method to validate connection IDs.
|
getIcon, getLegacyParams, getLongLabel, getMenuSpecification, getShortLabel, getToolTipText, getWizardId, setLegacyParams, setWizardId, toStringpublic static boolean createConnection(javax.naming.Context ctx,
java.lang.String connectionId,
javax.naming.Referenceable connection)
ctx - connectionId - connection - public static boolean updateConnection(javax.naming.Context ctx,
java.lang.String connectionId,
javax.naming.Referenceable connection)
public void validateConnectionId(javax.naming.Context ctx,
java.lang.String connectionId)
throws javax.naming.NameAlreadyBoundException,
javax.naming.InvalidNameException,
javax.naming.NamingException
ctx - connection context to be used for duplicate id checkconnectionId - connection id to be validatedjavax.naming.NameAlreadyBoundException - if the specified connection id is already
in usejavax.naming.InvalidNameException - if the name is invalid for some other reasonjavax.naming.NamingException - if some other error occurred while validating the
name.public abstract boolean invokeCreate(Context ideContext, javax.naming.Context connectionContext)
ideContext - the IDE context in which the wizard was invokedconnectionContext - the CA connection context the new connection should be
written to.public abstract boolean invokeEdit(Context ideContext, javax.naming.Context connectionContext, java.lang.String connectionId)
ideContext - the IDE context in which the wizard was invokedconnectionContext - the CA connection context the new connection should be
written to.connectionId - the ID of the connection to be editedpublic final boolean invoke(Context ideContext)
invokeCreate(oracle.ide.Context, javax.naming.Context).ideContext - the IDE context in which the wizard was invokedpublic final boolean isAvailable(Context ideContext)
isAvailable in class WizardideContext - the IDE Context in which the wizard could be invoked