Package wt.change2

Interface ChangeConfigurationService


@RemoteInterface public 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
  • Method Details

    • isSimplifiedChangeNotice

      boolean isSimplifiedChangeNotice(ChangeOrderIfc changeOrder) throws WTException
      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

      boolean getSimplifiedChangeNoticePreference(Persistable p) throws WTException
      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

      boolean isCADOnChangeNoticeForMassChangeEnforced(WTContainer container) throws WTException
      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

      boolean isSecondLevelChangeEnabled(WTContainerRef containerRef) throws WTException
      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

      boolean isProblemReportInProjectEnabled(WTContainerRef containerRef) throws WTException
      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

      boolean isVarianceInProjectEnabled(WTContainerRef containerRef) throws WTException
      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 boolean isOptionalReviewAllowed(WTContainerRef containerRef) throws WTException
      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

      String getReviewOption(String typeName) throws WTException
      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

      String getReviewOption(TypeIdentifier typeIdentifier) throws WTException
      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

      String getAssignmentMethod(TypeIdentifier typeIdentifier) throws WTException
      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

      List<State> getOptionalAssigneeReviewerStates(WTContainerRef containerRef) throws WTException
      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

      boolean getTrackingChange(WTContainerRef containerRef) throws WTException
      Get the trackingChangeItem Preference for a container.

      Supported API: true
      Parameters:
      containerRef -
      Returns:
      boolean
      Throws:
      WTException
    • getTrackingChange

      boolean getTrackingChange(Persistable persistable) throws WTException
      Get the trackingChangeItem Preference for a wt.fc.Persistable object.

      Supported API: true
      Parameters:
      persistable -
      Returns:
      boolean
      Throws:
      WTException
    • getPRtoCRCardinalityPreference

      boolean getPRtoCRCardinalityPreference(Persistable p) throws WTException
      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

      boolean getECRtoCOCardinalityPreference(Persistable p) throws WTException
      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

      String getCreateNewChangeNoticeTaskName(WTContainerRef containerRef) throws WTException
      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

      boolean isMultipleTransitionsAllowed(WTContainerRef containerRef) throws WTException
      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

      Set<State> getCanceledStates(ChangeItem changeItem) throws WTException
      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

      Set<State> getCompletedStates(ChangeItem changeItem) throws WTException
      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

      Set<State> getTerminalStates(ChangeItem changeItem) throws WTException
      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

      WTKeyedMap getTerminalStates(WTCollection changeItems) throws WTException
      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

      WTKeyedMap getCompletedStates(WTCollection changeItems) throws WTException
      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

      WTKeyedMap getCanceledStates(WTCollection changeItems) throws WTException
      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