com.ptc.epm.commands.util
Class WorkspaceHelper
java.lang.Object
com.ptc.epm.commands.util.WorkspaceHelper
- public class WorkspaceHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceHelper
public WorkspaceHelper()
destroyWorkspace
public static void destroyWorkspace(String name,
String owner)
throws WTException
- Throws:
WTException
createWorkspace
public static EPMWorkspace createWorkspace(String name,
WTPrincipal principal,
Folder folder,
WTContainerRef containerRef)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
getBaselineItems
public static Vector getBaselineItems(Baseline baseline)
throws WTException
- Throws:
WTException
filterOutComponenets
public static Vector filterOutComponenets(Collection objects)
getObjectsToAdd
public static Vector getObjectsToAdd(Vector objectsToCheckout,
Baseline baseline)
throws WTException
- Throws:
WTException
findLatestBaseline
public static Baseline findLatestBaseline(List baselines)
findLatestEPMAsStoredConfig
public static EPMAsStoredConfig findLatestEPMAsStoredConfig(EPMDocument doc)
throws WTException
- Throws:
WTException
findLatestEPMCheckpoint
public static EPMCheckpoint findLatestEPMCheckpoint(EPMDocument doc)
throws WTException
- Throws:
WTException
getOwners
public static QueryResult getOwners(EPMAsStoredConfig asStoredConfig)
throws WTException
- Throws:
WTException
getMembers
public static QueryResult getMembers(EPMAsStoredConfig asStoredConfig)
throws WTException
- Throws:
WTException
getCheckedOutEPMDocs
public static HashMap getCheckedOutEPMDocs(Baseline baseline)
throws WTException
- Throws:
WTException
containsDoc
private static boolean containsDoc(Vector vectorOfEPMDocuments,
EPMDocument doc)