org.alfresco.jcr.query
Class QueryImpl
java.lang.Object
org.alfresco.jcr.query.QueryImpl
- All Implemented Interfaces:
- javax.jcr.query.Query
- Direct Known Subclasses:
- XPathQueryImpl
public abstract class QueryImpl
- extends java.lang.Object
- implements javax.jcr.query.Query
Alfresco implementation of JCR Query
Fields inherited from interface javax.jcr.query.Query |
SQL, XPATH |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.query.Query |
execute, getLanguage |
QueryImpl
public QueryImpl(SessionImpl session,
java.lang.String statement)
- Construct
- Parameters:
statement
- query language
getProxy
public javax.jcr.query.Query getProxy()
- Get proxied JCR Query
- Returns:
- proxy
getSession
public SessionImpl getSession()
- Get Session
- Returns:
- session
isValidStatement
public abstract void isValidStatement()
throws javax.jcr.query.InvalidQueryException
- Is the statement valid?
- Throws:
javax.jcr.query.InvalidQueryException
getStatement
public java.lang.String getStatement()
- Specified by:
getStatement
in interface javax.jcr.query.Query
getStoredQueryPath
public java.lang.String getStoredQueryPath()
throws javax.jcr.ItemNotFoundException,
javax.jcr.RepositoryException
- Specified by:
getStoredQueryPath
in interface javax.jcr.query.Query
- Throws:
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
storeAsNode
public javax.jcr.Node storeAsNode(java.lang.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
- Specified by:
storeAsNode
in interface javax.jcr.query.Query
- 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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.