|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.build.BuildServiceUtility
The BuildServiceUtility is a class that handles utility functions
for the StandardBuildService class.
Supported API: false
Extendable: false
Field Summary | |
private static String |
EPMRESOURCE
|
Constructor Summary | |
BuildServiceUtility()
|
Method Summary | |
private static void |
dispatchBuildEvent(KeyedEvent event,
List targets,
String role,
Class buildRuleClass,
List sources,
String otherSideRole)
Dispatches build sandbox or WIP events |
private static void |
dispatchBuildSourceEvent(WTSet links,
KeyedEvent event)
|
private static void |
dispatchBuildTargetEvent(WTSet links,
KeyedEvent event)
|
protected static WTCollection |
expand(WTCollection objects,
Class linkClass,
String otherSideRole,
QuerySpec querySpec,
boolean inflateOtherSideObject,
boolean inflateRoleObject)
Navigates the links of the specified class from one set of objects to another bypassing access control. |
static WTKeyedMap.WTEntry |
getEntry(WTKeyedMap map,
ObjectIdentifier objectId)
|
static WTKeyedMap.WTEntry |
getEntry(WTKeyedMap map,
WTReference reference)
|
static WTKeyedMap.WTEntry |
getEntryByValue(WTKeyedMap map,
ObjectIdentifier objectId)
|
static WTKeyedMap.WTEntry |
getEntryByValue(WTKeyedMap map,
WTReference reference)
|
private static WTValuedMap |
getEventMap(KeyedEvent event)
Get the event Map stored in Sandbox or WIP events |
static WTKeyedMap |
getEventMap(KeyedEvent event,
Class buildRuleClass)
|
private static List |
getObjectsToNavigate(String eventType,
Map.Entry entry)
Based on event type, read the Map.Entry to returns objects to be navigated to get relevant Build Rules |
static WTKeyedMap |
getReferenceMap(WTKeyedMap eventMap)
|
private static List[] |
getSourcesAndTargets(String eventType,
Map eventMap)
From the Map returned by Sandbox or WIP operation, get BuildSources and BuildTargets |
private static boolean |
isValidEvent(String eventType)
|
static void |
processBuildEvent(KeyedEvent event)
Responds to multi object events emitted by WIP and SandboxService |
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 |
public BuildServiceUtility()
Method Detail |
public static void processBuildEvent(KeyedEvent event) throws WTException
event
- One of the multi object service events
WTException
private static WTValuedMap getEventMap(KeyedEvent event)
private static void dispatchBuildEvent(KeyedEvent event, List targets, String role, Class buildRuleClass, List sources, String otherSideRole) throws WTException
WTException
private static void dispatchBuildTargetEvent(WTSet links, KeyedEvent event) throws WTException
WTException
private static void dispatchBuildSourceEvent(WTSet links, KeyedEvent event) throws WTException
WTException
private static List getObjectsToNavigate(String eventType, Map.Entry entry) throws WTException
WTException
private static boolean isValidEvent(String eventType)
private static List[] getSourcesAndTargets(String eventType, Map eventMap) throws WTException
WTException
public static WTKeyedMap getEventMap(KeyedEvent event, Class buildRuleClass)
public static WTKeyedMap getReferenceMap(WTKeyedMap eventMap) throws WTException
WTException
public static WTKeyedMap.WTEntry getEntry(WTKeyedMap map, WTReference reference)
public static WTKeyedMap.WTEntry getEntryByValue(WTKeyedMap map, WTReference reference)
public static WTKeyedMap.WTEntry getEntry(WTKeyedMap map, ObjectIdentifier objectId)
public static WTKeyedMap.WTEntry getEntryByValue(WTKeyedMap map, ObjectIdentifier objectId)
protected static WTCollection expand(WTCollection objects, Class linkClass, String otherSideRole, QuerySpec querySpec, boolean inflateOtherSideObject, boolean inflateRoleObject) throws WTException
objects
- linkClass
- otherSideRole
- querySpec
- inflateOtherSideObject
- inflateRoleObject
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |