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

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.pdm.SBStateContainerHelper
Direct Known Subclasses:
SBStateFolderHelper, SBStateWorkspaceHelper

public class SBStateContainerHelper
extends Object

Define SandBoxState for a collection of Workable objects from a container.


Field Summary
protected  WTContainer container
           
private static boolean IS_STANDALONE_SERVER
           
private  boolean isPJLContainer
           
protected static Log log
           
protected  WTSet newObjs
           
protected  WTSet sharedObjs
           
protected  WTCollection workables
           
 
Constructor Summary
SBStateContainerHelper(WTCollection workables, WTContainer container)
          Construct helper for a given set of PDM documents from container
 
Method Summary
 SandBoxState getSandBoxState(Workable obj)
          Returns the "sand box" state of a workable object
protected  WTSet getShared()
           
private  WTSet getSharedFrom()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workables

protected final WTCollection workables

container

protected final WTContainer container

isPJLContainer

private final boolean isPJLContainer

sharedObjs

protected WTSet sharedObjs

newObjs

protected WTSet newObjs

IS_STANDALONE_SERVER

private static final boolean IS_STANDALONE_SERVER

log

protected static Log log
Constructor Detail

SBStateContainerHelper

public SBStateContainerHelper(WTCollection workables,
                              WTContainer container)
Construct helper for a given set of PDM documents from container

Parameters:
workables - WTCollection
container - WTContainer
Throws:
IllegalArgumentException - if any of the parameters is invalid
Method Detail

getSandBoxState

public final SandBoxState getSandBoxState(Workable obj)
                                   throws WTException
Returns the "sand box" state of a workable object

Parameters:
obj - Workable
Returns:
SandBoxState
Throws:
WTException

getShared

protected WTSet getShared()
                   throws WTException
Throws:
WTException

getSharedFrom

private WTSet getSharedFrom()
                     throws WTException
Throws:
WTException