Class AbstractOptionSetFetcherDelegate

java.lang.Object
com.ptc.windchill.option.delegate.AbstractOptionSetFetcherDelegate
Direct Known Subclasses:
NullOptionSetFetcherDelegate, RegisteredOptionSetFetcherDelegate

public abstract class AbstractOptionSetFetcherDelegate extends Object
Delegate for fetching OptionSet. This class will be implemented by all the clients to define which OptionSet will be fetched. The default implementation will fetch registered OptionSet.

Supported API: true

Extendable: true
  • Method Details

    • getOverriddenOptionSet

      @Deprecated protected OptionSet getOverriddenOptionSet(ObjectReference resultOptionSetMaster) throws WTException
      Deprecated.
      Use GetAssignedOptionSetHelper.getOverriddenOptionSets.
      Get the option set that overrides the given option set master.

      Supported API: true
      Parameters:
      resultOptionSetMaster - the option set master for which overridden option set needs to be found out
      Returns:
      the overridden option set if available else null.
      Throws:
      WTException
    • getAssignedOptionSets

      public abstract OptionSetDelegateResult getAssignedOptionSets(WTCollection optionSetAssignees) throws WTException
      Return a map of optionSetAssignee to assigned OptionSet entries.

      Supported API: true
      Parameters:
      optionSetAssignees -
      Returns:
      OptionSetDelegateResult
      Throws:
      WTException