test_class.file: core/src/test/java/net/adamcin/oakpal/core/jcrfacade/SessionFacadeTest.java
test_class.identifier: SessionFacadeTest
test_case.body: @Test
      public void testHasCapability() throws Exception {
          Session delegate = mock(Session.class);
          SessionFacade<Session> facade = getFacade(delegate);
          Object target = new Object();
          final String method = "doStuff";
          final Object[] args = new Object[]{new Object()};
          when(delegate.hasCapability(anyString(), any(), any(Object[].class))).thenReturn(false);
          when(delegate.hasCapability(method, target, args)).thenReturn(true);
          assertFalse("should not have capability", facade.hasCapability("", "", new Object[0]));
          assertTrue("should have capability",
                  facade.hasCapability(method, target, args));
      }
test_case.class_method_signature: SessionFacadeTest.testHasCapability()
test_case.full_signature: @Test public void testHasCapability()
test_case.identifier: testHasCapability
test_case.invocations: mock getFacade thenReturn when hasCapability anyString any any thenReturn when hasCapability assertFalse hasCapability assertTrue hasCapability
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHasCapability()
focal_class.declarator: delegate
focal_class.modifier: protected final @NotNull
focal_class.original_string: protected final @NotNull S delegate;
focal_class.type: S
focal_class.var_name: delegate
focal_class.declarator: notProtected
focal_class.modifier: private final
focal_class.original_string: private final boolean notProtected;
focal_class.type: boolean
focal_class.var_name: notProtected
focal_class.file: core/src/main/java/net/adamcin/oakpal/core/jcrfacade/SessionFacade.java
focal_class.identifier: SessionFacade
focal_class.interfaces: implements Session
focal_class.class_method_signature: SessionFacade.SessionFacade(final @NotNull S delegate, final boolean notProtected)
focal_class.full_signature: public  SessionFacade(final @NotNull S delegate, final boolean notProtected)
focal_class.identifier: SessionFacade
focal_class.modifiers: public
focal_class.parameters: (final @NotNull S delegate, final boolean notProtected)
focal_class.signature:  SessionFacade(final @NotNull S delegate, final boolean notProtected)
focal_class.class_method_signature: SessionFacade.findBestWrapper(final @Nullable Session session, final boolean notProtected)
focal_class.full_signature: public static @Nullable Session findBestWrapper(final @Nullable Session session, final boolean notProtected)
focal_class.identifier: findBestWrapper
focal_class.modifiers: public static @Nullable
focal_class.parameters: (final @Nullable Session session, final boolean notProtected)
focal_class.return: Session
focal_class.signature: Session findBestWrapper(final @Nullable Session session, final boolean notProtected)
focal_class.class_method_signature: SessionFacade.getRepository()
focal_class.full_signature: @Override public final Repository getRepository()
focal_class.identifier: getRepository
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: Repository
focal_class.signature: Repository getRepository()
focal_class.class_method_signature: SessionFacade.getAccessControlManager()
focal_class.full_signature: @Override public final AccessControlManager getAccessControlManager()
focal_class.identifier: getAccessControlManager
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: AccessControlManager
focal_class.signature: AccessControlManager getAccessControlManager()
focal_class.class_method_signature: SessionFacade.getRetentionManager()
focal_class.full_signature: @Override public final RetentionManager getRetentionManager()
focal_class.identifier: getRetentionManager
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: RetentionManager
focal_class.signature: RetentionManager getRetentionManager()
focal_class.class_method_signature: SessionFacade.getWorkspace()
focal_class.full_signature: @Override public final Workspace getWorkspace()
focal_class.identifier: getWorkspace
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: Workspace
focal_class.signature: Workspace getWorkspace()
focal_class.class_method_signature: SessionFacade.getUserID()
focal_class.full_signature: @Override public final String getUserID()
focal_class.identifier: getUserID
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUserID()
focal_class.class_method_signature: SessionFacade.getAttributeNames()
focal_class.full_signature: @Override public final String[] getAttributeNames()
focal_class.identifier: getAttributeNames
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getAttributeNames()
focal_class.class_method_signature: SessionFacade.getAttribute(final String name)
focal_class.full_signature: @Override public final Object getAttribute(final String name)
focal_class.identifier: getAttribute
focal_class.modifiers: @Override public final
focal_class.parameters: (final String name)
focal_class.return: Object
focal_class.signature: Object getAttribute(final String name)
focal_class.class_method_signature: SessionFacade.getRootNode()
focal_class.full_signature: @Override public final Node getRootNode()
focal_class.identifier: getRootNode
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node getRootNode()
focal_class.class_method_signature: SessionFacade.impersonate(Credentials credentials)
focal_class.full_signature: @Override public final Session impersonate(Credentials credentials)
focal_class.identifier: impersonate
focal_class.modifiers: @Override public final
focal_class.parameters: (Credentials credentials)
focal_class.return: Session
focal_class.signature: Session impersonate(Credentials credentials)
focal_class.class_method_signature: SessionFacade.getNodeByUUID(String uuid)
focal_class.full_signature: @SuppressWarnings("deprecation") @Override public final Node getNodeByUUID(String uuid)
focal_class.identifier: getNodeByUUID
focal_class.modifiers: @SuppressWarnings("deprecation") @Override public final
focal_class.parameters: (String uuid)
focal_class.return: Node
focal_class.signature: Node getNodeByUUID(String uuid)
focal_class.class_method_signature: SessionFacade.getNodeByIdentifier(String id)
focal_class.full_signature: @Override public final Node getNodeByIdentifier(String id)
focal_class.identifier: getNodeByIdentifier
focal_class.modifiers: @Override public final
focal_class.parameters: (String id)
focal_class.return: Node
focal_class.signature: Node getNodeByIdentifier(String id)
focal_class.class_method_signature: SessionFacade.getItem(String absPath)
focal_class.full_signature: @Override public final Item getItem(String absPath)
focal_class.identifier: getItem
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: Item
focal_class.signature: Item getItem(String absPath)
focal_class.class_method_signature: SessionFacade.getNode(String absPath)
focal_class.full_signature: @Override public final Node getNode(String absPath)
focal_class.identifier: getNode
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: Node
focal_class.signature: Node getNode(String absPath)
focal_class.class_method_signature: SessionFacade.getProperty(String absPath)
focal_class.full_signature: @Override public final Property getProperty(String absPath)
focal_class.identifier: getProperty
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: Property
focal_class.signature: Property getProperty(String absPath)
focal_class.class_method_signature: SessionFacade.itemExists(String absPath)
focal_class.full_signature: @Override public final boolean itemExists(String absPath)
focal_class.identifier: itemExists
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: boolean
focal_class.signature: boolean itemExists(String absPath)
focal_class.class_method_signature: SessionFacade.nodeExists(String absPath)
focal_class.full_signature: @Override public final boolean nodeExists(String absPath)
focal_class.identifier: nodeExists
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: boolean
focal_class.signature: boolean nodeExists(String absPath)
focal_class.class_method_signature: SessionFacade.propertyExists(String absPath)
focal_class.full_signature: @Override public final boolean propertyExists(String absPath)
focal_class.identifier: propertyExists
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: boolean
focal_class.signature: boolean propertyExists(String absPath)
focal_class.class_method_signature: SessionFacade.refresh(boolean keepChanges)
focal_class.full_signature: @Override public final void refresh(boolean keepChanges)
focal_class.identifier: refresh
focal_class.modifiers: @Override public final
focal_class.parameters: (boolean keepChanges)
focal_class.return: void
focal_class.signature: void refresh(boolean keepChanges)
focal_class.class_method_signature: SessionFacade.logout()
focal_class.full_signature: @Override public final void logout()
focal_class.identifier: logout
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void logout()
focal_class.class_method_signature: SessionFacade.isLive()
focal_class.full_signature: @Override public final boolean isLive()
focal_class.identifier: isLive
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLive()
focal_class.class_method_signature: SessionFacade.hasPendingChanges()
focal_class.full_signature: @Override public final boolean hasPendingChanges()
focal_class.identifier: hasPendingChanges
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasPendingChanges()
focal_class.class_method_signature: SessionFacade.getValueFactory()
focal_class.full_signature: @Override public final ValueFactory getValueFactory()
focal_class.identifier: getValueFactory
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: ValueFactory
focal_class.signature: ValueFactory getValueFactory()
focal_class.class_method_signature: SessionFacade.hasPermission(String absPath, String actions)
focal_class.full_signature: @Override public final boolean hasPermission(String absPath, String actions)
focal_class.identifier: hasPermission
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath, String actions)
focal_class.return: boolean
focal_class.signature: boolean hasPermission(String absPath, String actions)
focal_class.class_method_signature: SessionFacade.checkPermission(String absPath, String actions)
focal_class.full_signature: @Override public final void checkPermission(String absPath, String actions)
focal_class.identifier: checkPermission
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath, String actions)
focal_class.return: void
focal_class.signature: void checkPermission(String absPath, String actions)
focal_class.class_method_signature: SessionFacade.hasCapability(String methodName, Object target, Object[] arguments)
focal_class.full_signature: @Override public final boolean hasCapability(String methodName, Object target, Object[] arguments)
focal_class.identifier: hasCapability
focal_class.modifiers: @Override public final
focal_class.parameters: (String methodName, Object target, Object[] arguments)
focal_class.return: boolean
focal_class.signature: boolean hasCapability(String methodName, Object target, Object[] arguments)
focal_class.class_method_signature: SessionFacade.exportSystemView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.full_signature: @Override public final void exportSystemView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.identifier: exportSystemView
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.return: void
focal_class.signature: void exportSystemView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.class_method_signature: SessionFacade.exportSystemView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.full_signature: @Override public final void exportSystemView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.identifier: exportSystemView
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.return: void
focal_class.signature: void exportSystemView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.class_method_signature: SessionFacade.exportDocumentView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.full_signature: @Override public final void exportDocumentView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.identifier: exportDocumentView
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.return: void
focal_class.signature: void exportDocumentView(String absPath, ContentHandler contentHandler, boolean skipBinary, boolean noRecurse)
focal_class.class_method_signature: SessionFacade.exportDocumentView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.full_signature: @Override public final void exportDocumentView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.identifier: exportDocumentView
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.return: void
focal_class.signature: void exportDocumentView(String absPath, OutputStream out, boolean skipBinary, boolean noRecurse)
focal_class.class_method_signature: SessionFacade.getNamespacePrefixes()
focal_class.full_signature: @Override public final String[] getNamespacePrefixes()
focal_class.identifier: getNamespacePrefixes
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getNamespacePrefixes()
focal_class.class_method_signature: SessionFacade.getNamespaceURI(String prefix)
focal_class.full_signature: @Override public final String getNamespaceURI(String prefix)
focal_class.identifier: getNamespaceURI
focal_class.modifiers: @Override public final
focal_class.parameters: (String prefix)
focal_class.return: String
focal_class.signature: String getNamespaceURI(String prefix)
focal_class.class_method_signature: SessionFacade.getNamespacePrefix(String uri)
focal_class.full_signature: @Override public final String getNamespacePrefix(String uri)
focal_class.identifier: getNamespacePrefix
focal_class.modifiers: @Override public final
focal_class.parameters: (String uri)
focal_class.return: String
focal_class.signature: String getNamespacePrefix(String uri)
focal_class.class_method_signature: SessionFacade.addLockToken(String lt)
focal_class.full_signature: @Override public final void addLockToken(String lt)
focal_class.identifier: addLockToken
focal_class.modifiers: @Override public final
focal_class.parameters: (String lt)
focal_class.return: void
focal_class.signature: void addLockToken(String lt)
focal_class.class_method_signature: SessionFacade.getLockTokens()
focal_class.full_signature: @SuppressWarnings("deprecation") @Override public final String[] getLockTokens()
focal_class.identifier: getLockTokens
focal_class.modifiers: @SuppressWarnings("deprecation") @Override public final
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getLockTokens()
focal_class.class_method_signature: SessionFacade.removeLockToken(String lt)
focal_class.full_signature: @Override public final void removeLockToken(String lt)
focal_class.identifier: removeLockToken
focal_class.modifiers: @Override public final
focal_class.parameters: (String lt)
focal_class.return: void
focal_class.signature: void removeLockToken(String lt)
focal_class.class_method_signature: SessionFacade.move(String srcAbsPath, String destAbsPath)
focal_class.full_signature: @Override public final void move(String srcAbsPath, String destAbsPath)
focal_class.identifier: move
focal_class.modifiers: @Override public final
focal_class.parameters: (String srcAbsPath, String destAbsPath)
focal_class.return: void
focal_class.signature: void move(String srcAbsPath, String destAbsPath)
focal_class.class_method_signature: SessionFacade.removeItem(String absPath)
focal_class.full_signature: @Override public final void removeItem(String absPath)
focal_class.identifier: removeItem
focal_class.modifiers: @Override public final
focal_class.parameters: (String absPath)
focal_class.return: void
focal_class.signature: void removeItem(String absPath)
focal_class.class_method_signature: SessionFacade.save()
focal_class.full_signature: @Override public final void save()
focal_class.identifier: save
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void save()
focal_class.class_method_signature: SessionFacade.getImportContentHandler(String parentAbsPath, int uuidBehavior)
focal_class.full_signature: @Override public final ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior)
focal_class.identifier: getImportContentHandler
focal_class.modifiers: @Override public final
focal_class.parameters: (String parentAbsPath, int uuidBehavior)
focal_class.return: ContentHandler
focal_class.signature: ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior)
focal_class.class_method_signature: SessionFacade.importXML(String parentAbsPath, InputStream in, int uuidBehavior)
focal_class.full_signature: @Override public final void importXML(String parentAbsPath, InputStream in, int uuidBehavior)
focal_class.identifier: importXML
focal_class.modifiers: @Override public final
focal_class.parameters: (String parentAbsPath, InputStream in, int uuidBehavior)
focal_class.return: void
focal_class.signature: void importXML(String parentAbsPath, InputStream in, int uuidBehavior)
focal_class.class_method_signature: SessionFacade.setNamespacePrefix(String prefix, String uri)
focal_class.full_signature: @Override public final void setNamespacePrefix(String prefix, String uri)
focal_class.identifier: setNamespacePrefix
focal_class.modifiers: @Override public final
focal_class.parameters: (String prefix, String uri)
focal_class.return: void
focal_class.signature: void setNamespacePrefix(String prefix, String uri)
focal_method.body: @Override
      public final boolean hasCapability(String methodName, Object target, Object[] arguments) throws RepositoryException {
          return delegate.hasCapability(methodName, target, arguments);
      }
focal_method.class_method_signature: SessionFacade.hasCapability(String methodName, Object target, Object[] arguments)
focal_method.full_signature: @Override public final boolean hasCapability(String methodName, Object target, Object[] arguments)
focal_method.identifier: hasCapability
focal_method.invocations: hasCapability
focal_method.modifiers: @Override public final
focal_method.parameters: (String methodName, Object target, Object[] arguments)
focal_method.return: boolean
focal_method.signature: boolean hasCapability(String methodName, Object target, Object[] arguments)