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, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public OrganizationAccessBean getParentMember()
getParentMember
in interface ProcessParentMemberCmd
public java.lang.String getParentMemberType()
getParentMemberType
in interface ProcessParentMemberCmd
public TypedProperty getRequestProperties()
getRequestProperties
in interface ProcessParentMemberCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- If there is a problem finding the parent organization.public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface ProcessParentMemberCmd
aRequestProperties
- the request properties.