org.rcfaces.core.model
Class AbstractFilteredCollection
java.lang.Object
org.rcfaces.core.model.AbstractFilteredCollection
- All Implemented Interfaces:
- Iterable, Collection, IFiltredCollection, IFiltredCollection2
- Direct Known Subclasses:
- AbstractFilteredList
public abstract class AbstractFilteredCollection
- extends Object
- implements Collection, IFiltredCollection, IFiltredCollection2
- Version:
- $Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
- Author:
- Olivier Oeuillot (latest modification by $Author: jbmeslin $)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_COLLECTION
public static final Collection EMPTY_COLLECTION
EMPTY_FILTERED_COLLECTION
public static final IFiltredCollection EMPTY_FILTERED_COLLECTION
collection
protected final Collection collection
AbstractFilteredCollection
public AbstractFilteredCollection()
AbstractFilteredCollection
public AbstractFilteredCollection(SelectItem[] selecItems)
AbstractFilteredCollection
public AbstractFilteredCollection(Collection collection)
accept
protected abstract boolean accept(IFilterProperties filter,
SelectItem selectItem)
- Parameters:
filter - selectItem -
- Returns:
true if the selectItem is sent to the client.
size
public int size()
- Specified by:
size in interface Collection
add
public boolean add(Object o)
- Specified by:
add in interface Collection
addAll
public boolean addAll(Collection c)
- Specified by:
addAll in interface Collection
clear
public void clear()
- Specified by:
clear in interface Collection
contains
public boolean contains(Object o)
- Specified by:
contains in interface Collection
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAll in interface Collection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection
iterator
public Iterator iterator()
- Specified by:
iterator in interface Iterable- Specified by:
iterator in interface Collection
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll in interface Collection
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll in interface Collection
toArray
public Object[] toArray()
- Specified by:
toArray in interface Collection
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArray in interface Collection
iterator
public Iterator iterator(IFilterProperties filterProperties,
int maxNumberResult)
- Specified by:
iterator in interface IFiltredCollection
iterator
public Iterator iterator(UIComponent component,
IFilterProperties filterProperties,
int maxNumberResult)
- Specified by:
iterator in interface IFiltredCollection2
Copyright © 2006-2011 Vedana. All Rights Reserved.