corelib.services.web.components.mailinglists
Class MailingFilter

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.mailinglists.MailingFilter

public abstract class MailingFilter
extends WebComponent

Extends this class to fixe a filter for your mailing list edition. The mailing editor will be used this class to list all emails entries which corresponds to the criteria. You override the equals method in your class.

Since:
0.4.0
Author:
Dominique Liard & Alexia Ramaļoli

Field Summary
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
MailingFilter()
           
 
Method Summary
abstract  boolean acceptEntry(MailingEntry mailingEntry)
          Return if the mailing entry is enable for this filter or not.
 java.lang.String getLabel()
          Returns the Filter label, which is use by MailingListEditor.
 void setLabel(java.lang.String label)
          Changes the Filter label.
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailingFilter

public MailingFilter()
Method Detail

acceptEntry

public abstract boolean acceptEntry(MailingEntry mailingEntry)
Return if the mailing entry is enable for this filter or not.

Parameters:
mailingEntry - MailingEntry.
Returns:
The mailing entry accepted boolean.

getLabel

public java.lang.String getLabel()
Returns the Filter label, which is use by MailingListEditor.

Returns:
The Filter label.
Since:
0.4.1

setLabel

public void setLabel(java.lang.String label)
Changes the Filter label.

Parameters:
label - The new Filter label.
Since:
0.4.1


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.