Interface JCRAppContext
-
- All Superinterfaces:
org.apache.commons.chain.Context,Map
- All Known Implementing Classes:
BasicAppContext,CliAppContext,GenericWebAppContext
public interface JCRAppContext extends org.apache.commons.chain.ContextCreated by The eXo Platform SAS .- Version:
- $Id: JCRAppContext.java 5800 2006-05-28 18:03:31Z geaz $
- Author:
- Gennady Azarenkov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.jcr.SessiongetSession()Return Session of the context.voidsetCurrentWorkspace(String workspaceName)Change current workspace name.-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
setCurrentWorkspace
void setCurrentWorkspace(String workspaceName)
Change current workspace name.- Parameters:
workspaceName-
-
getSession
javax.jcr.Session getSession() throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryExceptionReturn Session of the context.- Returns:
- the session
- Throws:
javax.jcr.LoginExceptionjavax.jcr.NoSuchWorkspaceExceptionjavax.jcr.RepositoryException
-
-