public class SendMsgCmdImpl extends TaskCommandImpl implements SendMsgCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
SendMsgCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | addAllUsersInMemberGroup(java.lang.Long aMemberGroup)
This method is called by addMemberGroup and it adds member group information to get recipient data.
|
void | addContentPart(byte[] aMsgContentPart)
This method adds attachments to an e-mail message.
|
void | addContentPart(byte[] aMsgContentPart, java.lang.String aMsgContentPartName, java.lang.String aMsgContentPartType)
This method adds attachments to an e-mail message.
|
protected void | addExplicitUsersInMemberGroup(java.lang.Long aMemberGroup)
Deprecated.
This method is replaced by #addAlUsersInMemberGroup(Long).
|
void | addMember(java.lang.Long aMember)
This method adds member information to get recipient data.
|
void | addMemberGroup(java.lang.Long aMemberGroup)
This method adds member group information to get recipient data.
|
void | addSecureMember(java.lang.Long aMember)
This method adds secure member ID to get recipient data.
|
void | addStore(java.lang.Integer astore_id)
This method adds a store.
|
void | compose(java.lang.String aView, CommandContext aCommandContext, TypedProperty aParms)
This method provides message composition services through the use of JSP templates.
|
byte[] | getContent(java.lang.Integer transport, java.lang.String language)
This method gets content of the message by the transport ID and language ID.
|
java.lang.String | getMsgTypeName()
This method returns the name of the message type.
|
byte[] | getResult()
This method returns the result of a sendReceive sending operation.
|
boolean | isReadyToCallExecute()
This method checks if the command is ready to call Execute.
|
void | performExecute()
The business logic for this controller command.
|
void | remTransport(java.lang.Integer aRemoveTransportID)
This method allows the user to have transport(s) removed.
|
void | sendImmediate()
This method sets the sending mode to send the message immediately to the recipients.
|
void | sendReceiveImmediate()
This method sets the sending mode to send the message and wait for a reply.
|
void | sendTransacted()
This method sets the sending mode such that it sends the message in transacted mode.
|
void | setConfigData(java.lang.String aKey, java.lang.String aValue)
This method allows the user to configure the parameters of transport services used for the message.
|
void | setConfigNLData(java.lang.String aKey, java.lang.String aLanguage, java.lang.String aValue)
This method allows the user to configure national language specific parameters of transport services used for the message.
|
void | setContent(java.lang.Integer aTransportID, java.lang.String aLanguageID, byte[] aMsgContent)
This method allows a user to set the content body of a message using byte[] format.
|
void | setContent(java.lang.Integer aTransportID, java.lang.String aLanguageID, java.lang.String aMsgContent)
This method allows a user to set the content body of a message using String format.
|
void | setMsgType(java.lang.Integer aMsgType)
Deprecated.
This method is replaced by setMsgType(java.lang.String).
|
void | setMsgType(java.lang.String aMsgType)
This method sets the message type required to initialize the messaging system.
|
void | setPartialSend(java.lang.Boolean aPartialSendFlag)
This method allows partial sends when using e-mail as transport.
|
void | setPriority(java.lang.Integer aPriority)
This method sets the priority which can be used when initializing the messaging system.
|
void | setStoreID(java.lang.Integer aStoreID)
This method sets the store ID required to initialize the messaging system.
|
void | validateParameters()
This method checks if message type and store ID are set.
|
public static final java.lang.String COPYRIGHT
public void addContentPart(byte[] aMsgContentPart)
public void addContentPart(byte[] aMsgContentPart, java.lang.String aMsgContentPartName, java.lang.String aMsgContentPartType)
public void addMember(java.lang.Long aMember)
public void addMemberGroup(java.lang.Long aMemberGroup)
protected void addExplicitUsersInMemberGroup(java.lang.Long aMemberGroup)
protected void addAllUsersInMemberGroup(java.lang.Long aMemberGroup)
public void addSecureMember(java.lang.Long aMember)
public void addStore(java.lang.Integer astore_id)
public void compose(java.lang.String aView, CommandContext aCommandContext, TypedProperty aParms)
public byte[] getContent(java.lang.Integer transport, java.lang.String language) throws ECSystemException
public java.lang.String getMsgTypeName()
public byte[] getResult()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void remTransport(java.lang.Integer aRemoveTransportID)
public void sendImmediate()
public void sendReceiveImmediate()
public void sendTransacted()
public void setConfigData(java.lang.String aKey, java.lang.String aValue)
public void setConfigNLData(java.lang.String aKey, java.lang.String aLanguage, java.lang.String aValue)
public void setContent(java.lang.Integer aTransportID, java.lang.String aLanguageID, byte[] aMsgContent)
public void setContent(java.lang.Integer aTransportID, java.lang.String aLanguageID, java.lang.String aMsgContent) throws ECSystemException
public void setMsgType(java.lang.Integer aMsgType)
public void setMsgType(java.lang.String aMsgType)
public void setPartialSend(java.lang.Boolean aPartialSendFlag)
public void setPriority(java.lang.Integer aPriority)
public void setStoreID(java.lang.Integer aStoreID)
public void validateParameters() throws ECException