org.apache.jackrabbit.api
Interface JackrabbitSession

All Superinterfaces:
javax.jcr.Session
All Known Implementing Classes:
SessionImpl, XASessionImpl

public interface JackrabbitSession
extends javax.jcr.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 javax.jcr.AccessDeniedException,
                                            javax.jcr.UnsupportedRepositoryOperationException,
                                            javax.jcr.RepositoryException
Returns the PrincipalManager for the current Session.

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

getUserManager

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

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


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.