LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

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
 
Method Summary
 boolean sendMail(LyMailController controller, LyClassInfo toClass, LyFieldInfo toField, LyObjectList selectedObjects)
          Sends a mail message.
 boolean sendMail(LyMailController controller, LyObjectList selectedUsers, LyFieldInfo toField)
          Sends a mail message.
 
Methods inherited from interface leon.app.behaviorinterface.LyUserInputBehaviorInterface
userInputDemand
 
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface
free, handleDemand, init
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

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 controller
toClass - 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 controller
selectedUsers - the list of recipient users for a custom mail
toField - 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

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com