public interface ListEmailRecipientsInMemberGroupTaskCmd extends com.ibm.commerce.command.TaskCommand, EmailRecipientSupplier
TaskCommand
that is to be used as an
EmailRecipientSupplier
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
static java.lang.String |
defaultCommandClassName
Default implementation class.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getEmailRecipients()
Gets the list of EmailRecipients in the group.
|
void |
setMemberGroupId(java.lang.Long memberGroupId)
Sets the member group ID of the customer segment from which to create a list of
EmailRecipient objects. |
void |
setMemberGroupIds(java.lang.String[] mbrGrpIds,
java.lang.String anyOrAll)
This method sets the additonal member group IDs of the customer segment to which to
send the the bulk email.
|
void |
setQueryOnly(boolean flag)
Defers executing the query generated for querying members of the group to the caller.
|
void |
setStoreEntityId(java.lang.Integer storeId)
Sets the store entity ID.
|
void |
setUserId(java.lang.Long userId)
Sets the user ID.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
getQuery
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
java.util.List getEmailRecipients()
getEmailRecipients
in interface EmailRecipientSupplier
EmailRecipient
objects created from the customer segment.void setMemberGroupId(java.lang.Long memberGroupId)
EmailRecipient
objects.memberGroupId
- The member group ID.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 send the bulk email.anyOrAll
- Should the email be sent to the customers in each of the specified groups (any), or
should the email be sent to those who are in all of the specified groups (all). Valid values are: any, all.void setQueryOnly(boolean flag)
flag
- Set to true if only the SQL query is required, false otherwise.void setStoreEntityId(java.lang.Integer storeId)
storeId
- The store entity ID.void setUserId(java.lang.Long userId)
userId
- The user ID.