org.apache.jackrabbit.api
Interface JackrabbitSession

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

public interface JackrabbitSession
extends Session

JackrabbitSession...


Field Summary
 
Fields inherited from interface javax.jcr.Session
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY
 
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, 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
 

Method Detail

getPrincipalManager

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

Returns:
the PrincipalManager associated with this Session.
Throws:
AccessDeniedException - If the session lacks privileges to access the principal manager or principals in general.
UnsupportedRepositoryOperationException - If principal management is not supported.
RepositoryException - If another error occors.
See Also:
PrincipalManager

getUserManager

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

Returns:
the UserManager associated with this 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-2010 The Apache Software Foundation. All Rights Reserved.