Class EffectivityHelper

java.lang.Object
wt.effectivity.EffectivityHelper
All Implemented Interfaces:
Externalizable, Serializable

public class EffectivityHelper extends Object implements Externalizable
This helper is used to access an implementation of EffectivityService via the static reference EffectivityHelper.service.

Supported API: true

Extendable: false
See Also:
  • Field Details

    • service

      public static final EffectivityService service
      Gets the implemented wt.effectivity.EffectivityService instance.

      Supported API: true
  • Method Details

    • setConfigurationItem

      public static void setConfigurationItem(Effectivity effectivity, ConfigurationItem configItem) throws WTException, WTPropertyVetoException
      Deprecated.
      Effectivity is replaced by Eff
      Helper method for setting the Configuration Item for an Effectivity.

      Supported API: true
      Parameters:
      effectivity - Any concrete subclass of Effectivity, or null. If null, the Effectivity will have no Configuration Item.
      configItem - A configuration item.
      Throws:
      WTException
      WTPropertyVetoException
      wt.effectivity.EffectivityException
    • setEffectivityTarget

      public static void setEffectivityTarget(Effectivity effectivity, EffectivityHolder effectivityHolder) throws WTException, WTPropertyVetoException
      Deprecated.
      Effectivity is replaced by Eff and this method is replaced by Eff.setTarget()
      Helper method for setting the target object for an Effectivity. If the target object is versioned, this method will set Effectivity.versionedTarget. If the target object is not versioned, the method will set Effectivity.standardTarget.

      Supported API: true
      Parameters:
      effectivity - Any concrete subclass of Effectivity, or null. If null, the Effectivity will have no Configuration Item.
      effectivityHolder - A configuration item.
      Throws:
      WTException
      WTPropertyVetoException
      wt.effectivity.EffectivityException