This task command is called by UserRegistration commands to determine the profileType of a user during registration.
This task comand is called after the ProcessParentMember task command being called. The default logic of this task command is: If profileType is found in requestProperties, check if it equals to either 'C' or 'B', if not, an exception will thrown. If profileType is not found in requestProperties, If parentMemberId is null or is Default Organiztion, then set profileType to 'C', otherwise, set profileType to 'C'. The default logic can be overwriten.
Inputs of this task command are:
setRequestProperties(TypedProperty) - sets request properties which may or may not contain profileType property. But it should contain parentMemberId property. otherwise, an exception will thrown.Outputs of this task command is:
getRequestProperties(TypedProperty) - returns request properties which contains determined profileType property. getProfileType - gets the profile type determined.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation of this command. |
static java.lang.String |
NAME The name of this command. |
Method Summary | |
---|---|
java.lang.String |
getProfileType() Get the profile type determined. |
TypedProperty |
getRequestProperties() Get the request properties processed. |
void |
setRequestProperties(
TypedProperty aRequestProperties)
sets the request properties need to be processed. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.String getProfileType()
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty aRequestProperties)
aRequestProperties
- The request
properties