A B D E G M N O S 
All Classes All Packages

A

addQueryResultHandler(QueryManager, MockQueryResultHandler) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Adds a query result handler for the given query manager which may return query results for certain queries that are executed.
addQueryResultHandler(Session, MockQueryResultHandler) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Adds a query result handler for the given query manager which may return query results for certain queries that are executed.

B

bindValue(String, Value) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 

D

DEFAULT_USER_ID - Static variable in class org.apache.sling.testing.mock.jcr.MockJcr
Default user id
DEFAULT_WORKSPACE - Static variable in class org.apache.sling.testing.mock.jcr.MockJcr
Default workspace name

E

execute() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
executeQuery(MockQuery) - Method in interface org.apache.sling.testing.mock.jcr.MockQueryResultHandler
Checks if this handler accepts the given query, and returns the result if this is the case.

G

getBindVariableNames() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getBindVariables() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getColumnNames() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getLanguage() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getLimit() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getNodes() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getOffset() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getRows() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getSelectorNames() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getStatement() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getStoredQueryPath() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 

M

MockJcr - Class in org.apache.sling.testing.mock.jcr
Factory for mock JCR objects.
MockNodeTypes - Class in org.apache.sling.testing.mock.jcr
Collection of mocked node type instances.
MockQuery - Class in org.apache.sling.testing.mock.jcr
Mock implementation of Query.
MockQueryResult - Class in org.apache.sling.testing.mock.jcr
Mock implementation of QueryResult.
MockQueryResult(List<Node>) - Constructor for class org.apache.sling.testing.mock.jcr.MockQueryResult
 
MockQueryResult(List<Node>, List<String>) - Constructor for class org.apache.sling.testing.mock.jcr.MockQueryResult
 
MockQueryResultHandler - Interface in org.apache.sling.testing.mock.jcr
Allows to set mocked query results for a mocked QueryManager.

N

newRepository() - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Create a new mocked in-memory JCR repository.
newSession() - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Create a new mocked in-memory JCR session.
newSession(String, String) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Create a new mocked in-memory JCR session.
NT_FILE - Static variable in class org.apache.sling.testing.mock.jcr.MockNodeTypes
Node type NT_FILE
NT_FOLDER - Static variable in class org.apache.sling.testing.mock.jcr.MockNodeTypes
Node type NT_FOLDER
NT_UNSTRUCTURED - Static variable in class org.apache.sling.testing.mock.jcr.MockNodeTypes
Node type NT_UNSTRUCTURED

O

org.apache.sling.testing.mock.jcr - package org.apache.sling.testing.mock.jcr
Mock implementation of selected JCR APIs.

S

setLimit(long) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
setOffset(long) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
setQueryResult(QueryManager, String, String, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries with the given statement executed with the given query manager.
setQueryResult(QueryManager, String, String, List<Node>, boolean) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries with the given statement executed with the given query manager.
setQueryResult(QueryManager, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries executed with the given query manager.
setQueryResult(QueryManager, List<Node>, boolean) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries executed with the given query manager.
setQueryResult(Session, String, String, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries with the given statement executed with the given query manager.
setQueryResult(Session, String, String, List<Node>, boolean) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries with the given statement executed with the given query manager.
setQueryResult(Session, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries executed with the given query manager.
setQueryResult(Session, List<Node>, boolean) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries executed with the given query manager.
setSimulateUnknownSize(boolean) - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
storeAsNode(String) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
A B D E G M N O S 
All Classes All Packages