com.ibm.commerce.emarketing.commands
Interface OptEmailTaskCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
OptEmailTaskCmdImpl

public interface OptEmailTaskCmd
extends TaskCommand

The interface for any TaskCommand that is to be used for recording users opting out of receiving e-mail activities.


Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static java.lang.String defaultCommandClassName
          The name of the default implementation of this interface.
 
Method Summary
 void setStoreEntityId(java.lang.Integer storeEntityId)
          Sets the store entity ID.
 void setUserReceiveEmail(boolean userReceiveEmail)
          Sets whether the user wants to receive e-mail (true) or not (false)
 void setUsersId(java.lang.Long usersId)           sets the users ID
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The name of the default implementation of this interface.
See Also:
Constant Field Values
Method Detail

setUsersId

public void setUsersId(java.lang.Long usersId)
sets the users ID
Parameters:
usersId - the users ID

setStoreEntityId

public void setStoreEntityId(java.lang.Integer storeEntityId)
Sets the store entity ID.
Parameters:
storeEntityId - the store entity ID

setUserReceiveEmail

public void setUserReceiveEmail(boolean userReceiveEmail)
Sets whether the user wants to receive e-mail (true) or not (false)
Parameters:
userReceiveEmail - true if the user wants to receive e-mail; false otherwise.