leon.app.behaviorinterface
Interface LyMailBehaviorInterface
- All Superinterfaces:
- LyActionBehaviorInterface, LyBehaviorInterface, LyUserInputBehaviorInterface
- All Known Implementing Classes:
- LyMailBehavior
public interface LyMailBehaviorInterface
- extends LyUserInputBehaviorInterface
This interface defines methods for the behavior of a mail action.
- See Also:
LyMailController
Field Summary |
static java.lang.String |
__VERSION
File version |
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface |
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction |
__VERSION
static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
sendMail
boolean sendMail(LyMailController controller,
LyClassInfo toClass,
LyFieldInfo toField,
LyObjectList selectedObjects)
- Sends a mail message. This method is called when the selected objects are sent.
- Parameters:
controller
- the mail controllertoClass
- the class that contains the email address field of the email message
receivers.toField
- the class field that contains the email address of the receivers.selectedObjects
- the objects that are sent to the given receivers as the message text
- Returns:
- true if the message has been correctly sent through the given server, false otherwise
sendMail
boolean sendMail(LyMailController controller,
LyObjectList selectedUsers,
LyFieldInfo toField)
- Sends a mail message. This method is called when the selected objects describe the email
receivers.
- Parameters:
controller
- the mail controllerselectedUsers
- the list of recipient users for a custom mailtoField
- a field for all the selected users that holds their email addresses
- Returns:
- true if the message has been correctly sent through the given server, false otherwise
Website: W4 S.A., contact us: support@w4global.com