wt.epm.workspaces
Class WorkspaceUndocheckoutManager

java.lang.Object
  extended bywt.epm.workspaces.WorkspaceUndocheckoutManager

public class WorkspaceUndocheckoutManager
extends Object

WorkspaceCheckoutManager is a class that handles all related Checkout functionalities.

Supported API: false

Extendable: false


Field Summary
private static String EPMRESOURCE
           
static boolean logTime
           
 
Constructor Summary
WorkspaceUndocheckoutManager()
           
 
Method Summary
static boolean isUndoCheckoutInProgress()
          Checks if undo checkout is in progress
static void setUndoCheckoutInProgress(boolean inProgress)
          Sets/Removes undo checkout in progress command handling
static WTSet undoCheckout(EPMWorkspace workspace, WTCollection toUndocheckout)
          Undoes check out the given list of working copies from the given workspace folder.
static WTSet undoCheckoutAndRestoreInWorkspace(EPMWorkspace workspace, WTCollection toUndocheckout)
          Undoes check out the given list of working copies from the given workspace folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPMRESOURCE

private static final String EPMRESOURCE
See Also:
Constant Field Values

logTime

public static boolean logTime
Constructor Detail

WorkspaceUndocheckoutManager

public WorkspaceUndocheckoutManager()
Method Detail

isUndoCheckoutInProgress

public static boolean isUndoCheckoutInProgress()
                                        throws WTException
Checks if undo checkout is in progress

Returns:
true if undo checkout is in progress
Throws:
WTException

setUndoCheckoutInProgress

public static void setUndoCheckoutInProgress(boolean inProgress)
Sets/Removes undo checkout in progress command handling

Parameters:
inProgress - boolean

undoCheckout

public static WTSet undoCheckout(EPMWorkspace workspace,
                                 WTCollection toUndocheckout)
                          throws WTException
Undoes check out the given list of working copies from the given workspace folder. Returns a WTCollection of originals.

Supported API: false

Parameters:
workspace -
Returns:
WTSet
Throws:
WTException

undoCheckoutAndRestoreInWorkspace

public static WTSet undoCheckoutAndRestoreInWorkspace(EPMWorkspace workspace,
                                                      WTCollection toUndocheckout)
                                               throws WTException
Undoes check out the given list of working copies from the given workspace folder. Returns a WTCollection of originals.

Supported API: false

Parameters:
workspace -
Returns:
WTSet
Throws:
WTException