com.ptc.windchill.esi.evt
Class ESIChangeOrder2Validator

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

public class ESIChangeOrder2Validator
extends ESIValidatorImpl

Validates a WTChangeOrder2 for ESI publishing

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
ESIChangeOrder2Validator()
           
 
Method Summary
 void validate(WTObject object)
          Makes sure that the WTChangeOrder2 object has changeable items and that at least one of the items is a part.
protected  boolean validatePart(WTPart part)
           
 
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

ESIChangeOrder2Validator

public ESIChangeOrder2Validator()
Method Detail

validate

public void validate(WTObject object)
              throws WTException
Makes sure that the WTChangeOrder2 object has changeable items and that at least one of the items is a part. Optionally checks to see that at least one part has organizations associated with it.

Supported API: true

Parameters:
object -
Throws:
WTException

validatePart

protected boolean validatePart(WTPart part)
                        throws WTException
Throws:
WTException