Interface ProcessProfileTypeCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface ProcessProfileTypeCmd
    extends TaskCommand
    This task command is called by UserRegistration commands to determine the profileType of a user during registration.

    This task command is called after the ProcessParentMember task command is called.
    The default logic of this task command is:
    If profileType is specified in requestProperties, check if it equals either 'C' or 'B'. If it does not equal either of these values, an exception is thrown.
    If profileType is not specified in requestProperties, and parentMemberId is null or is Default Organization, then set profileType to 'C', otherwise, set profileType to 'B'.
    The default logic can be overwritten.

    Inputs of this task command are:

     - sets request properties which may or may not contain profileType property, but should contain
       parentMemberId property, otherwise, an exception is thrown.
    Outputs of this task command are:
     - returns request properties which contains the profileType property.
     - gets the profileType.
    • Field Detail


        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • getProfileType

        java.lang.String getProfileType()
        Gets the profile type.
        the profile type.
      • getRequestProperties

        TypedProperty getRequestProperties()
        Gets the request properties.
        The request properties.
      • setRequestProperties

        void setRequestProperties(TypedProperty aRequestProperties)
        Sets the request properties.
        aRequestProperties - The request properties.