oracle.jdeveloper.vcs.spi
Class VCSCheckOutDocumentCmd
java.lang.Object
oracle.ide.addin.AbstractCommand
oracle.jdeveloper.vcs.spi.VCSCheckOutDocumentCmd
- All Implemented Interfaces:
- Command
- public class VCSCheckOutDocumentCmd
- extends AbstractCommand
Default implementation for document check out command.
- Since:
- 9.0.5
Method Summary |
protected boolean |
doCheckOut(java.net.URL url)
|
int |
doit()
Executes the actions associated with a specific command. |
int |
undo()
Called by the CommandProcessor to undo a command. |
protected boolean |
undoCheckOut(java.net.URL url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VCSCheckOutDocumentCmd
public VCSCheckOutDocumentCmd()
VCSCheckOutDocumentCmd
public VCSCheckOutDocumentCmd(int type)
VCSCheckOutDocumentCmd
public VCSCheckOutDocumentCmd(int type,
java.lang.String name)
doit
public int doit()
throws java.lang.Exception
- Description copied from interface:
Command
- Executes the actions associated with a specific command.
When a command executes successfully, implementations should
return OK, otherwise, return CANCEL or any other non-zero value.
- Throws:
java.lang.Exception
undo
public int undo()
throws java.lang.Exception
- Description copied from class:
AbstractCommand
- Called by the CommandProcessor to undo a command. Does nothing in
this implemenation. Commands that can be undone should provide the
behavior here to undo whatever actions were carried out when the
doit
method was called
When a command executes successfully, implementations should
return OK, otherwise, return CANCEL or any other non-zero value.
- Specified by:
undo
in interface Command
- Overrides:
undo
in class AbstractCommand
- Throws:
java.lang.Exception
doCheckOut
protected boolean doCheckOut(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
undoCheckOut
protected boolean undoCheckOut(java.net.URL url)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 1997, 2004, Oracle. All rights reserved.