|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.esi.rnd.ESIEffectivityHandlerImpl
public class ESIEffectivityHandlerImpl
The default implementation of ESI effectivity handler.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
protected Eff |
getLastExportedEffectivity(WTPart part,
ESITarget target)
Returns the last released Eff object for associated with a WTPart and an ESITarget. |
protected Eff |
getLastExportedEffectivity(WTPart part,
ESITarget target,
int type)
Returns an Eff instance of the passed type that was last exported to the given distribution target for the given WTPart. |
Eff[] |
getLatestEffectivities(WTPart part)
Fetches the latest date, serial number and lot number effectivities associated with a given part, stores them in an array of Eff instances and returns the array to the caller. |
Eff |
getLatestEffectivity(EffManagedVersion part)
Returns the latest non-product-specific Date Effectivity that is associated with an object. |
Eff |
getLatestEffectivity(EffManagedVersion part,
int type)
Returns the latest Effectivity of a given type that is associated with a given object. |
protected ESITransactionUtility |
getTransactionUtility()
Gets the value of the attribute: transactionUtility; A reference to an ESITransactionUtility. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected ESITransactionUtility getTransactionUtility()
public Eff getLatestEffectivity(EffManagedVersion part)
throws WTException
getLatestEffectivity in interface ESIEffectivityHandlerpart - The part whose effectivity is to be obtained
WTException
public Eff getLatestEffectivity(EffManagedVersion part,
int type)
throws WTException
getLatestEffectivity in interface ESIEffectivityHandlerpart - WTPart iteration whose effectivity needs to be returned.type - This is either ESIEffectivityHandler.DATE_EFFECTIVITY_TYPE, ESIEffectivityHandler.SERIAL_NUMBER_EFFECTIVITY_TYPE or ESIEffectivityHandler.LOT_NUMBER_EFFECTIVITY_TYPE, according as the latest Date, Serial Number or Lot Number effectivity associated with the given part is to be fetched respectively.
WTException
public Eff[] getLatestEffectivities(WTPart part)
throws com.ptc.windchill.esi.rnd.ESIRendererException
getLatestEffectivities in interface ESIEffectivityHandlerpart - WTPart instance for which to fetch the latest date, serial number and lot number effectivities.
com.ptc.windchill.esi.rnd.ESIRendererException
protected Eff getLastExportedEffectivity(WTPart part,
ESITarget target)
throws WTException
part - The part of interest.target - The ESITarget where the part is to be released.
WTException
protected Eff getLastExportedEffectivity(WTPart part,
ESITarget target,
int type)
throws WTException
part - WTPart instance for which to determine the last exported effectivity.target - Given distribution target.type - Specifies the type of effectivity - takes any of the named constants defined in the interface ESIEffectivityHandler for its value.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||