Class OptionSetOrderingHandler

java.lang.Object
com.ptc.windchill.option.ocm.order.OptionSetOrderingHandler

public class OptionSetOrderingHandler extends Object
Defines a handler of generating sequence order numbers for choices assigned to Option Set. Supported API: true

Extendable: false
  • Method Details

    • regenerateOptionSetOrdering

      public static void regenerateOptionSetOrdering(OptionSet optionSet, String optionType) throws WTException
      Generates sequence order for Choices in an Option Set which has choices with undefined order.
      Note:- This can be the case if Choices are added to an Option Set using custom implementation
      Supported API: true

      Extendable: false
      Parameters:
      optionSet - - Option Set for which choice ordering needs to be regenerated
      optionType - - Option type of new choices added to the option set
      Throws:
      WTException