|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: true
Extendable: false
Method Summary | |
EPMWorkspace |
addToWorkspace(EPMWorkspace workspace,
WTCollection baselineables)
Add the specified baselineable objects and family table objectsto the Workspace. |
WTSet |
checkin(EPMWorkspace workspace,
WTKeyedMap toCheckin)
Checks in the given list of working copies or new objects. |
WTValuedMap |
checkout(EPMWorkspace workspace,
WTCollection objects)
Checks out the given list of objects to the given workspace folder. |
Folder |
getDefaultFolder(EPMWorkspace workspace,
WTContainerRef containerRef,
Class classObject)
Returns the default folder to where a new object of the given class in the given workspace and container will be checked in. |
WTSet |
getNewObjects(EPMWorkspace workspace)
Returns a set of new objects in the given workspace. |
WTSet |
getNewObjects(WTCollection objects)
Given a list of objects, returns a set of new objects. |
WTSet |
getObjectsInWorkspace(EPMWorkspace workspace,
Class classObject)
Get the set of objects included in the Checkpoint associated with the workspace. |
WTKeyedMap |
getRefreshCandidates(EPMWorkspace workspace,
WTCollection baselineables)
Return a map whose keys are the input originals and whose values are the refreshed candidates. |
WTKeyedMap |
getTargetFolder(WTCollection docsAndParts,
boolean returnFolderPath)
Given a collection of new EPMDocument and WTPart, returns the target folders. |
WTKeyedMap |
getTargetLocation(EPMWorkspace workspace,
WTCollection docsAndParts,
boolean returnFolderPath)
Given a list of EPMDocument or WTPart, returns the default target folder location for new objects, the folder to where the objects will be checked in for checked out objects, and the current folder location for any other objects. |
WTKeyedMap |
getUpdateCounter(EPMWorkspace workspace)
Returns the update counter associated with the trackables in the given workspace. |
WTKeyedMap |
getUpdateCounter(WTCollection trackables)
Returns the update counter associated with Trackables. |
WTSet |
getWorkspaces(WTPrincipal user,
WTContainerRef solution)
Returns all of the workspaces associated with a given user and container. |
Integer |
getWorkspaceUpdateCounter(EPMWorkspace workspace)
Returns the update counter associated with the given workspace. |
EPMWorkspace |
populateWorkspace(EPMWorkspace workspace,
WTCollection baselineables)
Adds the Baselineable item iterations to the Workspace. |
EPMWorkspace |
removeFromWorkspace(EPMWorkspace workspace,
WTCollection baselinables)
Remove the specified objects from the Workspace. |
void |
setTargetFolder(WTKeyedMap targetFolders)
Sets the location to the given folder for the given a collection of new objects. |
WTSet |
undoCheckout(EPMWorkspace workspace,
WTCollection workingCopies)
Undoes check out the given list of working copies from the given workspace folder. |
WTSet |
undoCheckoutAndRestoreInWorkspace(EPMWorkspace workspace,
WTCollection workingCopies)
Undoes check out the given list of working copies from the given workspace folder and restores originals in Workspace baseline. |
Method Detail |
public WTValuedMap checkout(EPMWorkspace workspace, WTCollection objects) throws WTException
workspace
- objects
- A collection of objects to be checked out.
WTException
public WTSet undoCheckout(EPMWorkspace workspace, WTCollection workingCopies) throws WTException
workspace
- workingCopies
- A collection of objects to be checked out.
WTException
public WTSet checkin(EPMWorkspace workspace, WTKeyedMap toCheckin) throws WTException
workspace
- toCheckin
- The keys are the working copies to be checked in and the values are CheckinOption objects. If the CheckinOption is null, the checkin comment is set to an empty string and the object is moved to the target folder.
WTException
public void setTargetFolder(WTKeyedMap targetFolders) throws WTException
targetFolders
- The keys of the map are new EPMDocument or WTPart that are newly created in a workspace folder, the values are the target folder references.
WTException
public WTKeyedMap getTargetFolder(WTCollection docsAndParts, boolean returnFolderPath) throws WTException
docsAndParts
- A collection of EPMDocument or WTPart newly created in a workspace.returnFolderPath
- Folder path is returned if true. Othewise, returns folder.
WTException
public WTKeyedMap getTargetLocation(EPMWorkspace workspace, WTCollection docsAndParts, boolean returnFolderPath) throws WTException
workspace
- docsAndParts
- A collection of EPMDocument or WTPartreturnFolderPath
- Folder path is returned if true. Othewise, returns folder.
WTException
public WTKeyedMap getUpdateCounter(WTCollection trackables) throws WTException
trackables
- A collection of Trackable objects
WTException
public EPMWorkspace addToWorkspace(EPMWorkspace workspace, WTCollection baselineables) throws WTException
workspace
- The workspace to be affected by the call.baselineables
-
WTException
public EPMWorkspace removeFromWorkspace(EPMWorkspace workspace, WTCollection baselinables) throws WTException
workspace
- The workspace to be affected by the call.baselinables
-
WTException
public WTKeyedMap getRefreshCandidates(EPMWorkspace workspace, WTCollection baselineables) throws WTException
workspace
- baselineables
-
WTException
public EPMWorkspace populateWorkspace(EPMWorkspace workspace, WTCollection baselineables) throws WTException
workspace
- The workspace to be affected by the call.baselineables
- A collection of objects to be added (together with the related items determined by the populareRule) to the workspace.
WTException
public WTSet getObjectsInWorkspace(EPMWorkspace workspace, Class classObject) throws WTException
workspace
- The workspace to be affected by the call.classObject
-
WTException
public WTSet getWorkspaces(WTPrincipal user, WTContainerRef solution) throws WTException
user
- solution
-
WTException
public WTSet getNewObjects(WTCollection objects) throws WTException
objects
- A collection of EPMDocument or WTPart
WTException
public Folder getDefaultFolder(EPMWorkspace workspace, WTContainerRef containerRef, Class classObject) throws WTException
workspace
- containerRef
- classObject
- EPMDocument.class or WTPart.class
WTException
public WTSet undoCheckoutAndRestoreInWorkspace(EPMWorkspace workspace, WTCollection workingCopies) throws WTException
workspace
- workingCopies
- A collection of objects to be checked out.
WTException
public WTKeyedMap getUpdateCounter(EPMWorkspace workspace) throws WTException
workspace
-
WTException
public Integer getWorkspaceUpdateCounter(EPMWorkspace workspace) throws WTException
workspace
-
WTException
public WTSet getNewObjects(EPMWorkspace workspace) throws WTException
workspace
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |