com.ibm.commerce.usermanagement.commands
Interface ProcessParentMemberCmd

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

public interface ProcessParentMemberCmd
extends TaskCommand

This task command is used to calculate parentMemberId from given parentMember property.

parentMember property can be encrypted parentMemberId or DN.
If this task command is called by UserRegistrationAdminAdd/Update command, parentMember can also be un-encrypted parentMemberId.

Inputs of this task command are:

 setRequestProperties(TypedProperty)
 - set request properties which should contain parentMember property. It may also contain
   parentMemberId (it will be ignored if the task command is not called by 
   UserRegistrationAdminAdd/Upate command).
 
Outputs of this task command is:
 getRequestProperties(TypedProperty)
 - returns request properties which contains calculated parentMemberId property. parentmember
   property is removed.
 public OrganizationAccessBean getParentMember()
 - returns the parent OrganizationAccessBean
 public String getParentMemberType()
 - returns the type of parent organization ('O' or 'OU'). 
 


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 OrganizationAccessBean getParentMember()
          Gets the parent OrganizationAccessBean.
 java.lang.String getParentMemberType()
          Gets the type of parent organization ('O' or 'OU').
 TypedProperty getRequestProperties()
          Gets the processed request properties which contains calculated parentMemberId property.
 void setRequestProperties(TypedProperty aRequestProperties)
          Set the request properties which should contain parentMember property.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getParentMember

public OrganizationAccessBean getParentMember()
Gets the parent OrganizationAccessBean.
Returns:
The parent OrganizationAccessBean

getParentMemberType

public java.lang.String getParentMemberType()
Gets the type of parent organization ('O' or 'OU').
Returns:
The type of parent organization

getRequestProperties

public TypedProperty getRequestProperties()
Gets the processed request properties which contains calculated parentMemberId property. parentmember property is removed.
Returns:
The request properties

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
Set the request properties which should contain parentMember property. It may also contain parentMemberId (it will be ignored if the task command is not called by UserRegistrationAdminAdd/Upate command).
Parameters:
aRequestProperties - The request properties