java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.usermanagement.commands.ProcessParentMemberCmdImpl
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 | CLASSNAME The name of this implementation of the command. |
static java.lang.String | COPYRIGHT IBM Copyright notice field. |
protected OrganizationAccessBean | iabParentOrgEntity The parent organization |
protected java.lang.String | istrParentMemberType The parent organization member type. |
protected TypedProperty | requestProperties The request properties. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.usermanagement.commands.ProcessParentMemberCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
ProcessParentMemberCmdImpl() |
Method Summary | |
protected void | checkParentMemberId(java.lang.String astrParentMemberId, java.lang.String astrPropertyName) Checks whether the specified member identifier is a valid organization or organizational unit. |
OrganizationAccessBean | getParentMember() Returns the parent member. |
java.lang.String | getParentMemberType() Returns the parent member type. |
TypedProperty | getRequestProperties() Returns the request properties. |
void | performExecute() Performs the business logic. |
void | setRequestProperties(TypedProperty aRequestProperties) Sets the request properties. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected TypedProperty requestProperties
protected OrganizationAccessBean iabParentOrgEntity
protected java.lang.String istrParentMemberType
Constructor Detail |
public ProcessParentMemberCmdImpl()
Method Detail |
protected void checkParentMemberId(java.lang.String astrParentMemberId, java.lang.String astrPropertyName) throws ECException
public OrganizationAccessBean getParentMember()
public java.lang.String getParentMemberType()
public TypedProperty getRequestProperties()
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty aRequestProperties)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.