public class ListMemberGroupsForUserCmdImpl extends TaskCommandImpl implements ListMemberGroupsForUserCmd, SegmentConstants
Modifier and Type | Field and Description |
---|---|
protected boolean | _findByMemberGroupUsageTypeOnly
A flag to specify whether to find the member groups by MemberGroupUsageType only or to find by MemberGroupUsageType and Store.
|
protected java.lang.Long[] | _memberGroupIds
An array of member group IDs.
|
protected java.lang.String[] | _memberGroups
An array of mamber group names.
|
protected java.lang.Integer | _memberGroupUsageTypeId
The member group usage type ID.
|
protected java.lang.Integer[] | _storeIds
An array of store IDs.
|
protected UserAccessBean | _user
An instance of UserAccessBean.
|
Constructor and Description |
---|
ListMemberGroupsForUserCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] | getMemberGroupIds()
Gets the array of member group IDs.
|
java.lang.String[] | getMemberGroups()
Gets the array of member group names.
|
boolean | isReadyToCallExecute()
Checks to see if the command is ready to call.
|
void | performExecute()
Performs the execution of the command.
|
void | performExecuteOnCacheMiss()
Performs the execution of the command without obtaining results from the cache.
|
void | reset()
This method is called after a command has been executed.
|
void | setFindByMemberGroupUsageTypeOnly(boolean bFindByUsageTypeOnly)
Set a flag to specify whether to find the member groups by MemberGroupUsageType only or to find by MemberGroupUsageType and Store.
|
void | setMemberGroupUsageTypeId(java.lang.Integer memberGroupUsageTypeId)
Sets the member group usage type ID.
|
void | setOutputProperties(com.ibm.websphere.command.TargetableCommand aCachedCommand)
Sets the output properties by copying results from a previously cached command.
|
void | setStoreId(java.lang.Integer storeId)
Sets the store ID that is used to find member group from the database.
|
void | setStoreIds(java.lang.Integer[] storeIds)
Sets the store IDs that are used to find member group from the database.
|
void | setUser(UserAccessBean user)
Sets the information of the user.
|
protected UserAccessBean _user
protected java.lang.Integer _memberGroupUsageTypeId
protected java.lang.String[] _memberGroups
protected java.lang.Long[] _memberGroupIds
protected boolean _findByMemberGroupUsageTypeOnly
protected java.lang.Integer[] _storeIds
public void reset()
public void setUser(UserAccessBean user)
public void setMemberGroupUsageTypeId(java.lang.Integer memberGroupUsageTypeId)
public java.lang.String[] getMemberGroups()
public java.lang.Long[] getMemberGroupIds()
public void setStoreId(java.lang.Integer storeId)
public void setStoreIds(java.lang.Integer[] storeIds)
public boolean isReadyToCallExecute()
public void setFindByMemberGroupUsageTypeOnly(boolean bFindByUsageTypeOnly)
public void performExecute() throws ECException
public void performExecuteOnCacheMiss() throws ECException
public void setOutputProperties(com.ibm.websphere.command.TargetableCommand aCachedCommand)