A B C D E F G H I L M N O S T
All Classes All Packages
All Classes All Packages
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.
- authorizables - Variable in class org.apache.sling.testing.mock.jcr.MockUserManager
- autoSave(boolean) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
B
- bindValue(String, Value) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
C
- createGroup(String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- createGroup(String, Principal, String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- createGroup(Principal) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- createGroup(Principal, String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- createSystemUser(String, String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- createUser(String, String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- createUser(String, String, Principal, String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
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
- ensureAuthorizablePathExists(String, String, boolean) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
-
Creates the user/group home folder if they don't exist yet
- 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.
F
- findAuthorizables(String, String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- findAuthorizables(String, String, int) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- findAuthorizables(Query) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- findPrincipals(String) - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
- findPrincipals(String, int) - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
G
- getAuthorizable(String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- getAuthorizable(String, Class<T>) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- getAuthorizable(Principal) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- getAuthorizableByPath(String) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
- 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
- getEveryone() - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
- getGroupMembership(Principal) - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
- 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
- getPrincipal(String) - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
- getPrincipals(int) - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
- 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
H
- hasPrincipal(String) - Method in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
I
- isAutoSave() - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
L
- loadNodeTypeDefs(Session, Reader) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
-
Reads and registers the node types from the reader that supplies the content in the compact node type definition format.
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.
- MockPrincipalManager - Class in org.apache.sling.testing.mock.jcr
- 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
. - mockUserManager - Variable in class org.apache.sling.testing.mock.jcr.MockPrincipalManager
- MockUserManager - Class in org.apache.sling.testing.mock.jcr
-
Mock
UserManager
implementation. - MockUserManager() - Constructor for class org.apache.sling.testing.mock.jcr.MockUserManager
-
Deprecated.use
MockUserManager(Session)
instead - MockUserManager(Session) - Constructor for class org.apache.sling.testing.mock.jcr.MockUserManager
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
- session - Variable in class org.apache.sling.testing.mock.jcr.MockUserManager
- setAccessControlManager(Session, AccessControlManager) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
-
Use the supplied AccessControlManager for the session
- 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
T
- toPrincipalName(String, Principal) - Method in class org.apache.sling.testing.mock.jcr.MockUserManager
-
Calculates the principal name, preferring the supplied id or fallback to the
Principal.getName()
value
All Classes All Packages