Package wt.org.delegate
Class ReplicatedUserForActivationByUserNameMatchDelegate
java.lang.Object
wt.org.delegate.ReplicatedUserForActivationByUserNameMatchDelegate
- All Implemented Interfaces:
PrincipalMatchDelegate
public class ReplicatedUserForActivationByUserNameMatchDelegate
extends Object
implements PrincipalMatchDelegate
Delegate for finding a replicated user on the local system, matching the user
that is being created, for the purpose of activating/converting to an active user.
This delegate implementation adheres to the contract elaborated in the
For more information about configuring a delegate service for finding replicated users, for activation, see the Windchill Customization Guide.
Supported API: true
Extendable: false
This delegate implementation adheres to the contract elaborated in the
PrincipalMatchDelegate interface. This delegate implementation
is specifically for finding a replicated user matching a user that is being created, using
a pre-determined set of match rules. See the API match(WTPrincipal querySpec)
in this class for specifics on the rules applied in this implementation.
For more information about configuring a delegate service for finding replicated users, for activation, see the Windchill Customization Guide.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionmatch(WTPrincipal querySpec) Finds a matching Replicated user based on values populated in the input principal, which acts as the query specification.
-
Method Details
-
match
Finds a matching Replicated user based on values populated in the input principal, which acts as the query specification.
The input principal must be a WTUser object with the following field populated with a valid value, which will be used for finding a matching Replicated user:- UserName
- Alternate UserNames (Optional)
Following rules are applied in finding a matching Replicated user:- If a UserName is provided, a Replicated user with a matching UserName or Alternate UserNames(if available) will be returned, if found
- If no match is found, a NULL result will be returned
- If no UserName can be read from the querySpec or if the querySpec is not a WTUser, a NULL result will be returned
Exception conditions:- AmbiguousPrincipalException - If multiple matches are found
PrincipalMatchDelegate
Supported API: true- Specified by:
matchin interfacePrincipalMatchDelegate- Parameters:
querySpec-- Returns:
- Throws:
WTException
-