|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.dataops.containermove.StandardContainerMoveService
Use the newStandardContainerMoveService
static factory method(s),
not the StandardContainerMoveService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Nested Class Summary | |
private static class |
StandardContainerMoveService.ClassTypeComparator
|
(package private) class |
StandardContainerMoveService.ContainerMoveServiceEventListener
|
private static class |
StandardContainerMoveService.LocationInfo
|
private static class |
StandardContainerMoveService.Timer
|
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
isWCPDMInstalled
|
private static String |
RESOURCE
|
private static Object |
SECRET_HANDSHAKE
|
private static boolean |
TIMING
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardContainerMoveService()
|
Method Summary | |
private void |
addConflictElement(ArrayList conflictElements,
MessageType messageType,
WTMessage message,
WTCollection objects)
|
private void |
checkAllVersions(WTKeyedMap allVersions,
ArrayList conflictElements)
|
private void |
checkContainers(WTCollection objects,
WTCollection destFolders,
ArrayList conflictElements)
|
private int |
checkDestFolderAccess(WTPrincipal currentUser,
Class typeClass,
AdminDomainRef domRef,
LifeCycleTemplateReference tempRef,
State lcState)
|
private void |
checkLifeCycleTemplates(WTCollection objects,
WTCollection destFolders,
ArrayList conflictElements)
|
private void |
dispatchEvent(String eventType,
WTKeyedMap objs)
|
private void |
getAllObjectsToMove(WTCollection objects,
WTCollection containers,
WTCollection folders,
WTKeyedMap allMasters,
WTKeyedMap allIterations,
WTKeyedMap allVersions,
ArrayList conflictElements,
Map isLocalMoveMap)
|
private static void |
getAllWfProcessObjects(WfContainer container,
WTCollection objs)
|
String |
getConceptualClassname()
Deprecated. |
private static QueryResult |
getConfigurations(WTProductMaster prodMaster)
|
private static QueryResult |
getContainerNodes(WfContainer container)
|
private static ObjectIdentifier |
getId(Object object)
|
private static QueryResult |
getInstances(WTProductMaster prodMaster)
|
private static LifeCycleTemplate |
getLifeCycleTemplateForType(Class objClass,
WTContainerRef contRef)
|
private WTContainerRef |
getOrgContainerRef(WTContainer cont,
HashMap orgCache)
|
private boolean |
isLocalMove(Mastered master,
Map isLocalMoveMap)
|
private boolean |
isLocalMove(WTContained contained,
Folder destFolder)
|
private boolean |
isMoveNeeded(Folder srcFolder,
Folder destFolder)
|
private WTSet |
moveAllObjects(WTKeyedMap allMasters,
WTKeyedMap allVersions,
WTKeyedMap allIterations)
|
WTCollection |
moveAllVersions(WTValuedMap objectDestFolderMap)
Move all versions of the input objects (WTPart, WTDocument, and EPMDocument) to a new folder. |
private void |
moveMasters(WTKeyedMap allMasters)
|
private void |
moveProductObjects(WTKeyedMap allMasters)
|
private void |
moveRepresentations(WTKeyedMap allIterations,
Map isLocalMoveMap)
|
private void |
moveTeamObjects(WTKeyedMap allVersions,
Map isLocalMoveMap)
|
private void |
moveWorkflowObjects(WTKeyedMap allVersions,
Map isLocalMoveMap)
|
static StandardContainerMoveService |
newStandardContainerMoveService()
Default factory for the class. |
protected void |
performStartupProcess()
Supported API: false |
private WTContained |
setContainer(WTContained contained,
WTContainer newContainer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean VERBOSE
private static final boolean TIMING
private static final boolean isWCPDMInstalled
private static final Object SECRET_HANDSHAKE
Constructor Detail |
public StandardContainerMoveService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardContainerMoveService newStandardContainerMoveService() throws WTException
WTException
public WTCollection moveAllVersions(WTValuedMap objectDestFolderMap) throws WTException
moveAllVersions
in interface ContainerMoveService
objectDestFolderMap
- Map where the key is the object to be moved and the value is the destination folder.
WTException
private void moveMasters(WTKeyedMap allMasters) throws WTException
WTException
private void moveWorkflowObjects(WTKeyedMap allVersions, Map isLocalMoveMap) throws WTException
WTException
private void moveProductObjects(WTKeyedMap allMasters) throws WTException
WTException
private void moveRepresentations(WTKeyedMap allIterations, Map isLocalMoveMap) throws WTException
WTException
private void moveTeamObjects(WTKeyedMap allVersions, Map isLocalMoveMap) throws WTException
WTException
private void checkContainers(WTCollection objects, WTCollection destFolders, ArrayList conflictElements) throws WTException
WTException
private void checkAllVersions(WTKeyedMap allVersions, ArrayList conflictElements) throws WTException
WTException
private WTContainerRef getOrgContainerRef(WTContainer cont, HashMap orgCache) throws WTException
WTException
private void checkLifeCycleTemplates(WTCollection objects, WTCollection destFolders, ArrayList conflictElements) throws WTException
WTException
private void getAllObjectsToMove(WTCollection objects, WTCollection containers, WTCollection folders, WTKeyedMap allMasters, WTKeyedMap allIterations, WTKeyedMap allVersions, ArrayList conflictElements, Map isLocalMoveMap) throws WTException
WTException
private void dispatchEvent(String eventType, WTKeyedMap objs) throws WTException
WTException
private static QueryResult getConfigurations(WTProductMaster prodMaster) throws WTException
WTException
private static QueryResult getInstances(WTProductMaster prodMaster) throws WTException
WTException
private WTSet moveAllObjects(WTKeyedMap allMasters, WTKeyedMap allVersions, WTKeyedMap allIterations) throws WTException
WTException
private static void getAllWfProcessObjects(WfContainer container, WTCollection objs) throws WTException
WTException
private static QueryResult getContainerNodes(WfContainer container) throws WTException
WTException
private static ObjectIdentifier getId(Object object)
private WTContained setContainer(WTContained contained, WTContainer newContainer) throws WTException
WTException
private void addConflictElement(ArrayList conflictElements, MessageType messageType, WTMessage message, WTCollection objects) throws WTException
WTException
private boolean isLocalMove(WTContained contained, Folder destFolder)
private boolean isLocalMove(Mastered master, Map isLocalMoveMap)
private boolean isMoveNeeded(Folder srcFolder, Folder destFolder)
private int checkDestFolderAccess(WTPrincipal currentUser, Class typeClass, AdminDomainRef domRef, LifeCycleTemplateReference tempRef, State lcState) throws WTException
WTException
private static LifeCycleTemplate getLifeCycleTemplateForType(Class objClass, WTContainerRef contRef) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |