com.arsdigita.kernel.ui
Class DataQueryTreeIterator
java.lang.Object
com.arsdigita.kernel.ui.DataQueryTreeIterator
- All Implemented Interfaces:
- Iterator
- public class DataQueryTreeIterator
- extends Object
- implements Iterator
This class iterates through the query, setting up the correct values
for the tree node
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/kernel/ui/DataQueryTreeIterator.java#6 $
- Author:
- Daniel Berrange, Randy Graebner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_nodes
protected DataQuery m_nodes
DataQueryTreeIterator
public DataQueryTreeIterator(DataQueryTreeNode node,
String getSubCategories)
filterQuery
public void filterQuery(String propertyName,
PrivilegeDescriptor privilege,
OID userOID)
setParameter
public void setParameter(String parameterName,
Object parameterValue)
- This allows the calling class to use data queries that
need extra variables set. This is used by FolderTreeModelBuilder
in CMS but is generally useful so it has been added here.
addOrder
public void addOrder(String parameterName)
- This allows the calling class to order the results of the data query
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC