Class ChangeItemPickerConfig
java.lang.Object
com.ptc.jca.mvc.components.AbstractPickerConfig
com.ptc.jca.mvc.components.AbstractItemPickerConfig
com.ptc.windchill.enterprise.change2.search.AbstractChangePickerConfig
com.ptc.windchill.enterprise.change2.search.ChangeItemPickerConfig
- All Implemented Interfaces:
com.ptc.mvc.components.PickerConfig
public class ChangeItemPickerConfig
extends com.ptc.windchill.enterprise.change2.search.AbstractChangePickerConfig
Item picker configuration for select Change objects. Currently supported search configurations are Change Issue and
Change Request.
Supported API: true
Extendable: true
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 -
Field Summary
Fields inherited from class com.ptc.windchill.enterprise.change2.search.AbstractChangePickerConfig
ADMINISTRATIVE_LOCK, LATEST_ITERATION -
Constructor Summary
ConstructorsConstructorDescriptionInitializes that picker without initializes for change object specific configuration.ChangeItemPickerConfig(String className) Initializes that picker for the given class configuration. -
Method Summary
Modifier and TypeMethodDescriptiongetBaseWhereClause(NmCommandBean commandBean) The default where clause search for latest iterations only "latestIteration='1'".getComponentId(NmCommandBean commandBean) The default component id is "associatedChangesPicker".protected String
Supported API: truegetTypeComponentId(NmCommandBean commandBean)
Supported API: truegetTypePickerObjectList(NmCommandBean commandBean) Given a command bean, this API will return a String list of valid change types based on the current association constraint rules.voidsetChangeItemClass(String className) Configures the picker for the given class configuration.voidsetPickerTitleName(String title)
Supported API: truevoid
Supported API: trueMethods inherited from class com.ptc.windchill.enterprise.change2.search.AbstractChangePickerConfig
getContainer, getContainerOidString, getDefaultVersionValue, getInline, getMultiSelect, getPickerCallback, getPickerId, getPickerTitle, getSingleSelectTypePicker, getTableSuggestAttributeAndLabel, isProject, isProject, setPickerId, setPickerTitleMethods inherited from class com.ptc.jca.mvc.components.AbstractItemPickerConfig
getCustomAccessController, getDefaultIterationValue, getEnableServiceConfigForMultipleTypes, getExcludeSubTypes, getExcludeSubTypesContextPicker, getObjectType, getShowAllObjectTypes, getShowTypePicker, getTypePickerDefaultType, getTypePickerFormat, getTypePickerObjectListInSession, getTypePickerShowRoot, getTypePickerSubTypeDisplayMethods 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
-
Constructor Details
-
ChangeItemPickerConfig
public ChangeItemPickerConfig()Initializes that picker without initializes for change object specific configuration.
Supported API: true -
ChangeItemPickerConfig
Initializes that picker for the given class configuration.
Supported API: true- Parameters:
className-
-
-
Method Details
-
setChangeItemClass
Configures the picker for the given class configuration. Currently supported search configurations are Change Issue and Change Request. To specify Change Issue pass in "wt.change2.ChangeIssue". To specify Change Request pass in "wt.change2.ChangeRequest".
The Change Issue specific configuration:Picker Id associatedChangeIssuesPicker Picker Title FIND_ASSOCIATED_CHANGEISSUES Type Component id Foundation.changePRPicker
The Change Request specific configuration:Picker Id associatedChangeRequestsPicker Picker Title FIND_ASSOCIATED_CHANGEREQUESTS Type Component id Foundation.changeECRPicker
Supported API: true- Parameters:
className-
-
getComponentId
The default component id is "associatedChangesPicker".
Supported API: true- Overrides:
getComponentIdin classcom.ptc.jca.mvc.components.AbstractPickerConfig- Throws:
WTException
-
getTypeComponentId
Supported API: true- Overrides:
getTypeComponentIdin classcom.ptc.jca.mvc.components.AbstractItemPickerConfig- Throws:
WTException
-
setTypeComponentId
Supported API: true -
getPickerTitleName
Supported API: true- Specified by:
getPickerTitleNamein classcom.ptc.windchill.enterprise.change2.search.AbstractChangePickerConfig
-
setPickerTitleName
Supported API: true -
getBaseWhereClause
The default where clause search for latest iterations only "latestIteration='1'".
Supported API: true- Overrides:
getBaseWhereClausein classcom.ptc.jca.mvc.components.AbstractPickerConfig- Throws:
WTException
-
getTypePickerObjectList
Given a command bean, this API will return a String list of valid change types based on the current association constraint rules.
Supported API: true- Overrides:
getTypePickerObjectListin classcom.ptc.jca.mvc.components.AbstractItemPickerConfig- Throws:
WTException
-