|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.workspaces.EPMWorkspaceManagerFwd
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
EPMWorkspaceManagerFwd()
|
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. |
private static Manager |
getManager()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public EPMWorkspaceManagerFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public WTValuedMap checkout(EPMWorkspace workspace, WTCollection objects) throws WTException
checkout
in interface EPMWorkspaceManager
workspace
- objects
- A collection of objects to be checked out.
WTException
public WTSet undoCheckout(EPMWorkspace workspace, WTCollection workingCopies) throws WTException
undoCheckout
in interface EPMWorkspaceManager
workspace
- workingCopies
- A collection of objects to be checked out.
WTException
public WTSet checkin(EPMWorkspace workspace, WTKeyedMap toCheckin) throws WTException
checkin
in interface EPMWorkspaceManager
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
setTargetFolder
in interface EPMWorkspaceManager
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
getTargetFolder
in interface EPMWorkspaceManager
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
getTargetLocation
in interface EPMWorkspaceManager
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
getUpdateCounter
in interface EPMWorkspaceManager
trackables
- A collection of Trackable objects
WTException
public EPMWorkspace addToWorkspace(EPMWorkspace workspace, WTCollection baselineables) throws WTException
addToWorkspace
in interface EPMWorkspaceManager
workspace
- The workspace to be affected by the call.baselineables
-
WTException
public EPMWorkspace removeFromWorkspace(EPMWorkspace workspace, WTCollection baselinables) throws WTException
removeFromWorkspace
in interface EPMWorkspaceManager
workspace
- The workspace to be affected by the call.baselinables
-
WTException
public WTKeyedMap getRefreshCandidates(EPMWorkspace workspace, WTCollection baselineables) throws WTException
getRefreshCandidates
in interface EPMWorkspaceManager
workspace
- baselineables
-
WTException
public EPMWorkspace populateWorkspace(EPMWorkspace workspace, WTCollection baselineables) throws WTException
populateWorkspace
in interface EPMWorkspaceManager
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
getObjectsInWorkspace
in interface EPMWorkspaceManager
workspace
- The workspace to be affected by the call.classObject
-
WTException
public WTSet getWorkspaces(WTPrincipal user, WTContainerRef solution) throws WTException
getWorkspaces
in interface EPMWorkspaceManager
user
- solution
-
WTException
public WTSet getNewObjects(WTCollection objects) throws WTException
getNewObjects
in interface EPMWorkspaceManager
objects
- A collection of EPMDocument or WTPart
WTException
public Folder getDefaultFolder(EPMWorkspace workspace, WTContainerRef containerRef, Class classObject) throws WTException
getDefaultFolder
in interface EPMWorkspaceManager
workspace
- containerRef
- classObject
- EPMDocument.class or WTPart.class
WTException
public WTSet undoCheckoutAndRestoreInWorkspace(EPMWorkspace workspace, WTCollection workingCopies) throws WTException
undoCheckoutAndRestoreInWorkspace
in interface EPMWorkspaceManager
workspace
- workingCopies
- A collection of objects to be checked out.
WTException
public WTKeyedMap getUpdateCounter(EPMWorkspace workspace) throws WTException
getUpdateCounter
in interface EPMWorkspaceManager
workspace
-
WTException
public Integer getWorkspaceUpdateCounter(EPMWorkspace workspace) throws WTException
getWorkspaceUpdateCounter
in interface EPMWorkspaceManager
workspace
-
WTException
public WTSet getNewObjects(EPMWorkspace workspace) throws WTException
getNewObjects
in interface EPMWorkspaceManager
workspace
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |