com.jalios.jcms.policy
Class AbstractPolicyFilter

java.lang.Object
  extended by com.jalios.jcms.policy.AbstractPolicyFilter
All Implemented Interfaces:
PluginComponent, PolicyFilter, Comparable
Direct Known Subclasses:
BasicChannelPolicyFilter, BasicCtxMenuPolicyFilter, BasicExportPolicyFilter, BasicImportPolicyFilter, BasicLuceneSearchEnginePolicyFilter, BasicMailPolicyFilter, BasicMemberPolicyFilter, BasicMemberQueryFilter, BasicPluginPolicyFilter, BasicPortalPolicyFilter, BasicPublicationFollowerPolicyFilter, BasicRightPolicyFilter, BasicStatPolicyFilter, BasicTemplatePolicyFilter, BasicThumbnailPolicyFilter, BasicWebdavPolicyFilter, BasicWidgetPolicyFilter, BasicWikiPolicyFilter, BasicWizardPolicyFilter, BasicWysiwygPolicyFilter

public abstract class AbstractPolicyFilter
extends Object
implements PolicyFilter, Comparable


Field Summary
protected  int order
           
 
Fields inherited from interface com.jalios.jcms.plugin.PluginComponent
REVISION
 
Constructor Summary
AbstractPolicyFilter()
           
 
Method Summary
 int compareTo(Object obj)
          Compare this object with the specified object for order.
 boolean equals(Object obj)
          Indicates wheter some other object is "equal to" this one.
 int getOrder()
          Returns object orders value.
 void setOrder(int order)
          Sets the component order
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
 

Field Detail

order

protected int order
Constructor Detail

AbstractPolicyFilter

public AbstractPolicyFilter()
Method Detail

getOrder

public final int getOrder()
Returns object orders value.

Returns:
int object orders value.

setOrder

public final void setOrder(int order)
Sets the component order

Parameters:
order -

compareTo

public final int compareTo(Object obj)
Compare this object with the specified object for order.

Specified by:
compareTo in interface Comparable
Parameters:
obj - the Object to be compared.
See Also:
Comparable.compareTo(java.lang.Object)

equals

public final boolean equals(Object obj)
Indicates wheter some other object is "equal to" this one. The comparison is performed with compareTo() method.

Overrides:
equals in class Object
Parameters:
obj - the Object to be compared.


Copyright © 2001-2010 Jalios SA. All Rights Reserved.