info.magnolia.cms.gui.controlx.search
Class MultipleSearchListModel
java.lang.Object
info.magnolia.cms.gui.controlx.list.AbstractListModel
info.magnolia.cms.gui.controlx.search.AbstractSearchableListModel
info.magnolia.cms.gui.controlx.search.MultipleSearchListModel
- All Implemented Interfaces:
- ListModel, SearchableListModel
public class MultipleSearchListModel
- extends AbstractSearchableListModel
Methods inherited from class info.magnolia.cms.gui.controlx.list.AbstractListModel |
createIterator, doSort, getGroupBy, getGroupByOrder, getListModelIterator, getSortBy, getSortByOrder, getValueProvider, iterator, newComparator, resolveId, setValueProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
models
protected final AbstractSearchableListModel[] models
modelNames
protected final String[] modelNames
MultipleSearchListModel
public MultipleSearchListModel(AbstractSearchableListModel[] models,
String[] modelNames)
getListModel
public ListModelIterator getListModel()
setGroupBy
public void setGroupBy(String name,
String order)
- Description copied from class:
AbstractListModel
- set group by field and order ('ASCENDING' | 'DESCENDING')
- Specified by:
setGroupBy
in interface ListModel
- Overrides:
setGroupBy
in class AbstractListModel
setGroupBy
public void setGroupBy(String name)
- Description copied from class:
AbstractListModel
- set group by field
- Specified by:
setGroupBy
in interface ListModel
- Overrides:
setGroupBy
in class AbstractListModel
setSortBy
public void setSortBy(String name,
String order)
- Description copied from class:
AbstractListModel
- set sort by field and order ('ASCENDING' | 'DESCENDING')
- Specified by:
setSortBy
in interface ListModel
- Overrides:
setSortBy
in class AbstractListModel
setSortBy
public void setSortBy(String name)
- Description copied from class:
AbstractListModel
- set sort by field
- Specified by:
setSortBy
in interface ListModel
- Overrides:
setSortBy
in class AbstractListModel
setQuery
public void setQuery(SearchQuery query)
- Description copied from class:
AbstractSearchableListModel
- set Query
- Specified by:
setQuery
in interface SearchableListModel
- Overrides:
setQuery
in class AbstractSearchableListModel
getResult
protected Collection getResult()
throws Exception
- Specified by:
getResult
in class AbstractListModel
- Returns:
- the collection of the items passed to the iterator
- Throws:
Exception
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.