com.ptc.windchill.esi.evt
Class ESIPartValidator

java.lang.Object
  extended bycom.ptc.windchill.esi.evt.ESIValidatorImpl
      extended bycom.ptc.windchill.esi.evt.ESIPartValidator
All Implemented Interfaces:
ESIValidator

public class ESIPartValidator
extends ESIValidatorImpl

Default implementation for validating WTPart objects prior to publishing them.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
(package private)  ESITargetUtility targetUtility
           
 
Fields inherited from class com.ptc.windchill.esi.evt.ESIValidatorImpl
ENFORCE_ORGS, enforceOrgs
 
Constructor Summary
ESIPartValidator()
           
 
Method Summary
 void validate(WTObject object)
          Make sure that the object is a WTPart and not null.
 
Methods inherited from class com.ptc.windchill.esi.evt.ESIValidatorImpl
validateInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

targetUtility

ESITargetUtility targetUtility
Constructor Detail

ESIPartValidator

public ESIPartValidator()
Method Detail

validate

public final void validate(WTObject object)
                    throws WTException
Make sure that the object is a WTPart and not null. Optionally insure that the part has targets associated to it.

Supported API: true

Parameters:
object -
Throws:
WTException