public interface HippoQuery
extends javax.jcr.query.Query
Modifier and Type | Field and Description |
---|---|
static String |
HIPPOQL
This query language is not yet available as public API, but reserved for future use.
|
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
javax.jcr.Value value) |
javax.jcr.query.QueryResult |
execute(Map<String,String> arguments)
Convenience method to bind all arguments of a query using a single map and immediately execute the query.
|
int |
getArgumentCount()
This addition has no counterpart in JSR-283, JSR-283 only compliant applications have no means to query which parameters should be bound before a query can be executed.
|
String[] |
getArguments() |
javax.jcr.Session |
getSession()
Obtains the session in which this query can be executed.
|
javax.jcr.Node |
storeAsNode(String absPath,
String type) |
static final String HIPPOQL
javax.jcr.Session getSession() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
- if a generic repossitory error occursjavax.jcr.Node storeAsNode(String absPath, String type) 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
absPath
- type
- javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
String[] getArguments() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
int getArgumentCount() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
- in case of an internal or connection errorjavax.jcr.query.QueryResult execute(Map<String,String> arguments) throws javax.jcr.RepositoryException
arguments
- a map of string keys of the free variajavax.jcr.RepositoryException
- in case of an internal or connection errorvoid bindValue(String varName, javax.jcr.Value value) throws IllegalArgumentException, javax.jcr.RepositoryException
bindValue
in interface javax.jcr.query.Query
varName
- value
- IllegalArgumentException
javax.jcr.RepositoryException
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.