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.Queryjavax.jcr.query.InvalidQueryExceptionjavax.jcr.RepositoryExceptionpublic void setLimit(long limit)
setLimit in interface javax.jcr.query.Querypublic void setOffset(long offset)
setOffset in interface javax.jcr.query.Querypublic String getStatement()
getStatement in interface javax.jcr.query.Querypublic String getLanguage()
getLanguage in interface javax.jcr.query.Querypublic String getStoredQueryPath() throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
getStoredQueryPath in interface javax.jcr.query.Queryjavax.jcr.ItemNotFoundExceptionjavax.jcr.RepositoryExceptionpublic 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.Queryjavax.jcr.ItemExistsExceptionjavax.jcr.PathNotFoundExceptionjavax.jcr.version.VersionExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.lock.LockExceptionjavax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.RepositoryExceptionpublic void bindValue(String varName, javax.jcr.Value value) throws IllegalArgumentException, javax.jcr.RepositoryException
bindValue in interface javax.jcr.query.QueryIllegalArgumentExceptionjavax.jcr.RepositoryExceptionpublic String[] getBindVariableNames() throws javax.jcr.RepositoryException
getBindVariableNames in interface javax.jcr.query.Queryjavax.jcr.RepositoryExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.