Class DefaultParticipantConfiguration
java.lang.Object
com.ptc.windchill.enterprise.wizardParticipant.configuration.DefaultParticipantConfiguration
- All Implemented Interfaces:
ParticipantConfiguration
- Direct Known Subclasses:
PromotionParticipantConfiguration
The default delegate for displaying the wizard participant selection table
with different configurations.
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.Default is to not hide and workflow role columns for display.getFixedRoleSelection(FormDataHolder formData) The mapping of fixed initially selected participant roles to work flow process roles.getInitialRoleSelections(FormDataHolder formData) The mapping of initially selected participants to work flow process roles.The mapping of initially selected participants to work flow process roles.getWorkflowResourcePools(FormDataHolder formData) The resource pools used to display the list of participants available for selection.getWorkFlowTemplate(FormDataHolder formData) Looks up the life cycle template work flow process template from the selected object type in the wizard.booleanisSelectUsersInGroups(FormDataHolder formData) When true users can be selected within groups.
-
Method Details
-
getWorkFlowTemplate
Looks up the life cycle template work flow process template from the selected object type in the wizard.
Supported API: true- Specified by:
getWorkFlowTemplatein interfaceParticipantConfiguration- Throws:
WTException
-
getWorkflowResourcePools
The resource pools used to display the list of participants available for selection. Uses the work flow process template returned fromgetWorkFlowTemplate(FormDataHolder)and the context team from the container found in the form data. The map will contain the work flow role as the key and value as a set of supported object types:
-
invalid reference
wt.inf.team.ContainterTeam TeamTemplateTeamWTGroup
Supported API: true- Specified by:
getWorkflowResourcePoolsin interfaceParticipantConfiguration- Throws:
WTException
-
-
getInitialRoleSelections
The mapping of initially selected participants to work flow process roles. These roles can be unselected by the user. Uses the roles on the object team template defined in the object initialization rules.
Supported API: true- Specified by:
getInitialRoleSelectionsin interfaceParticipantConfiguration- 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
-
getInitialRolesFromObjectTeamTemplate
public Map<Role,Set<Role>> getInitialRolesFromObjectTeamTemplate(FormDataHolder formData) throws WTException The mapping of initially selected participants to work flow process roles. These roles can be unselected by the user. Uses the roles on the object team template defined in the object initialization rules. This method is called by.getInitialRoleSelections(FormDataHolder)
Note that this method is available for customization support for case like the promotion request whereoverridden to always return empty.getInitialRoleSelections(FormDataHolder)
Supported API: true- Throws:
WTException
-
getFixedRoleSelection
The mapping of fixed initially selected participant roles to work flow process roles. These roles cannot be unselected by the user. Default is that no roles are marked as fixed.
Supported API: true- Specified by:
getFixedRoleSelectionin interfaceParticipantConfiguration- Returns:
- an empty map
- Throws:
WTException
-
isSelectUsersInGroups
When true users can be selected within groups. Default is to support selecting users within groups.
Supported API: true- Specified by:
isSelectUsersInGroupsin interfaceParticipantConfiguration- 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. Defaults to no roles excluded.
Supported API: true- Specified by:
excludedWorkflowRolesin interfaceParticipantConfiguration- Returns:
- empty set
- Throws:
WTException
-
excludedWorkflowRolesForDisplay
Default is to not hide and workflow role columns for display.
Supported API: true- Specified by:
excludedWorkflowRolesForDisplayin interfaceParticipantConfiguration- Parameters:
formData-- Returns:
- empty set
- Throws:
WTException
-