org.apache.jackrabbit.api
Interface JackrabbitSession

All Superinterfaces:
Session
All Known Implementing Classes:
SessionImpl, XASessionImpl

public interface JackrabbitSession
extends Session

JackrabbitSession...


Method Summary
 PrincipalManager getPrincipalManager()
          Returns the PrincipalManager for the current Session.
 UserManager getUserManager()
          Returns the UserManager for the current Session.
 
Methods inherited from interface javax.jcr.Session
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRepository, getRootNode, getUserID, getValueFactory, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeLockToken, save, setNamespacePrefix
 

Method Detail

getPrincipalManager

PrincipalManager getPrincipalManager()
                                     throws AccessDeniedException,
                                            UnsupportedRepositoryOperationException,
                                            RepositoryException
Returns the PrincipalManager for the current Session.

Returns:
this sessions principal manager.
Throws:
AccessDeniedException
UnsupportedRepositoryOperationException - If principal management is not supported.
RepositoryException
See Also:
PrincipalManager

getUserManager

UserManager getUserManager()
                           throws AccessDeniedException,
                                  UnsupportedRepositoryOperationException,
                                  RepositoryException
Returns the UserManager for the current Session.

Throws:
AccessDeniedException - If this session is not allowed to to access user data.
UnsupportedRepositoryOperationException - If user management is not supported.
RepositoryException - If another error occurs.
See Also:
UserManager


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.