Package wt.effectivity
Interface EffectivityService
Deprecated.
Most of the APIs represented in this service are available in the
Supported API: true
Extendable: false
wt.eff package in EffService, EffGroupAssistant
or EffConfigSpecAssistant and since the eff package's
APIs are easier to use, they are recommended.
- Cookie: None
- Helper:
EffectivityHelper - Service implementation:
StandardEffectivityService(no listeners) - ServiceEvent: None
- ServiceException:
EffectivityException,ConfigItemNotFoundException
EffectivityHelper.service.[method]
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfindConfigurationItem(String configItemName) Deprecated.Retrieve a Configuration Item by name.getEffectivities(ConfigurationItem configItem) Deprecated.Retrieves the Effectivity objects which reference the given ConfigurationItem object.getEffectivities(EffectivityHolder effectivityHolder) Deprecated.getWTProductInstance(String configItemName, String serialNumber) Deprecated.Deprecated.Perform Insert, Modify, or Delete operations on any number of Effectivity objects.
-
Method Details
-
getEffectivities
Deprecated.Retrieves the Effectivity objects for the given EffectivityHolder object.
Supported API: true- Parameters:
effectivityHolder- An object which implements the EffectivityHolder interface.- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
persistEffectivityBatch
Deprecated.Perform Insert, Modify, or Delete operations on any number of Effectivity objects. The passed TransactionContainer will contain a add, delete, or replace assertion for each Effectivity object. Below is example code for setting up a TransactionContainer to pass to this method:TransactionContainer effectivityTransaction = BatchContainerFactory.instantiateTransactionContainer(); BatchContainer mainBatchContainer = BatchContainerFactory.instantiateGeneralBatchContainer(effectivityTransaction, "main"); // Create a new Serial Numbered Effectivity mainBatchContainer.add(aSerialNumberedEffectivity); // Modify an existing Lot Effectivity mainBatchContainer.replace(aLotEffectivity); // Delete an existing Dated Effectivity mainBatchContainer.populate(aDatedEffectivity); mainBatchContainer.remove(aDatedEffectivity);
Supported API: true- Parameters:
aTran- A TransactionContainer containing any number of add, replace or delete assertions for Effectivity objects.- Returns:
- TransactionResult
- Throws:
WTException- See Also:
-
findConfigurationItem
ConfigurationItem findConfigurationItem(String configItemName) throws WTException, ConfigItemNotFoundException Deprecated.Retrieve a Configuration Item by name.
Supported API: true- Parameters:
configItemName- The name of the Configuration Item.- Returns:
- ConfigurationItem
- Throws:
WTExceptionConfigItemNotFoundException- See Also:
-
getEffectivities
Deprecated.Retrieves the Effectivity objects which reference the given ConfigurationItem object.
Supported API: true- Parameters:
configItem- A Configuration Item.- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getWTProductInstance
WTProductInstance getWTProductInstance(String configItemName, String serialNumber) throws WTException Deprecated.Returns the product instance for this configuration item and serial number, or null if it does not exist.
Supported API: true- Parameters:
configItemName-serialNumber-- Returns:
- WTProductInstance
- Throws:
WTException
-
EffService