Package wt.change2
Interface ChangeConfigurationService
The intent of the change configuration service is to handle service calls for UI configutions. Examples of UI
configuration is preferences, or conditions that determine when to or not to display something in the UI.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetAssignmentMethod(TypeIdentifier typeIdentifier) The intent of this method is get the Assignment Method as configured on Change Task in Type manager.getCanceledStates(ChangeItem changeItem) Given a change object, return the value of the Canceled States property, as defined for this particular type in the Type and Attribute Manager.getCanceledStates(WTCollection changeItems) Given a collection of change objects, return the value of the Canceled States property for each one, as defined for this particular type in the Type and Attribute Manager.getChangeActivityImplementationStates(WTChangeActivity2 changeActivity) Given a change activity object, return the Implementation States property, as defined for this particular type in the Type and Attribute Manager.getCompletedStates(ChangeItem changeItem) Given a change object, return the value of the Completed States property, as defined for this particular type in the Type and Attribute Manager.getCompletedStates(WTCollection changeItems) Given a collection of change objects, return the value of the Completed States property for each one, as defined for this particular type in the Type and Attribute Manager.getCreateNewChangeNoticeTaskName(WTContainerRef containerRef) Get the name for the Create New Change Notice task from the preference of the given container.booleanGets the value of the change request to change notice cardinality preference.getOptionalAssigneeReviewerStates(WTContainerRef containerRef) The intent of this method is to get the change task assignee and reviewer optional life cycle states.booleanThis method gets the value of the PR to CR Cardinality preference.getReviewOption(TypeIdentifier typeIdentifier) The intent of this method is get the Review Option as configured on Change Task in Type manager.getReviewOption(String typeName) The intent of this method is get the Review Option as configured on Change Task in Type manager.booleanThe intent of this method is to check if the Simplified Change Notice preference is set to true.getTerminalStates(ChangeItem changeItem) Given a change object, return the union of the Completed States property and the Canceled States property, as defined for this particular type in the Type and Attribute Manager.getTerminalStates(WTCollection changeItems) Given a WTCollection of change objects, return the union of the Completed States property and the Canceled States property for each one, as defined for this particular type in the Type and Attribute Manager.booleangetTrackingChange(Persistable persistable) Get the trackingChangeItem Preference for awt.fc.Persistableobject.booleangetTrackingChange(WTContainerRef containerRef) Get the trackingChangeItem Preference for a container.booleanThis will return true if the the mass change client should enforce a validation that requires the related CAD Documents of any parts to be a member of the change notice release content.booleanisMultipleTransitionsAllowed(WTContainerRef containerRef) Returns true if the preference "Multiple Transitions on the Release Target Column" is set to Yes.booleanisOptionalReviewAllowed(WTContainerRef containerRef) Deprecated.booleanisProblemReportInProjectEnabled(WTContainerRef containerRef) The intent of this method is to check if the "Project-Sponsored Problem Report Support" preference is enabled.booleanisSecondLevelChangeEnabled(WTContainerRef containerRef) The intent of this method is to check if the second-level change navigation should be enabled for the container.Map<Class<? extends ChangeIssue>,Boolean> isSecondLevelChangeIssueTablesEnabled(WTContainerRef containerRef) The intent of this method is to check if the second-level change Issue tables should be enabled for the container.booleanisSimplifiedChangeNotice(ChangeOrderIfc changeOrder) The intent of this method is to check if the a Change Notice should be displayed as a Simplified Change Notice.booleanisVarianceInProjectEnabled(WTContainerRef containerRef) The intent of this method is to check if the "Project-Sponsored Deviation and Waiver Support" preference is enabled.
-
Method Details
-
isSimplifiedChangeNotice
The intent of this method is to check if the a Change Notice should be displayed as a Simplified Change Notice.
Supported API: true- Parameters:
changeOrder-- Returns:
- True when the Simplified Change Notice is true.
- Throws:
WTException
-
getSimplifiedChangeNoticePreference
The intent of this method is to check if the Simplified Change Notice preference is set to true.
Supported API: true- Parameters:
p-- Returns:
- True when the Simplified Change Notice preference is set to true.
- Throws:
WTException
-
isCADOnChangeNoticeForMassChangeEnforced
This will return true if the the mass change client should enforce a validation that requires the related CAD Documents of any parts to be a member of the change notice release content. It will return false if this validation should not occur.
Supported API: true- Throws:
WTException
-
isSecondLevelChangeEnabled
The intent of this method is to check if the second-level change navigation should be enabled for the container.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- True when the change tab is enabled.
- Throws:
WTException
-
isSecondLevelChangeIssueTablesEnabled
Map<Class<? extends ChangeIssue>,Boolean> isSecondLevelChangeIssueTablesEnabled(WTContainerRef containerRef) throws WTException The intent of this method is to check if the second-level change Issue tables should be enabled for the container.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- True when the change tab is enabled.
- Throws:
WTException
-
isProblemReportInProjectEnabled
The intent of this method is to check if the "Project-Sponsored Problem Report Support" preference is enabled.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- True when the Problem Report table is enabled.
- Throws:
WTException
-
isVarianceInProjectEnabled
The intent of this method is to check if the "Project-Sponsored Deviation and Waiver Support" preference is enabled.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- True when the Variance table is enabled.
- Throws:
WTException
-
isOptionalReviewAllowed
Deprecated.replaced by#getReviewOption()The intent of this method is to check if the "Optional Review Allowed" preference is enabled.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- True when the "Optional Reviewer Allowed" is enabled.
- Throws:
WTException
-
getReviewOption
The intent of this method is get the Review Option as configured on Change Task in Type manager.
Supported API: true- Parameters:
typeName- - Internal name of Change Task for which property is to be retrieved.- Returns:
- String - Review Type
- Throws:
WTException
-
getReviewOption
The intent of this method is get the Review Option as configured on Change Task in Type manager.
Supported API: true- Parameters:
typeIdentifier- - Type Identifier of Change Task for which property is to be retrieved.- Returns:
- String - Review Type
- Throws:
WTException
-
getAssignmentMethod
The intent of this method is get the Assignment Method as configured on Change Task in Type manager.
Supported API: true- Parameters:
typeIdentifier- - Type Identifier of Change Task for which property is to be retrieved.- Returns:
- String - Assignment Method
- Throws:
WTException
-
getOptionalAssigneeReviewerStates
The intent of this method is to get the change task assignee and reviewer optional life cycle states.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- assignee and reviewer optional life cycle states
- Throws:
WTException
-
getTrackingChange
Get the trackingChangeItem Preference for a container.
Supported API: true- Parameters:
containerRef-- Returns:
- boolean
- Throws:
WTException
-
getTrackingChange
Get the trackingChangeItem Preference for awt.fc.Persistableobject.
Supported API: true- Parameters:
persistable-- Returns:
- boolean
- Throws:
WTException
-
getPRtoCRCardinalityPreference
This method gets the value of the PR to CR Cardinality preference.
Supported API: true- Parameters:
p- context object.- Returns:
- True when the PR to CR Cardinality preference is set to true.
- Throws:
WTException
-
getECRtoCOCardinalityPreference
Gets the value of the change request to change notice cardinality preference.
Supported API: true- Parameters:
p- context object.- Returns:
- True if ManyToManyCRCO preference is set to true.
- Throws:
WTException
-
getCreateNewChangeNoticeTaskName
Get the name for the Create New Change Notice task from the preference of the given container.
Supported API: true- Parameters:
containerRef-- Returns:
- String
- Throws:
WTException
-
isMultipleTransitionsAllowed
Returns true if the preference "Multiple Transitions on the Release Target Column" is set to Yes. Otherwise, it returns false.
Supported API: true- Parameters:
containerRef- The reference of the container- Returns:
- True when "Multiple Transitions on the Release Target Column" is enabled.
- Throws:
WTException
-
getCanceledStates
Given a change object, return the value of the Canceled States property, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeItem-- Returns:
- WTCollection. Guaranteed non-null, but could be empty
- Throws:
WTException
-
getCompletedStates
Given a change object, return the value of the Completed States property, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeItem-- Returns:
- WTCollection. Guaranteed non-null, but could be empty
- Throws:
WTException
-
getTerminalStates
Given a change object, return the union of the Completed States property and the Canceled States property, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeItem-- Returns:
- WTCollection. Guaranteed non-null, but could be empty
- Throws:
WTException
-
getTerminalStates
Given a WTCollection of change objects, return the union of the Completed States property and the Canceled States property for each one, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeItems-- Returns:
- WTKeyedMap<ChangeItem, Set
>. Guaranteed non-null. - Throws:
WTException
-
getCompletedStates
Given a collection of change objects, return the value of the Completed States property for each one, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeItems-- Returns:
- WTKeyedMap<ChangeItem, Set
>. Guaranteed non-null. - Throws:
WTException
-
getCanceledStates
Given a collection of change objects, return the value of the Canceled States property for each one, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeItems-- Returns:
- WTKeyedMap<ChangeItem, Set
>. Guaranteed non-null. - Throws:
WTException
-
getChangeActivityImplementationStates
Set<State> getChangeActivityImplementationStates(WTChangeActivity2 changeActivity) throws WTException Given a change activity object, return the Implementation States property, as defined for this particular type in the Type and Attribute Manager.
Supported API: true- Parameters:
changeActivity-- Returns:
- Throws:
WTException
-
#getReviewOption()