wt.epm.structure
Class StructureServiceUtility

java.lang.Object
  extended bywt.epm.structure.StructureServiceUtility

public class StructureServiceUtility
extends Object

The StructureServiceUtility is a class that handles utility functions for the EPMStandardStructureService class.

Supported API: false

Extendable: false


Field Summary
private static AuthoringAppDelegateFactory authAppDelegateFactory
           
private static String EPMRESOURCE
           
 
Constructor Summary
StructureServiceUtility()
           
 
Method Summary
private static void addMapEntries(WTKeyedMap[] results, WTKeyedMap[] maps)
           
static EPMDocument getBuildDoc(WTPart part)
           
static WTPart getBuildPart(EPMDocument doc)
           
static EPMDocument getBuiltByDoc(WTPart part)
           
protected static WTValuedMap getSandboxCopies(WTSet versionSet, WTContainerRef containerRef)
           
private static LocalizableMessageCollection getWorkspaceNames(WTSet workspaces)
           
protected static WTKeyedMap[] getWorkspacesAssociatedToBranches(WTSet versions, WTContainerRef containerRef)
           
protected static Map getWorkspacesAssociatedToIterations(WTCollection objects, WTContainerRef containerRef)
           
static void handleShare(DataSharingServiceEvent dsEvent)
           
static boolean isStale(Persistable object)
           
static void listEventMap(Map vMap)
           
protected static WTKeyedMap[] lookupBranch(WTCollection objects, WTContainerRef containerRef)
           
protected static WTKeyedMap[] lookupCheckpoint(WTCollection objects, WTContainerRef containerRef)
           
static Object navigateOldContainsForMigrator(WTCollection iterations, NavigateResultProcessor processor)
           
static void postMultiSBCheckin(Map vMap)
           
static void postMultiSBUndoCheckout(Set vSet)
           
static void preDeleteEPMContainedIn(EPMContainedIn link)
           
static void preMultiSBCheckin(WTSet ikeys)
           
static void preMultiSBUndoCheckout(Map vMap)
           
private static void removeObjectsFromCheckpoints(WTKeyedMap workspaceObjectsMap)
           
protected static void scanBuildRelations(HashSet docSet, HashMap newIDs, boolean isCheckin)
           
protected static void scanBuiltRelations(HashSet prtSet, HashMap newIDs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPMRESOURCE

private static final String EPMRESOURCE
See Also:
Constant Field Values

authAppDelegateFactory

private static AuthoringAppDelegateFactory authAppDelegateFactory
Constructor Detail

StructureServiceUtility

public StructureServiceUtility()
Method Detail

preMultiSBCheckin

public static void preMultiSBCheckin(WTSet ikeys)
                              throws WTException,
                                     WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

postMultiSBCheckin

public static void postMultiSBCheckin(Map vMap)
                               throws WTException,
                                      WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

preMultiSBUndoCheckout

public static void preMultiSBUndoCheckout(Map vMap)
                                   throws WTException,
                                          WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

postMultiSBUndoCheckout

public static void postMultiSBUndoCheckout(Set vSet)
                                    throws WTException,
                                           WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

handleShare

public static void handleShare(DataSharingServiceEvent dsEvent)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

addMapEntries

private static void addMapEntries(WTKeyedMap[] results,
                                  WTKeyedMap[] maps)

getWorkspaceNames

private static LocalizableMessageCollection getWorkspaceNames(WTSet workspaces)
                                                       throws WTException
Throws:
WTException

removeObjectsFromCheckpoints

private static void removeObjectsFromCheckpoints(WTKeyedMap workspaceObjectsMap)
                                          throws WTException
Throws:
WTException

isStale

public static boolean isStale(Persistable object)
                       throws WTException
Throws:
WTException

getBuiltByDoc

public static EPMDocument getBuiltByDoc(WTPart part)
                                 throws WTException
Throws:
WTException

getBuildPart

public static WTPart getBuildPart(EPMDocument doc)
                           throws WTException
Throws:
WTException

getBuildDoc

public static EPMDocument getBuildDoc(WTPart part)
                               throws WTException
Throws:
WTException

preDeleteEPMContainedIn

public static void preDeleteEPMContainedIn(EPMContainedIn link)
                                    throws WTException
Throws:
WTException

scanBuiltRelations

protected static void scanBuiltRelations(HashSet prtSet,
                                         HashMap newIDs)
                                  throws WTException
Throws:
WTException

scanBuildRelations

protected static void scanBuildRelations(HashSet docSet,
                                         HashMap newIDs,
                                         boolean isCheckin)
                                  throws WTException
Throws:
WTException

lookupCheckpoint

protected static WTKeyedMap[] lookupCheckpoint(WTCollection objects,
                                               WTContainerRef containerRef)
                                        throws WTException,
                                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getSandboxCopies

protected static WTValuedMap getSandboxCopies(WTSet versionSet,
                                              WTContainerRef containerRef)
                                       throws WTException,
                                              WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

lookupBranch

protected static WTKeyedMap[] lookupBranch(WTCollection objects,
                                           WTContainerRef containerRef)
                                    throws WTException,
                                           WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getWorkspacesAssociatedToBranches

protected static WTKeyedMap[] getWorkspacesAssociatedToBranches(WTSet versions,
                                                                WTContainerRef containerRef)
                                                         throws WTException,
                                                                WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getWorkspacesAssociatedToIterations

protected static Map getWorkspacesAssociatedToIterations(WTCollection objects,
                                                         WTContainerRef containerRef)
                                                  throws WTException,
                                                         WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

listEventMap

public static void listEventMap(Map vMap)
                         throws WTException
Throws:
WTException

navigateOldContainsForMigrator

public static Object navigateOldContainsForMigrator(WTCollection iterations,
                                                    NavigateResultProcessor processor)
                                             throws WTException
Throws:
WTException