ACTION_ADD_PROPERTY, ACTION_LOCKING, ACTION_MODIFY_ACCESS_CONTROL, ACTION_MODIFY_PROPERTY, ACTION_NODE_TYPE_MANAGEMENT, ACTION_READ_ACCESS_CONTROL, ACTION_REMOVE_NODE, ACTION_REMOVE_PROPERTY, ACTION_USER_MANAGEMENT, ACTION_VERSIONINGACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY| Constructor and Description |
|---|
SessionImpl(SessionContext sessionContext) |
public SessionImpl(SessionContext sessionContext)
@CheckForNull public Node getNodeOrNull(String absPath) throws RepositoryException
getNodeOrNull in interface org.apache.jackrabbit.api.JackrabbitSessionRepositoryException@CheckForNull public Property getPropertyOrNull(String absPath) throws RepositoryException
getPropertyOrNull in interface org.apache.jackrabbit.api.JackrabbitSessionRepositoryException@CheckForNull public Item getItemOrNull(String absPath) throws RepositoryException
getItemOrNull in interface org.apache.jackrabbit.api.JackrabbitSessionRepositoryException@Nonnull public Repository getRepository()
getRepository in interface Sessionpublic String[] getAttributeNames()
getAttributeNames in interface Sessionpublic Object getAttribute(String name)
getAttribute in interface Session@Nonnull public Workspace getWorkspace()
getWorkspace in interface Session@Nonnull public Session impersonate(Credentials credentials) throws RepositoryException
impersonate in interface SessionRepositoryException@Nonnull public ValueFactory getValueFactory() throws RepositoryException
getValueFactory in interface SessionRepositoryException@Nonnull public Node getRootNode() throws RepositoryException
getRootNode in interface SessionRepositoryExceptionpublic Node getNode(String absPath) throws RepositoryException
getNode in interface SessionRepositoryExceptionpublic boolean nodeExists(String absPath) throws RepositoryException
nodeExists in interface SessionRepositoryException@Nonnull public Node getNodeByUUID(String uuid) throws RepositoryException
getNodeByUUID in interface SessionRepositoryException@Nonnull public Node getNodeByIdentifier(String id) throws RepositoryException
getNodeByIdentifier in interface SessionRepositoryExceptionpublic Property getProperty(String absPath) throws RepositoryException
getProperty in interface SessionRepositoryExceptionpublic boolean propertyExists(String absPath) throws RepositoryException
propertyExists in interface SessionRepositoryExceptionpublic Item getItem(String absPath) throws RepositoryException
getItem in interface SessionRepositoryExceptionpublic boolean itemExists(String absPath) throws RepositoryException
itemExists in interface SessionRepositoryExceptionpublic void move(String srcAbsPath, String destAbsPath) throws RepositoryException
move in interface SessionRepositoryExceptionpublic void removeItem(String absPath) throws RepositoryException
removeItem in interface SessionRepositoryExceptionpublic void save()
throws RepositoryException
save in interface SessionRepositoryExceptionpublic void refresh(boolean keepChanges)
throws RepositoryException
refresh in interface SessionRepositoryExceptionpublic boolean hasPendingChanges()
throws RepositoryException
hasPendingChanges in interface SessionRepositoryException@Nonnull public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws RepositoryException
getImportContentHandler in interface SessionRepositoryExceptionpublic void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, RepositoryException
importXML in interface SessionIOExceptionRepositoryExceptionpublic void exportSystemView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse) throws SAXException, RepositoryException
exportSystemView in interface SessionSAXExceptionRepositoryExceptionpublic void exportSystemView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse) throws IOException, RepositoryException
exportSystemView in interface SessionIOExceptionRepositoryExceptionpublic void exportDocumentView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse) throws SAXException, RepositoryException
exportDocumentView in interface SessionSAXExceptionRepositoryExceptionpublic void exportDocumentView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse) throws IOException, RepositoryException
exportDocumentView in interface SessionIOExceptionRepositoryExceptionpublic void addLockToken(String lt)
addLockToken in interface Session@Nonnull public String[] getLockTokens()
getLockTokens in interface Sessionpublic void removeLockToken(String lt)
removeLockToken in interface Sessionpublic boolean hasPermission(String absPath, String actions) throws RepositoryException
hasPermission in interface SessionRepositoryExceptionpublic void checkPermission(String absPath, String actions) throws RepositoryException
checkPermission in interface SessionRepositoryExceptionpublic boolean hasCapability(String methodName, Object target, Object[] arguments) throws RepositoryException
hasCapability in interface SessionRepositoryException@Nonnull public AccessControlManager getAccessControlManager() throws RepositoryException
getAccessControlManager in interface SessionRepositoryException@Nonnull public RetentionManager getRetentionManager() throws RepositoryException
getRetentionManager in interface SessionRepositoryExceptionSession.getRetentionManager()public void setNamespacePrefix(String prefix, String uri) throws RepositoryException
setNamespacePrefix in interface SessionRepositoryExceptionpublic String[] getNamespacePrefixes() throws RepositoryException
getNamespacePrefixes in interface SessionRepositoryExceptionpublic String getNamespaceURI(String prefix) throws RepositoryException
getNamespaceURI in interface SessionRepositoryExceptionpublic String getNamespacePrefix(String uri) throws RepositoryException
getNamespacePrefix in interface SessionRepositoryExceptionpublic boolean hasPermission(String absPath, String... actions) throws RepositoryException
hasPermission in interface org.apache.jackrabbit.api.JackrabbitSessionRepositoryException@Nonnull public org.apache.jackrabbit.api.security.principal.PrincipalManager getPrincipalManager() throws RepositoryException
getPrincipalManager in interface org.apache.jackrabbit.api.JackrabbitSessionRepositoryException@Nonnull public org.apache.jackrabbit.api.security.user.UserManager getUserManager() throws RepositoryException
getUserManager in interface org.apache.jackrabbit.api.JackrabbitSessionRepositoryExceptionCopyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.