com.ptc.windchill.cadx.common.util
Class MissingDependentsUtilities

java.lang.Object
  extended bycom.ptc.windchill.cadx.common.util.MissingDependentsUtilities

public class MissingDependentsUtilities
extends Object

Collection of static methods which can be used to find out information about or perform an action on missing dependent objects and unresolved parents of missing dependents.


Constructor Summary
MissingDependentsUtilities()
           
 
Method Summary
static void appendContextObjProps(Object object, Properties props)
           
private static String getOID(Persistable obj)
           
static boolean hasMissingDependents(HTTPRequest request)
          Returns the missing dependents property value if its is specified in the HTTPRequest query string or form data.
static boolean hasMissingDependents(Object cadDoc)
          Returns the missing dependents property value of the specified object.
static boolean isPlaceHolder(HTTPRequest request)
          Returns the place holder property value if its is specified in the HTTPRequest query string or form data.
static boolean isPlaceHolder(Object obj)
          Returns the place holder property value of the specified object.
static void setMissingDependents(Object cadDoc, boolean flag)
          Set the missing dependents property on the specified object.
static void setPlaceHolder(Object cadDoc, boolean flag)
          Set the place holder property on the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MissingDependentsUtilities

public MissingDependentsUtilities()
Method Detail

setPlaceHolder

public static void setPlaceHolder(Object cadDoc,
                                  boolean flag)
Set the place holder property on the specified object. Valid object types are EPMDocument and NewEPMDocument.


isPlaceHolder

public static boolean isPlaceHolder(Object obj)
Returns the place holder property value of the specified object. Valid object types are EPMDocument and NewEPMDocument. If the specified object is not valid false is returned.


isPlaceHolder

public static boolean isPlaceHolder(HTTPRequest request)
Returns the place holder property value if its is specified in the HTTPRequest query string or form data. Otherwise false is returned.


setMissingDependents

public static void setMissingDependents(Object cadDoc,
                                        boolean flag)
Set the missing dependents property on the specified object. Valid object types are EPMDocument and NewEPMDocument.


hasMissingDependents

public static boolean hasMissingDependents(Object cadDoc)
Returns the missing dependents property value of the specified object. Valid object types are EPMDocument and NewEPMDocument. If the specified object is not valid false is returned.


hasMissingDependents

public static boolean hasMissingDependents(HTTPRequest request)
Returns the missing dependents property value if its is specified in the HTTPRequest query string or form data. Otherwise false is returned.


appendContextObjProps

public static void appendContextObjProps(Object object,
                                         Properties props)

getOID

private static String getOID(Persistable obj)