com.day.crx
Interface CRXSession
- All Superinterfaces:
- JackrabbitSession, Session, XASession
public interface CRXSession
- extends JackrabbitSession, XASession
This Interface extends the default jcr session by some crx specific methods.
- Author:
- tripod
| Methods inherited from interface javax.jcr.Session |
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefix |
getExportHandler
CRXExportHandler getExportHandler()
throws RepositoryException
- Returns the export handler
- Returns:
- the export handler
- Throws:
RepositoryException
getImportHandler
CRXImportHandler getImportHandler()
throws RepositoryException
- Returns the import handler
- Returns:
- the import handler
- Throws:
RepositoryException
getSession
CRXSession getSession(String workspaceName)
throws AccessDeniedException,
NoSuchWorkspaceException,
RepositoryException
- Creates a new session with the same subject as this sessions but to a
different workspace. The returned session is a newly logged in session,
with the same subject but a different workspace. Even if the given
workspace is the same as this sessions one, the implementation must
return a new session object.
- Parameters:
workspaceName - name of the workspace to acquire a session for.
- Returns:
- A session to the requested workspace for the same authenticated
subject.
- Throws:
AccessDeniedException - in case the current Subject is not allowed
to access the requested Workspace
NoSuchWorkspaceException - If the named workspace does not exist.
RepositoryException - in any other exceptional state
Copyright © 2011-2012 Adobe Systems Incorporated. All Rights Reserved.