Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.ide.cmd
Class EditorSaveAsCommand

java.lang.Object
  extended by oracle.ide.controller.Command
      extended by oracle.ide.cmd.SaveAsCommand
          extended by oracle.ide.cmd.EditorSaveAsCommand

public class EditorSaveAsCommand
extends SaveAsCommand

The RenameCommand class implements the Rename command.

See Also:
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

EditorSaveAsCommand

public EditorSaveAsCommand()
Constructor.

Method Detail

saveAsNewNode

protected int saveAsNewNode(Node doc)
Description copied from class: SaveAsCommand
The specified doc 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).

Overrides:
saveAsNewNode in class SaveAsCommand

convertToNewNode

protected int convertToNewNode(Node doc)
Description copied from class: SaveAsCommand
Rename with node conversion.

Overrides:
convertToNewNode in class SaveAsCommand

convertToDupNode

protected int convertToDupNode(Node doc)
Overrides:
convertToDupNode in class SaveAsCommand

saveAsDupNode

protected int saveAsDupNode(Node doc)
Description copied from class: SaveAsCommand
There is already a node in the cache with the new url.

Overrides:
saveAsDupNode in class SaveAsCommand

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.