info.magnolia.cms.gui.controlx.version
Class VersionListModel
java.lang.Object
info.magnolia.cms.gui.controlx.list.AbstractListModel
info.magnolia.cms.gui.controlx.version.VersionListModel
- All Implemented Interfaces:
- ListModel
public class VersionListModel
- extends AbstractListModel
- Author:
- Sameer Charles $Id:VersionListModel.java 2544 2006-04-04 12:47:32Z philipp $
Field Summary |
protected SearchQuery |
query
search query to be used by sub implementation |
Methods inherited from class info.magnolia.cms.gui.controlx.list.AbstractListModel |
createIterator, doSort, getGroupBy, getGroupByOrder, getListModelIterator, getSortBy, getSortByOrder, getValueProvider, iterator, newComparator, resolveId, setGroupBy, setGroupBy, setSortBy, setSortBy, setValueProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
protected SearchQuery query
- search query to be used by sub implementation
VersionListModel
public VersionListModel(info.magnolia.cms.core.Content content,
int max)
- Parameters:
content
- max
-
VersionListModel
public VersionListModel(info.magnolia.cms.core.Content content)
- constructor
getResult
protected Collection getResult()
throws javax.jcr.RepositoryException
- get all versions
- Specified by:
getResult
in class AbstractListModel
- Returns:
- all versions in a collection
- Throws:
javax.jcr.RepositoryException
getMax
public int getMax()
- Returns:
- the max
setMax
public void setMax(int max)
- Parameters:
max
- the max to set
getContent
public info.magnolia.cms.core.Content getContent()
- Returns:
- the content
setContent
public void setContent(info.magnolia.cms.core.Content content)
- Parameters:
content
- the content to set
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.