public interface ListMemberGroupsForUserCmd extends TaskCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
static java.lang.String |
defaultCommandClassName
The name of the default implementation of this interface.
|
static java.lang.String |
Name
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] |
getMemberGroupIds()
Returns the IDs of the member groups to which the specified user belongs.
|
java.lang.String[] |
getMemberGroups()
Returns the names of the member groups to which the specified user belongs.
|
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 |
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 user access bean.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String Name
static final java.lang.String defaultCommandClassName
void setUser(UserAccessBean user)
user
- The user that you want to profile.void setMemberGroupUsageTypeId(java.lang.Integer memberGroupUsageTypeId)
memberGroupUsageTypeId
- The ID of the desired usage type.java.lang.String[] getMemberGroups()
java.lang.Long[] getMemberGroupIds()
void setFindByMemberGroupUsageTypeOnly(boolean bFindByUsageTypeOnly)
false
. (i.e. find by MemberGroupUsageType and Store)true
- if find the member groups by MemberGroupUsageType onlyvoid setStoreId(java.lang.Integer storeId)
storeId
- The ID of the store.void setStoreIds(java.lang.Integer[] storeIds)
storeIds
- The ID of stores.