Class PromotionObjectsPickerConfig

java.lang.Object
com.ptc.jca.mvc.components.AbstractPickerConfig
com.ptc.jca.mvc.components.AbstractItemPickerConfig
com.ptc.windchill.enterprise.maturity.search.PromotionObjectsPickerConfig
All Implemented Interfaces:
com.ptc.mvc.components.PickerConfig

public class PromotionObjectsPickerConfig extends com.ptc.jca.mvc.components.AbstractItemPickerConfig
Promotion object item picker configuration for the promotion request wizard.

Supported API: true

Extendable: true
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.ptc.jca.mvc.components.AbstractPickerConfig

    com.ptc.jca.mvc.components.AbstractPickerConfig.ToolbarAttributeConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The auto suggest where where clause search is "(checkoutInfo.state_List!='wrk,sb c/o')invalid input: '&'(latestIteration='1')".


    Supported API: true
    This auto suggest default iteration value is "ALL" because the pickers do not support returning object references when the iteration is set to "LATEST".


    Supported API: true


    Supported API: true


    Supported API: true
    The Default type component id is Foundation.promotablePicker .

    Methods inherited from class com.ptc.jca.mvc.components.AbstractItemPickerConfig

    getEnableServiceConfigForMultipleTypes, getExcludeSubTypes, getExcludeSubTypesContextPicker, getObjectType, getShowAllObjectTypes, getShowTypePicker, getTypePickerDefaultType, getTypePickerFormat, getTypePickerObjectList, getTypePickerObjectListInSession, getTypePickerShowRoot, getTypePickerSubTypeDisplay

    Methods inherited from class com.ptc.jca.mvc.components.AbstractPickerConfig

    getContainerRef, getDefaultContextValue, getDefaultHiddenValue, getDefaultValue, getDisplayAttribute, getEditable, getExcludeRef, getHelpSelectorKey, getIncludeShared, getLabel, getNumOfCharsInTextBox, getOkClickFunction, getPickedAttributes, getPickedDataFetcher, getPickerTextBoxLength, getPickerType, getReadOnlyPickerTextBox, getRenderKeyword, getRequired, getSearchResultsFetcherURL, getSearchResultsViewId, getShowWorkingCopy, getTableSuggestServiceKey

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getPickerId

      public String getPickerId()


      Supported API: true
      Overrides:
      getPickerId in class com.ptc.jca.mvc.components.AbstractPickerConfig
      Returns:
      "promotablePicker"
    • getComponentId

      public String getComponentId(NmCommandBean commandBean) throws WTException


      Supported API: true
      Overrides:
      getComponentId in class com.ptc.jca.mvc.components.AbstractPickerConfig
      Returns:
      "promotableItemPicker"
      Throws:
      WTException
    • getTypeComponentId

      public String getTypeComponentId(NmCommandBean commandBean) throws WTException
      The Default type component id is Foundation.promotablePicker . For Arbortext type component id is ArbortextContentManager.promotablePicker and for PROI it is ProI.promotablePicker.

      Supported API: true
      Overrides:
      getTypeComponentId in class com.ptc.jca.mvc.components.AbstractItemPickerConfig
      Throws:
      WTException
    • getBaseWhereClause

      public String getBaseWhereClause(NmCommandBean commandBean) throws WTException
      The auto suggest where where clause search is "(checkoutInfo.state_List!='wrk,sb c/o')invalid input: '&'(latestIteration='1')". This is because the pickers do not support returning object references when the version is set to "LATEST". If the isAutoSuggest is set to false the where clause is "(checkoutInfo.state_List!='wrk,sb c/o')".

      Supported API: true
      Overrides:
      getBaseWhereClause in class com.ptc.jca.mvc.components.AbstractPickerConfig
      Throws:
      WTException
    • getMultiSelect

      public String getMultiSelect(NmCommandBean commandBean) throws WTException


      Supported API: true
      Overrides:
      getMultiSelect in class com.ptc.jca.mvc.components.AbstractPickerConfig
      Returns:
      true string
      Throws:
      WTException
    • getDefaultVersionValue

      public String getDefaultVersionValue(NmCommandBean commandBean)


      Supported API: true
      Overrides:
      getDefaultVersionValue in class com.ptc.jca.mvc.components.AbstractItemPickerConfig
      Returns:
      "LATEST"
    • getDefaultIterationValue

      public String getDefaultIterationValue(NmCommandBean commandBean) throws WTException
      This auto suggest default iteration value is "ALL" because the pickers do not support returning object references when the iteration is set to "LATEST". If the isAutoSuggest is set to false "LATEST" is returned.

      Supported API: true
      Overrides:
      getDefaultIterationValue in class com.ptc.jca.mvc.components.AbstractItemPickerConfig
      Throws:
      WTException