com.ptc.windchill.esi.esipart
Class ESIDefaultConfigSpec
java.lang.Object
wt.part.WTPartStandardConfigSpec
com.ptc.windchill.esi.esipart.ESIDefaultConfigSpec
- All Implemented Interfaces:
- ConfigSpec, Externalizable, NetFactor, ObjectMappable, Serializable
- public class ESIDefaultConfigSpec
- extends WTPartStandardConfigSpec
- See Also:
- Serialized Form
Methods inherited from class wt.part.WTPartStandardConfigSpec |
appendSearchCriteria, getClassInfo, getConceptualClassname, getLifeCycleState, getView, initialize, initialize, isWorkingIncluded, newWTPartStandardConfigSpec, newWTPartStandardConfigSpec, process, readExternal, readExternal, readVersion, setLifeCycleState, setView, setWorkingIncluded, toString, writeExternal, writeExternal |
CONFIGSPEC_STATE
protected static final ESIPropertyRequest CONFIGSPEC_STATE
ESIDefaultConfigSpec
public ESIDefaultConfigSpec()
getConfigSpec
public WTPartStandardConfigSpec getConfigSpec(String rootViewName)
throws WTException,
WTPropertyVetoException
- This class uses the esi.properties file to get the view and state.
If the view property is null or empty string then it will return the
latest iteration of a part not associated to a view. If a invalid view property is
set then it display a error message stating that couldn't find that view. For state,
if the property is missing then the default RELEASE state is used. If the
value is specified in the properties then that state is used to retrieve the
part iteration. If state property has a empty string then a exception is thrown.
- Throws:
WTException
WTPropertyVetoException