com.jalios.jcms
Class Member.UsageSelector

java.lang.Object
  extended by com.jalios.jcms.Member.UsageSelector
All Implemented Interfaces:
DataSelector
Direct Known Subclasses:
Member.AccountSelector, Member.ContactSelector
Enclosing class:
Member

public static class Member.UsageSelector
extends Object
implements DataSelector

Select a subset of members matching the specified Usage.

Since:
jcms-6.1.0

Field Summary
 
Fields inherited from interface com.jalios.jcms.DataSelector
REVISION
 
Constructor Summary
Member.UsageSelector(int usage)
          Build a new UsageSelector with the specified parameters
 
Method Summary
 boolean isSelected(Data data)
          Evaluates if a data must be selected or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Member.UsageSelector

public Member.UsageSelector(int usage)
Build a new UsageSelector with the specified parameters

Parameters:
usage - the usage the Member MUST match in order to be selected.
Method Detail

isSelected

public boolean isSelected(Data data)
Description copied from interface: DataSelector
Evaluates if a data must be selected or not.

Specified by:
isSelected in interface DataSelector
Parameters:
data - the data to evaluate.
Returns:
true if the data is selected. False otherwise.


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