|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.cms.core.search.QueryResultImpl
public class QueryResultImpl
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
dirtyHandles
|
protected HierarchyManager |
hm
|
protected java.util.Map<java.lang.String,java.util.Collection<Content>> |
objectStore
caches all previously queried objects |
protected javax.jcr.query.QueryResult |
result
Unfiltered result object |
Constructor Summary | |
---|---|
protected |
QueryResultImpl(javax.jcr.query.QueryResult result,
HierarchyManager hm)
|
Method Summary | |
---|---|
protected void |
build(javax.jcr.Node node,
java.lang.String[] nodeType,
java.util.Collection<Content> collection)
Build required result objects |
protected void |
build(java.lang.String nodeType,
java.util.Collection<Content> collection)
Build required result objects |
AccessManager |
getAccessManager()
Deprecated. |
java.util.Collection<Content> |
getContent()
Gets a collection of Content objects for mgnl:content NodeType |
java.util.Collection<Content> |
getContent(java.lang.String nodeType)
Gets a collection of Content objects for specified NodeType |
javax.jcr.query.QueryResult |
getJcrResult()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.jcr.query.QueryResult result
protected java.util.Map<java.lang.String,java.util.Collection<Content>> objectStore
protected HierarchyManager hm
protected java.util.Map<java.lang.String,java.lang.String> dirtyHandles
Constructor Detail |
---|
protected QueryResultImpl(javax.jcr.query.QueryResult result, HierarchyManager hm)
Method Detail |
---|
public AccessManager getAccessManager()
public javax.jcr.query.QueryResult getJcrResult()
protected void build(java.lang.String nodeType, java.util.Collection<Content> collection) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void build(javax.jcr.Node node, java.lang.String[] nodeType, java.util.Collection<Content> collection) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public java.util.Collection<Content> getContent()
QueryResult
getContent
in interface QueryResult
QueryResult.getContent()
public java.util.Collection<Content> getContent(java.lang.String nodeType)
QueryResult
getContent
in interface QueryResult
QueryResult.getContent(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |