public class ProcessParentMemberCmdImpl extends TaskCommandImpl implements ProcessParentMemberCmd
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/Update command).Outputs of this task command are:
getRequestProperties(TypedProperty)
- returns request properties which contains calculated parentMemberId property. The parentmember
property is removed.
public OrganizationAccessBean getParentMember()
- returns the parent OrganizationAccessBean
public String getParentMemberType()
- returns the type of parent organization ('O' or 'OU').
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this implementation of the command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME, REQUEST_PARAM_APPENDROOTORGANIZATIONDN, REQUEST_PARAM_PARENTMEMBER, REQUEST_PARAM_PARENTMEMBERID, RESPONSE_PARAM_PARENTMEMBERID| Constructor and Description |
|---|
ProcessParentMemberCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public OrganizationAccessBean getParentMember()
getParentMember in interface ProcessParentMemberCmdpublic java.lang.String getParentMemberType()
getParentMemberType in interface ProcessParentMemberCmdpublic TypedProperty getRequestProperties()
getRequestProperties in interface ProcessParentMemberCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - If there is a problem finding the parent organization.public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties in interface ProcessParentMemberCmdaRequestProperties - the request properties.