| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.controller.Command
oracle.jdeveloper.vcs.spi.VCSCheckOutNodeCmd
public class VCSCheckOutNodeCmd
Default implementation for node check out command.
| Field Summary | 
|---|
| Fields inherited from class oracle.ide.controller.Command | 
|---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type | 
| Constructor Summary | |
|---|---|
VCSCheckOutNodeCmd()
 | 
|
VCSCheckOutNodeCmd(int type)
 | 
|
VCSCheckOutNodeCmd(int type,
                   java.lang.String name)
 | 
|
| Method Summary | |
|---|---|
protected  boolean | 
canCheckOutUI(java.net.URL url)
 | 
protected  boolean | 
doCheckOut(java.net.URL url)
Performs the check out operation on the given URL, updating the contextual Node state and version status.  | 
 int | 
doit()
Executes the actions associated with a specific command.  | 
protected  boolean | 
isOperable(java.net.URL url)
 | 
 int | 
undo()
Called by the CommandProcessor to undo a command.  | 
protected  boolean | 
undoCheckOut(java.net.URL url)
 | 
| Methods inherited from class oracle.ide.controller.Command | 
|---|
getAffectedNodes, getContext, getData, getId, getName, getType, isGlobal, setContext, setData | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public VCSCheckOutNodeCmd()
public VCSCheckOutNodeCmd(int type)
public VCSCheckOutNodeCmd(int type,
                          java.lang.String name)
| Method Detail | 
|---|
public int doit()
         throws java.lang.Exception
Command
doit in class Commandjava.lang.Exception
public int undo()
         throws java.lang.Exception
Commanddoit method was called
  When a command executes successfully, implementations should
  return OK, otherwise, return CANCEL or any other non-zero value.
undo in class Commandjava.lang.Exceptionprotected boolean isOperable(java.net.URL url)
protected boolean canCheckOutUI(java.net.URL url)
protected boolean doCheckOut(java.net.URL url)
                      throws java.lang.Exception
VCSExtension.setReadWrite(URL[],VCSProgress) API method.
url - the URL to check out.
true if the operation succeeded and the URL is no
     longer read-only.
java.lang.Exception
protected boolean undoCheckOut(java.net.URL url)
                        throws java.lang.Exception
java.lang.Exception
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||