public class ProxyQuery extends ProxyWrapper<javax.jcr.query.Query> implements javax.jcr.query.Query
Constructor and Description |
---|
ProxyQuery(ProxySession<?> mountSession,
javax.jcr.query.Query delegate,
javax.jcr.query.Query delegate2) |
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
javax.jcr.Value value) |
javax.jcr.query.QueryResult |
execute() |
String[] |
getBindVariableNames() |
String |
getLanguage() |
String |
getStatement() |
String |
getStoredQueryPath() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
javax.jcr.Node |
storeAsNode(String absPath) |
public ProxyQuery(ProxySession<?> mountSession, javax.jcr.query.Query delegate, javax.jcr.query.Query delegate2)
public javax.jcr.query.QueryResult execute() throws javax.jcr.query.InvalidQueryException, javax.jcr.RepositoryException
execute
in interface javax.jcr.query.Query
javax.jcr.query.InvalidQueryException
javax.jcr.RepositoryException
public void setLimit(long limit)
setLimit
in interface javax.jcr.query.Query
public void setOffset(long offset)
setOffset
in interface javax.jcr.query.Query
public String getStatement()
getStatement
in interface javax.jcr.query.Query
public String getLanguage()
getLanguage
in interface javax.jcr.query.Query
public String getStoredQueryPath() throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
getStoredQueryPath
in interface javax.jcr.query.Query
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
public javax.jcr.Node storeAsNode(String absPath) throws javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
storeAsNode
in interface javax.jcr.query.Query
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public void bindValue(String varName, javax.jcr.Value value) throws IllegalArgumentException, javax.jcr.RepositoryException
bindValue
in interface javax.jcr.query.Query
IllegalArgumentException
javax.jcr.RepositoryException
public String[] getBindVariableNames() throws javax.jcr.RepositoryException
getBindVariableNames
in interface javax.jcr.query.Query
javax.jcr.RepositoryException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.