Interface ParticipantConfiguration
- All Known Implementing Classes:
DefaultParticipantConfiguration,PromotionParticipantConfiguration
public interface ParticipantConfiguration
To override the display of the participant selection picker in the change
task or promotion request wizard the default ParticipantConfiguration
delegate can be extended to provide the desired behavior. The default
delegate for the change task is DefaultParticipantConfiguration and for
promotion request is PromotionParticipantConfiguration. Note that directly
implementing the ParticipantConfiguration delegate is not supported. To make
use of the customized participant configuration delegate it must be first
registered in the typedservice.properties for the type of object that the
delegate is to be used for. Currently the supported types are promotion
request, change task and any sub types.
The following is the example of a delegate registered for the Promotion
Request object.
<Service context="default" name= "com.ptc.windchill.enterprise.wizardParticipant.configuration.ParticipantConfiguration" >
<Option requestor="wt.maturity.PromotionNotice" selector="wizardParticipantConfiguration" serviceClass= "com.ptc.windchill.enterprise.maturity.configuration.PromotionParticipantConfiguration" />
</Service>
Supported API: true
Extendable: false
<Service context="default" name= "com.ptc.windchill.enterprise.wizardParticipant.configuration.ParticipantConfiguration" >
<Option requestor="wt.maturity.PromotionNotice" selector="wizardParticipantConfiguration" serviceClass= "com.ptc.windchill.enterprise.maturity.configuration.PromotionParticipantConfiguration" />
</Service>
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionexcludedWorkflowRoles(FormDataHolder formData) Used to filter work flow roles.Used to hide the workflow role columns from the participant table.getFixedRoleSelection(FormDataHolder formData) The mapping of fixed initially selected participant roles to work flow process roles to be selected.getInitialRoleSelections(FormDataHolder formData) The mapping of initially selected participant roles to work flow process roles be selected.getWorkflowResourcePools(FormDataHolder formData) The resource pools used to display the list of participants available for selection.getWorkFlowTemplate(FormDataHolder formData) The work flow process template which is used to define the displayed work flow roles for selection and the resource pools used to display the list of participants.booleanisSelectUsersInGroups(FormDataHolder formData) When true users can be selected within groups.
-
Method Details
-
getWorkFlowTemplate
The work flow process template which is used to define the displayed work flow roles for selection and the resource pools used to display the list of participants.
Supported API: true- Throws:
WTException
-
getWorkflowResourcePools
The resource pools used to display the list of participants available for selection. The map will contain the work flow role as the key and value as a set of supported object types:
wt.inf.team.ContainterTeamTeamTemplateTeamWTGroup
Supported API: true- Throws:
WTException
-
getInitialRoleSelections
The mapping of initially selected participant roles to work flow process roles be selected. These roles can be unselected by the user.
Supported API: true- 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
-
getFixedRoleSelection
The mapping of fixed initially selected participant roles to work flow process roles to be selected. These roles cannot be unselected by the user.
Supported API: true- 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
-
isSelectUsersInGroups
When true users can be selected within groups.
Supported API: true- Throws:
WTException
-
excludedWorkflowRoles
Used to filter work flow roles.
Supported API: true- Throws:
WTException
-
excludedWorkflowRolesForDisplay
Used to hide the workflow role columns from the participant table. Any fixed role selections will still be processed and stored on the object team.
Supported API: true- Parameters:
formData-- Throws:
WTException
-