|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.workspaces.InitialCheckinDataManager
InitialCheckinDataManager is a class that handles all database functions
for EPMInitialCheckinData class.
Supported API: false
Extendable: false
Field Summary | |
private static String |
EPMRESOURCE
|
Constructor Summary | |
(package private) |
InitialCheckinDataManager()
|
Method Summary | |
protected static void |
create(WTCollection newWorkspaceObjects)
Creates EPMInitialCheckinData for the given list of EPMDocument and WTPart. |
protected static void |
delete(WTCollection baselineables)
Deletes EPMInitialCheckinData whose new objects are the given baselineables. |
protected static WTSet |
extractNewObjects(WTCollection initialCheckinData)
Returns the new object role of the given EPMInitialCheckinData objects. |
protected static Folder |
getDefaultFolder(EPMWorkspace workspace,
WTContainerRef containerRef,
Class object)
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 List |
getFolder(WTCollection objects)
|
protected static Folder |
getFolderByRule(WTContainerRef containerRef,
Class object)
Given a contained object, gets its default folder.id via the rule service. |
private static List |
getFolderPath(WTCollection cabinetBasedObjects)
|
protected static WTSet |
getInitialCheckinData(EPMWorkspace workspace)
|
protected static WTSet |
getInitialCheckinData(WTCollection docsAndParts)
|
protected static WTKeyedMap |
getNewObjectsTargetLocation(WTKeyedMap targetFolders,
EPMWorkspace workspace,
WTCollection docsAndParts,
boolean returnFolderPath)
Given a collection of docs and parts, finds the target folder for all new objects. |
private static WTCollection |
getPredecessor(WTCollection iteratedObjects)
|
protected static WTKeyedMap |
getTargetFolder(WTCollection docsAndParts,
boolean returnFolderPath)
Given a collection of EPMDocument and WTPart, returns a map whose values are the given collection objects, and whose values are their target folders. |
private static List |
getTargetFolderOids(WTCollection initCheckinData)
|
protected static 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. |
private static WTCollection |
getWorkingCopies(WTCollection workables)
Given a WTCollection of workable objects, returns a list of working copies. |
private static Map |
indexByNewObject(WTCollection initialCheckinData)
Sorts the given EPMInitialCheckinData by the new object's key. |
private static WTKeyedMap |
putAll(WTKeyedMap retval,
Collection keys,
Collection values)
|
protected static void |
setTargetFolder(WTKeyedMap targetFolders)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String EPMRESOURCE
Constructor Detail |
InitialCheckinDataManager()
Method Detail |
protected static void create(WTCollection newWorkspaceObjects) throws WTException
WTException
protected static void setTargetFolder(WTKeyedMap targetFolders) throws WTException
WTException
protected static WTSet getInitialCheckinData(WTCollection docsAndParts) throws WTException
WTException
protected static WTSet getInitialCheckinData(EPMWorkspace workspace) throws WTException
WTException
protected static WTKeyedMap getTargetFolder(WTCollection docsAndParts, boolean returnFolderPath) throws WTException
docsAndParts
- A collection of objects.returnFolderPath
- returns the folder path if true; returns folder object otherwise.
WTException
protected static void delete(WTCollection baselineables) throws WTException
WTException
private static List getTargetFolderOids(WTCollection initCheckinData) throws WTException
WTException
private static WTKeyedMap putAll(WTKeyedMap retval, Collection keys, Collection values) throws WTException
WTException
protected static WTKeyedMap getNewObjectsTargetLocation(WTKeyedMap targetFolders, EPMWorkspace workspace, WTCollection docsAndParts, boolean returnFolderPath) throws WTException
WTException
protected static WTKeyedMap getTargetLocation(EPMWorkspace workspace, WTCollection docsAndParts, boolean returnFolderPath) throws WTException
WTException
private static WTCollection getWorkingCopies(WTCollection workables) throws WTException
WTException
private static List getFolderPath(WTCollection cabinetBasedObjects) throws WTException
WTException
private static WTCollection getPredecessor(WTCollection iteratedObjects) throws WTException
WTException
private static List getFolder(WTCollection objects) throws WTException
WTException
protected static Folder getFolderByRule(WTContainerRef containerRef, Class object) throws WTException
WTException
private static Map indexByNewObject(WTCollection initialCheckinData) throws WTException
initialCheckinData
- a collection of EPMInitialCheckinData
WTException
protected static Folder getDefaultFolder(EPMWorkspace workspace, WTContainerRef containerRef, Class object) throws WTException
workspace
- EPMWorkspacecontainerRef
- Container
WTException
protected static WTSet extractNewObjects(WTCollection initialCheckinData) throws WTException
initialCheckinData
- the list of EPMInitialCheckinData
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |