public class VCSCheckOutNodeCmd extends Command
Default implementation for node check out command.
| Constructor and Description | 
|---|
VCSCheckOutNodeCmd()  | 
VCSCheckOutNodeCmd(int type)  | 
VCSCheckOutNodeCmd(int type, java.lang.String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
enableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setContext, setData, setTaskInfopublic VCSCheckOutNodeCmd()
public VCSCheckOutNodeCmd(int type)
public VCSCheckOutNodeCmd(int type,
                  java.lang.String name)
public int doit()
         throws java.lang.Exception
Command
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.protected 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