com.ptc.windchill.uwgm.proesrv.util
Class UwgmRequestUtilities

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.util.UwgmRequestUtilities

public final class UwgmRequestUtilities
extends Object

Miscellaneous utilities for UwgmRequests MMV: Fellow developers! When adding methods to this class, please do not forget history comments: I am just curious how fast the number of methods will grow in time in a class with such a wonderful name.. To be serious, it is NOT ok to put all our code here!


Nested Class Summary
private static class UwgmRequestUtilities.IterationVisitor
          internal Iteration collector for iterations from IterationRequest
 
Field Summary
private static Log log
          logging
 
Constructor Summary
private UwgmRequestUtilities()
           
 
Method Summary
static WTCollection getApplicableObjects(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
          prepares WTCollection of Applicable objects in UwgmRequest
static boolean isNewClientObject(com.ptc.windchill.uwgm.soap.uwgmdb.DbObj obj)
          Is the object new? Means: it was just created, stored in the client cache, but was never uploaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static Log log
logging

Constructor Detail

UwgmRequestUtilities

private UwgmRequestUtilities()
Method Detail

getApplicableObjects

public static WTCollection getApplicableObjects(com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest uwgmRequest)
prepares WTCollection of Applicable objects in UwgmRequest

Parameters:
uwgmRequest - UwgmRequest
Returns:
WTCollection

isNewClientObject

public static boolean isNewClientObject(com.ptc.windchill.uwgm.soap.uwgmdb.DbObj obj)
Is the object new? Means: it was just created, stored in the client cache, but was never uploaded.

Parameters:
obj - DbObj
Returns:
boolean