com.ptc.windchill.uwgm.common.pdm
Class SandBoxUtilities

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.pdm.SandBoxUtilities

public class SandBoxUtilities
extends Object


Nested Class Summary
static interface SandBoxUtilities.ForeignersAndShared
           
 
Field Summary
private static Log log
           
 
Constructor Summary
SandBoxUtilities()
           
 
Method Summary
static WTCollection getPDMCheckoutCandidates(WTContainer targetContainer, WTCollection iterations)
          Returns PDMCheckout candidates
static WTValuedMap pdmCheckout(WTContainer targetContainer, Folder defaultFolder, WTCollection pdmCheckoutCandidates)
          Returns WTValuedMap [ pdmCheckoutCandidate, pdmCheckout]
static WTCollection selectForeigners(WTContainer targetContainer, WTCollection iterations)
          from WTCollection of iterations picks out iterations that are not PDM Checkouted to targetContainer
static WTCollection selectShared(WTContainer targetContainer, WTCollection iterations)
          from WTCollection of iterations picks out iterations shared to targetContainer
static SandBoxUtilities.ForeignersAndShared sortForeignersAndShared(WTContainer targetContainer, WTCollection iterations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log
Constructor Detail

SandBoxUtilities

public SandBoxUtilities()
Method Detail

sortForeignersAndShared

public static SandBoxUtilities.ForeignersAndShared sortForeignersAndShared(WTContainer targetContainer,
                                                                           WTCollection iterations)
                                                                    throws WTException
Throws:
WTException

selectShared

public static WTCollection selectShared(WTContainer targetContainer,
                                        WTCollection iterations)
                                 throws WTException
from WTCollection of iterations picks out iterations shared to targetContainer

Parameters:
targetContainer - WTContainer
iterations - WTCollection
Returns:
WTCollection
Throws:
WTException

selectForeigners

public static WTCollection selectForeigners(WTContainer targetContainer,
                                            WTCollection iterations)
                                     throws WTException
from WTCollection of iterations picks out iterations that are not PDM Checkouted to targetContainer

Parameters:
targetContainer - WTContainer
iterations - WTCollection
Returns:
WTCollection
Throws:
WTException

getPDMCheckoutCandidates

public static WTCollection getPDMCheckoutCandidates(WTContainer targetContainer,
                                                    WTCollection iterations)
                                             throws WTException
Returns PDMCheckout candidates

Parameters:
targetContainer - WTContainer
iterations - WTCollection
Returns:
WTCollection
Throws:
WTException

pdmCheckout

public static WTValuedMap pdmCheckout(WTContainer targetContainer,
                                      Folder defaultFolder,
                                      WTCollection pdmCheckoutCandidates)
                               throws WTException
Returns WTValuedMap [ pdmCheckoutCandidate, pdmCheckout]

Parameters:
targetContainer - WTContainer
defaultFolder - Folder
pdmCheckoutCandidates - WTCollection
Returns:
WTValuedMap
Throws:
WTException