| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.controller.Command
oracle.ide.cmd.SaveAsCommand
oracle.ide.cmd.EditorSaveAsCommand
public class EditorSaveAsCommand
The RenameCommand class implements the Rename command.
oracle.ide.Command| Field Summary | 
|---|
| Fields inherited from class oracle.ide.cmd.SaveAsCommand | 
|---|
_context, _duplicate, _elementOwner, _newURL, _nodeClass, _noPlaceToAdd, _sourceContentSet, CANCELED, OK_NAME_CHANGED, OK_NAME_UNCHANGED | 
| Fields inherited from class oracle.ide.controller.Command | 
|---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type | 
| Constructor Summary | |
|---|---|
EditorSaveAsCommand()
Constructor.  | 
|
| Method Summary | |
|---|---|
protected  int | 
convertToDupNode(Node doc)
 | 
protected  int | 
convertToNewNode(Node doc)
Rename with node conversion.  | 
protected  int | 
saveAsDupNode(Node doc)
There is already a node in the cache with the new url.  | 
protected  int | 
saveAsNewNode(Node doc)
The specified doc is being saved as a different
 name in addition to the name it already has. | 
| Methods inherited from class oracle.ide.cmd.SaveAsCommand | 
|---|
approveNewURL, doit, doSaveAs, getOwningContentSet, handleNodeOwnership, isSameFile, saveFileDlgOK, saveNode, validateNewURL | 
| Methods inherited from class oracle.ide.controller.Command | 
|---|
getAffectedNodes, getContext, getData, getId, getName, getType, isGlobal, setContext, setData, undo | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EditorSaveAsCommand()
| Method Detail | 
|---|
protected int saveAsNewNode(Node doc)
SaveAsCommanddoc is being saved as a different
 name in addition to the name it already has.
 The doc class has not changed (that is an html Node
 has not been renamed as a jsp Node).
saveAsNewNode in class SaveAsCommandprotected int convertToNewNode(Node doc)
SaveAsCommand
convertToNewNode in class SaveAsCommandprotected int convertToDupNode(Node doc)
convertToDupNode in class SaveAsCommandprotected int saveAsDupNode(Node doc)
SaveAsCommand
saveAsDupNode in class SaveAsCommand
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||