public class ChildrenTableContentProvider extends BaseIteratorTableContentProvider implements IFilterableTableContentProvider
m_index, m_selectableHelper, m_var
fExpireWithPageFlow
Constructor and Description |
---|
ChildrenTableContentProvider()
Default Constructtor.
|
ChildrenTableContentProvider(javax.jcr.Session jcrSession,
String parentNodeId,
String parentNodePath)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getFilter()
Filter expression.
|
String |
getParentNodeId()
Gets the parent node id
|
String |
getParentNodePath()
Gets the parent node path
|
protected boolean |
hasValidInputParameters()
Checks if the input parameters are valid
|
protected javax.jcr.RangeIterator |
invokeSearch()
Performs the work to lookup the children of the specified parent node
If a filter value is supplied, the returned items will match the filter pattern.
|
boolean |
isFilterable()
True if this provider truely is filterable.
|
void |
setFilter(String filter)
Filter expression.
|
void |
setParentNodeId(String parentNodeId)
Sets the parent node id
|
void |
setParentNodePath(String parentNodePath)
Sets the parent node path
|
getCurrentRow, getJcrSession, getNeedRefresh, getPropertyKeys, getRowCount, getRowId, getRowIndex, getRowSelectedCount, getRowSelectedIds, getRowType, getRowUnselectedIds, getRowVariable, getSelectedRows, getSort, getType, getUniqueId, getUseUnselectedModel, getValue, hasProperty, isAddressable, isAutoRefresh, isRowAvailable, isRowSelected, refresh, setAutoRefresh, setJcrSession, setNeedRefresh, setRowById, setRowIndex, setRowSelected, setRowSelectedIds, setRowUnselectedIds, setRowVariable, setSort, supportsAutoRefresh
getExpireWithPageFlow, setExpireWithPageFlow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentRow, getRowCount, getRowIndex, getRowVariable, isRowAvailable, setRowIndex, setRowVariable
getPropertyKeys, getType, getValue, hasProperty, toString
public ChildrenTableContentProvider()
BaseIteratorTableContentProvider.setJcrSession(Session)
and setParentNodeId(String)
or setParentNodePath(String)
before using this providerpublic ChildrenTableContentProvider(javax.jcr.Session jcrSession, String parentNodeId, String parentNodePath)
jcrSession
- the active JCR sessionparentNodeId
- the node id of the parent (should be null if parentNodePath is supplied)parentNodePath
- the node path of the parent (should be null if parentNodeId is supplied)public String getParentNodePath()
public void setParentNodePath(String parentNodePath)
parentNodePath
- the parentNodePath to setpublic String getParentNodeId()
public void setParentNodeId(String parentNodeId)
parentNodeId
- the parentNodeId to setprotected boolean hasValidInputParameters()
hasValidInputParameters
in class BaseIteratorTableContentProvider
protected javax.jcr.RangeIterator invokeSearch()
invokeSearch
in class BaseIteratorTableContentProvider
public String getFilter()
IFilterableTableContentProvider
getFilter
in interface IFilterableTableContentProvider
public boolean isFilterable()
IFilterableTableContentProvider
isFilterable
in interface IFilterableTableContentProvider
public void setFilter(String filter)
IFilterableTableContentProvider
setFilter
in interface IFilterableTableContentProvider