Class PromotionParticipantConfiguration
java.lang.Object
com.ptc.windchill.enterprise.wizardParticipant.configuration.DefaultParticipantConfiguration
com.ptc.windchill.enterprise.maturity.configuration.PromotionParticipantConfiguration
- All Implemented Interfaces:
ParticipantConfiguration
The configuration delegate for displaying the promotion wizard participant
selection table.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionexcludedWorkflowRoles(FormDataHolder formData) Use determine if only a single user should fulfill the role of the owner and remove any users who are acting as owners.Using the selected workflow template determines if the "hideFixedRoles" variable is set to true for hiding all fixed roles from display.getFixedRoleSelection(FormDataHolder formData) Given the form data returns the initially selected promotion request participants.getInitialRoleSelections(FormDataHolder formData) The mapping of initially selected participants to work flow process roles.booleanisSelectUsersInGroups(FormDataHolder formData) If the "Group Members Display" promotion preference is set to Yes the users can be selected within groups.Methods inherited from class com.ptc.windchill.enterprise.wizardParticipant.configuration.DefaultParticipantConfiguration
getInitialRolesFromObjectTeamTemplate, getWorkflowResourcePools
-
Method Details
-
getFixedRoleSelection
Given the form data returns the initially selected promotion request participants. The keys in the map returned are the roles and the values are the list of resource pool roles.
If the role is mapped to another role via promotion "Fixed Roles For Promote" preference, then we get the initially selected participants from the mapped role. Otherwise we derive the initially selected participants from the given role.
Supported API: true- Specified by:
getFixedRoleSelectionin interfaceParticipantConfiguration- Overrides:
getFixedRoleSelectionin classDefaultParticipantConfiguration- Parameters:
formData-- Returns:
- a map of initially selected participants
- Throws:
WTException
-
isSelectUsersInGroups
If the "Group Members Display" promotion preference is set to Yes the users can be selected within groups.
Supported API: true- Specified by:
isSelectUsersInGroupsin interfaceParticipantConfiguration- Overrides:
isSelectUsersInGroupsin classDefaultParticipantConfiguration- Returns:
- true
- Throws:
WTException
-
excludedWorkflowRoles
Use determine if only a single user should fulfill the role of the owner and remove any users who are acting as owners. Default is to exclude the OWNER role.
Supported API: true- Specified by:
excludedWorkflowRolesin interfaceParticipantConfiguration- Overrides:
excludedWorkflowRolesin classDefaultParticipantConfiguration- Returns:
- true
- Throws:
WTException
-
excludedWorkflowRolesForDisplay
Using the selected workflow template determines if the "hideFixedRoles" variable is set to true for hiding all fixed roles from display. The workflow template variable "overrideFixedRoleDisplay" can be used in conjunction with the "hideFixedRoles" variable in order to override the filtered fixed roles. To override more than one role use the "|" to separate the roles.
Supported API: true- Specified by:
excludedWorkflowRolesForDisplayin interfaceParticipantConfiguration- Overrides:
excludedWorkflowRolesForDisplayin classDefaultParticipantConfiguration- Parameters:
formData-- Returns:
- empty set
- Throws:
WTException
-
getInitialRoleSelections
The mapping of initially selected participants to work flow process roles. These roles can be unselected by the user. Default is to return an empty map.
Supported API: true- Specified by:
getInitialRoleSelectionsin interfaceParticipantConfiguration- Overrides:
getInitialRoleSelectionsin classDefaultParticipantConfiguration- Returns:
- a map where the key is the participant role and the value is a set of work flow roles to be selected.
- Throws:
WTException
-