Class AddToWorkspaceHelper
java.lang.Object
com.ptc.windchill.uwgm.cadx.checkout.AddToWorkspaceHelper
This is server-side only API
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptionstatic EPMWorkspacepopulateWorkspace(EPMWorkspace workspace, WTCollection baselineables, int dependencyFlags) Adds the Baselineable item iterations to the Workspace as per workspace config spec.
-
Method Details
-
populateWorkspace
public static EPMWorkspace populateWorkspace(EPMWorkspace workspace, WTCollection baselineables, int dependencyFlags) throws WTException Adds the Baselineable item iterations to the Workspace as per workspace config spec. This API's behavior will match with Simple Add to workspace UI's behavior (With limited number of dependents supported.)
This is server-side only API
Supported API: true- Parameters:
workspace- workspace to which to ad the objectsbaselineables- A collection of objects to be added (together with the related items determined by the populareRule) to the workspace.dependencyFlags- Population flags - refere to PopulateWorkspaceOptions for various supported options here- Returns:
- EPMWorkspace
- Throws:
WTException- Is the base class for Windchill exceptions which May embed exceptions and errors thrown by lower level methods.
-