com.ptc.windchill.esi.rnd
Interface ESIEffectivityHandler

All Known Implementing Classes:
ESIEffectivityHandlerImpl

public interface ESIEffectivityHandler

Interface for obtaining information about the relationships between effectivities and parts.

Supported API: true

Extendable: true


Method Summary
 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 Effs 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 part.
 

Method Detail

getLatestEffectivity

Eff getLatestEffectivity(EffManagedVersion part)
                         throws WTException
Returns the latest non-product-specific Date Effectivity that is associated with an object.

Supported API: true

Parameters:
part - The part whose effectivity is to be obtained
Returns:
Eff
Throws:
WTException

getLatestEffectivity

Eff getLatestEffectivity(EffManagedVersion part,
                         int type)
                         throws WTException
Returns the latest effectivity of a given type that is associated with a given part.

Supported API: true

Parameters:
part - WTPart instance whose latest effectivity of the given type is to be fetched.
type - This is either DATE_EFFECTIVITY_TYPE, SERIAL_NUMBER_EFFECTIVITY_TYPE or 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.
Returns:
Eff
Throws:
WTException

getLatestEffectivities

Eff[] getLatestEffectivities(WTPart part)
                             throws com.ptc.windchill.esi.rnd.ESIRendererException
Fetches the latest date, serial number and lot number effectivities associated with a given part, stores them in an array of Effs and returns the array to the caller.

Supported API: true

Parameters:
part - WTPart instance for which to fetch the latest date, serial number and lot number effectivities.
Returns:
Eff[]
Throws:
com.ptc.windchill.esi.rnd.ESIRendererException