Class MailingListComponent
java.lang.Object
org.silverpeas.components.mailinglist.model.MailingListComponent
- All Implemented Interfaces:
MessageListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckSender(String email) Checks if the sender is authorized to send to this mailing list.Returns the Silverpeas component's id.voidonMessage(MessageEvent event) Method called when new messages are available.
-
Constructor Details
-
MailingListComponent
-
-
Method Details
-
checkSender
Description copied from interface:MessageListenerChecks if the sender is authorized to send to this mailing list.- Specified by:
checkSenderin interfaceMessageListener- Returns:
- true if the sender is authorized - false otherwise.
-
getComponentId
Description copied from interface:MessageListenerReturns the Silverpeas component's id. This is used to save attachements.- Specified by:
getComponentIdin interfaceMessageListener- Returns:
- the Silverpeas component's id.
-
onMessage
Description copied from interface:MessageListenerMethod called when new messages are available.- Specified by:
onMessagein interfaceMessageListener- Parameters:
event- the message event.
-