|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.offlinedb.handler.DeleteHandler
public class DeleteHandler
Handles the logic for deleting offline db schemas and inter-dependent schema objects. It can inspect dependencies between the objects in a project, and determine whether or not objects can be deleted. The user is presented with appropriate dialogs before the operation is performed.
Constructor Summary | |
---|---|
DeleteHandler()
|
Method Summary | |
---|---|
void |
handleDelete(Context c,
OfflineDBObjectProvider pro)
|
void |
handleDelete(SchemaObject[] objs,
OfflineDBObjectProvider pro)
Handles the delete of the given schema objects from their provider. |
void |
handleDelete(SchemaObject[] objs,
OfflineDBObjectProvider pro,
boolean confirm)
Handles the delete of the given schema objects from their provider. |
void |
handleDeleteProvider(Context c)
Deletes a schema, or number of schemas if more than one is selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteHandler()
Method Detail |
---|
public void handleDelete(Context c, OfflineDBObjectProvider pro) throws DBException
DBException
public void handleDelete(SchemaObject[] objs, OfflineDBObjectProvider pro) throws DBException
objs
- pro
-
DBException
- - If there is an error. Note that a
HandlerFailedException is thrown if the error has been dealt with (i.e.
an error displayed to the user) and nothing deleted.public void handleDelete(SchemaObject[] objs, OfflineDBObjectProvider pro, boolean confirm) throws DBException
objs
- pro
- confirm
- - set to true if the handler should show a confirmation
dialog for the objects to be deleted. Note that a confirmation dialog
will always be displayed if there are cascade delete issues.
DBException
- - If there is an error. Note that a
HandlerFailedException is thrown if the error has been dealt with (i.e.
an error displayed to the user) and nothing deleted.public void handleDeleteProvider(Context c) throws DBException
DBException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |