public interface ListUsersInStoreMemberGroupCmd 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.String |
getQuery()
Returns the SQL query used to generate the list of members in the group.
|
UserAccessBean[] |
getUsers()
Returns the user access beans for the users that belong to the specified member group.
|
void |
setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
Sets the member group access bean.
|
void |
setMemberGroupIds(java.lang.String[] mbrGrpIds,
java.lang.String anyOrAll)
This method sets the additonal member group IDs of the customer segments to which to
return the list of users.
|
void |
setMemberGroupName(java.lang.String memberGroupName)
Sets the member group name.
|
void |
setMemberGroupOwnerId(java.lang.Long ownerId)
Sets the owner of the member group.
|
void |
setQueryOnly(boolean flag)
Defers executing the query generated for querying members of the group to the caller.
|
void |
setQueryWrapper(java.lang.String queryWrapper)
Wraps the query used to determine the members of the group with the passed parameter.
|
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 setMemberGroupName(java.lang.String memberGroupName)
memberGroupName
- The name of the member group.void setMemberGroupOwnerId(java.lang.Long ownerId)
memberGroupOwnerId
- The member id of the owner of the member group.void setMemberGroupAccessBean(MemberGroupAccessBean memberGroupAccessBean)
memberGroupAccessBean
- The member group access bean.UserAccessBean[] getUsers()
void setQueryWrapper(java.lang.String queryWrapper)
queryWrapper
- the query with which to wrap the original query.void setQueryOnly(boolean flag)
flag
- Set to true if only the SQL query is required, false otherwise.java.lang.String getQuery()
void setMemberGroupIds(java.lang.String[] mbrGrpIds, java.lang.String anyOrAll)
memberGroupId
to this command.mbrGrpIds
- The set of IDs of the member groups to which to return the list of users.anyOrAll
- Should the list of users be the customers in each of the specified groups (any), or
should the list of users be those who are in all of the specified groups (all). Valid values are: any, all.