public class AddMemberGroupMembersCmdImpl extends TaskCommandImpl implements AddMemberGroupMembersCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
AddMemberGroupMembersCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
enableContentManagement(boolean enabled)
Indicates whether Content Management flow should be used for the command
|
java.lang.Long |
getMemberGroupId()
Gets the ID of this member group.
|
boolean |
isReadyToCallExecute()
Checks to see if the command is ready to call.
|
void |
performExecute()
Performs the execution of the command.
|
void |
setCustomerId(java.lang.String customerId)
Sets the customer ID.
|
void |
setCustomerIds(java.lang.String[] customerIds)
Sets the custom array of customer ID values.
|
void |
setExclude(java.lang.String exclude)
Sets the exclude flag.
|
void |
setField1(java.lang.String field1)
Sets the custom field 1 value.
|
void |
setField1s(java.lang.String[] field1s)
Sets the custom array of field 1 values.
|
void |
setMemberGroupId(java.lang.Long memberGroupId)
Sets the member group ID.
|
void |
setMemberIds(java.lang.Long[] memberIds)
Sets the member IDs.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, 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 void enableContentManagement(boolean enabled)
enableContentManagement
in interface AddMemberGroupMembersCmd
enabled
- true will use the Content Management flowpublic void setMemberGroupId(java.lang.Long memberGroupId)
setMemberGroupId
in interface AddMemberGroupMembersCmd
memberGroupId
- the Id of the membergroup.public void setMemberIds(java.lang.Long[] memberIds)
setMemberIds
in interface AddMemberGroupMembersCmd
memberIds
- the IDs of the members to be added.public void setExclude(java.lang.String exclude)
setExclude
in interface AddMemberGroupMembersCmd
exclude
- exclude flag of the memberspublic void setField1(java.lang.String field1)
setField1
in interface AddMemberGroupMembersCmd
field1
- custom field 1public void setField1s(java.lang.String[] field1s)
setField1s
in interface AddMemberGroupMembersCmd
field1s
- custom array of field 1 values. If field1s is not found code uses setField1 for all the memberspublic void setCustomerId(java.lang.String customerId)
setCustomerId
in interface AddMemberGroupMembersCmd
customerId
- the customer Id of mbrgrpmbr table.public void setCustomerIds(java.lang.String[] customerIds)
setCustomerIds
in interface AddMemberGroupMembersCmd
customerIds
- custom array of customer Ids values. If customerIds is not found code uses setCustomerId for all the memberspublic java.lang.Long getMemberGroupId()
getMemberGroupId
in interface AddMemberGroupMembersCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
true
if the command is ready to gopublic void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- Thrown when the AddMemberGroupMembersCmd
implementation can not execute successfully.