test_class.declarator: sessionFactory
test_class.modifier: private
test_class.original_string: private SessionFactory sessionFactory;
test_class.type: SessionFactory
test_class.var_name: sessionFactory
test_class.declarator: repository
test_class.modifier: private
test_class.original_string: private Repository repository;
test_class.type: Repository
test_class.var_name: repository
test_class.declarator: session
test_class.modifier: private
test_class.original_string: private Session session;
test_class.type: Session
test_class.var_name: session
test_class.declarator: jcrTemplate
test_class.modifier: private
test_class.original_string: private JcrTemplate jcrTemplate;
test_class.type: JcrTemplate
test_class.var_name: jcrTemplate
test_class.file: se-jcr-commons/src/test/java/org/springframework/extensions/jcr/JcrTemplateTest.java
test_class.identifier: JcrTemplateTest
test_case.body: @Test
      public void testGetUserID() {
          String result = "userid";
  
          expect(session.getUserID()).andReturn(result);
          replay(session);
          replay(sessionFactory);
  
          assertSame(jcrTemplate.getUserID(), result);
      }
test_case.class_method_signature: JcrTemplateTest.testGetUserID()
test_case.full_signature: @Test public void testGetUserID()
test_case.identifier: testGetUserID
test_case.invocations: andReturn expect getUserID replay replay assertSame getUserID
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetUserID()
focal_class.declarator: LOG = LoggerFactory.getLogger(JcrTemplate.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(JcrTemplate.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: allowCreate = false
focal_class.modifier: private
focal_class.original_string: private boolean allowCreate = false;
focal_class.type: boolean
focal_class.var_name: allowCreate
focal_class.declarator: exposeNativeSession = false
focal_class.modifier: private
focal_class.original_string: private boolean exposeNativeSession = false;
focal_class.type: boolean
focal_class.var_name: exposeNativeSession
focal_class.file: se-jcr-commons/src/main/java/org/springframework/extensions/jcr/JcrTemplate.java
focal_class.identifier: JcrTemplate
focal_class.interfaces: implements JcrOperations
focal_class.class_method_signature: JcrTemplate.JcrTemplate()
focal_class.full_signature: public  JcrTemplate()
focal_class.identifier: JcrTemplate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  JcrTemplate()
focal_class.class_method_signature: JcrTemplate.JcrTemplate(SessionFactory sessionFactory)
focal_class.full_signature: public  JcrTemplate(SessionFactory sessionFactory)
focal_class.identifier: JcrTemplate
focal_class.modifiers: public
focal_class.parameters: (SessionFactory sessionFactory)
focal_class.signature:  JcrTemplate(SessionFactory sessionFactory)
focal_class.class_method_signature: JcrTemplate.execute(JcrCallback<T> action, boolean exposeNativeSession)
focal_class.full_signature: @Override public T execute(JcrCallback<T> action, boolean exposeNativeSession)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (JcrCallback<T> action, boolean exposeNativeSession)
focal_class.return: T
focal_class.signature: T execute(JcrCallback<T> action, boolean exposeNativeSession)
focal_class.class_method_signature: JcrTemplate.execute(JcrCallback<T> callback)
focal_class.full_signature: @Override public T execute(JcrCallback<T> callback)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (JcrCallback<T> callback)
focal_class.return: T
focal_class.signature: T execute(JcrCallback<T> callback)
focal_class.class_method_signature: JcrTemplate.getSession()
focal_class.full_signature: protected Session getSession()
focal_class.identifier: getSession
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Session
focal_class.signature: Session getSession()
focal_class.class_method_signature: JcrTemplate.addLockToken(final String lock)
focal_class.full_signature: @Override public void addLockToken(final String lock)
focal_class.identifier: addLockToken
focal_class.modifiers: @Override public
focal_class.parameters: (final String lock)
focal_class.return: void
focal_class.signature: void addLockToken(final String lock)
focal_class.class_method_signature: JcrTemplate.getAttribute(final String name)
focal_class.full_signature: @Override public Object getAttribute(final String name)
focal_class.identifier: getAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (final String name)
focal_class.return: Object
focal_class.signature: Object getAttribute(final String name)
focal_class.class_method_signature: JcrTemplate.getAttributeNames()
focal_class.full_signature: @Override public String[] getAttributeNames()
focal_class.identifier: getAttributeNames
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getAttributeNames()
focal_class.class_method_signature: JcrTemplate.getImportContentHandler(final String parentAbsPath, final int uuidBehavior)
focal_class.full_signature: @Override public ContentHandler getImportContentHandler(final String parentAbsPath, final int uuidBehavior)
focal_class.identifier: getImportContentHandler
focal_class.modifiers: @Override public
focal_class.parameters: (final String parentAbsPath, final int uuidBehavior)
focal_class.return: ContentHandler
focal_class.signature: ContentHandler getImportContentHandler(final String parentAbsPath, final int uuidBehavior)
focal_class.class_method_signature: JcrTemplate.getItem(final String absPath)
focal_class.full_signature: @Override public Item getItem(final String absPath)
focal_class.identifier: getItem
focal_class.modifiers: @Override public
focal_class.parameters: (final String absPath)
focal_class.return: Item
focal_class.signature: Item getItem(final String absPath)
focal_class.class_method_signature: JcrTemplate.getLockTokens()
focal_class.full_signature: @Override public String[] getLockTokens()
focal_class.identifier: getLockTokens
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getLockTokens()
focal_class.class_method_signature: JcrTemplate.getNamespacePrefix(final String uri)
focal_class.full_signature: @Override public String getNamespacePrefix(final String uri)
focal_class.identifier: getNamespacePrefix
focal_class.modifiers: @Override public
focal_class.parameters: (final String uri)
focal_class.return: String
focal_class.signature: String getNamespacePrefix(final String uri)
focal_class.class_method_signature: JcrTemplate.getNamespacePrefixes()
focal_class.full_signature: @Override public String[] getNamespacePrefixes()
focal_class.identifier: getNamespacePrefixes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getNamespacePrefixes()
focal_class.class_method_signature: JcrTemplate.getNamespaceURI(final String prefix)
focal_class.full_signature: @Override public String getNamespaceURI(final String prefix)
focal_class.identifier: getNamespaceURI
focal_class.modifiers: @Override public
focal_class.parameters: (final String prefix)
focal_class.return: String
focal_class.signature: String getNamespaceURI(final String prefix)
focal_class.class_method_signature: JcrTemplate.getNodeByUUID(final String uuid)
focal_class.full_signature: @Override @Deprecated public Node getNodeByUUID(final String uuid)
focal_class.identifier: getNodeByUUID
focal_class.modifiers: @Override @Deprecated public
focal_class.parameters: (final String uuid)
focal_class.return: Node
focal_class.signature: Node getNodeByUUID(final String uuid)
focal_class.class_method_signature: JcrTemplate.getNodeByIdentifier(final String id)
focal_class.full_signature: @Override public Node getNodeByIdentifier(final String id)
focal_class.identifier: getNodeByIdentifier
focal_class.modifiers: @Override public
focal_class.parameters: (final String id)
focal_class.return: Node
focal_class.signature: Node getNodeByIdentifier(final String id)
focal_class.class_method_signature: JcrTemplate.getRootNode()
focal_class.full_signature: @Override public Node getRootNode()
focal_class.identifier: getRootNode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node getRootNode()
focal_class.class_method_signature: JcrTemplate.getUserID()
focal_class.full_signature: @Override public String getUserID()
focal_class.identifier: getUserID
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUserID()
focal_class.class_method_signature: JcrTemplate.getValueFactory()
focal_class.full_signature: @Override public ValueFactory getValueFactory()
focal_class.identifier: getValueFactory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueFactory
focal_class.signature: ValueFactory getValueFactory()
focal_class.class_method_signature: JcrTemplate.hasPendingChanges()
focal_class.full_signature: @Override public boolean hasPendingChanges()
focal_class.identifier: hasPendingChanges
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasPendingChanges()
focal_class.class_method_signature: JcrTemplate.importXML(final String parentAbsPath, final InputStream in, final int uuidBehavior)
focal_class.full_signature: @Override public void importXML(final String parentAbsPath, final InputStream in, final int uuidBehavior)
focal_class.identifier: importXML
focal_class.modifiers: @Override public
focal_class.parameters: (final String parentAbsPath, final InputStream in, final int uuidBehavior)
focal_class.return: void
focal_class.signature: void importXML(final String parentAbsPath, final InputStream in, final int uuidBehavior)
focal_class.class_method_signature: JcrTemplate.refresh(final boolean keepChanges)
focal_class.full_signature: @Override public void refresh(final boolean keepChanges)
focal_class.identifier: refresh
focal_class.modifiers: @Override public
focal_class.parameters: (final boolean keepChanges)
focal_class.return: void
focal_class.signature: void refresh(final boolean keepChanges)
focal_class.class_method_signature: JcrTemplate.removeLockToken(final String lt)
focal_class.full_signature: @Override public void removeLockToken(final String lt)
focal_class.identifier: removeLockToken
focal_class.modifiers: @Override public
focal_class.parameters: (final String lt)
focal_class.return: void
focal_class.signature: void removeLockToken(final String lt)
focal_class.class_method_signature: JcrTemplate.rename(final Node node, final String newName)
focal_class.full_signature: @Override public void rename(final Node node, final String newName)
focal_class.identifier: rename
focal_class.modifiers: @Override public
focal_class.parameters: (final Node node, final String newName)
focal_class.return: void
focal_class.signature: void rename(final Node node, final String newName)
focal_class.class_method_signature: JcrTemplate.setNamespacePrefix(final String prefix, final String uri)
focal_class.full_signature: @Override public void setNamespacePrefix(final String prefix, final String uri)
focal_class.identifier: setNamespacePrefix
focal_class.modifiers: @Override public
focal_class.parameters: (final String prefix, final String uri)
focal_class.return: void
focal_class.signature: void setNamespacePrefix(final String prefix, final String uri)
focal_class.class_method_signature: JcrTemplate.isLive()
focal_class.full_signature: @Override public boolean isLive()
focal_class.identifier: isLive
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLive()
focal_class.class_method_signature: JcrTemplate.itemExists(final String absPath)
focal_class.full_signature: @Override public boolean itemExists(final String absPath)
focal_class.identifier: itemExists
focal_class.modifiers: @Override public
focal_class.parameters: (final String absPath)
focal_class.return: boolean
focal_class.signature: boolean itemExists(final String absPath)
focal_class.class_method_signature: JcrTemplate.move(final String srcAbsPath, final String destAbsPath)
focal_class.full_signature: @Override public void move(final String srcAbsPath, final String destAbsPath)
focal_class.identifier: move
focal_class.modifiers: @Override public
focal_class.parameters: (final String srcAbsPath, final String destAbsPath)
focal_class.return: void
focal_class.signature: void move(final String srcAbsPath, final String destAbsPath)
focal_class.class_method_signature: JcrTemplate.save()
focal_class.full_signature: @Override public void save()
focal_class.identifier: save
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void save()
focal_class.class_method_signature: JcrTemplate.dump(final Node node)
focal_class.full_signature: @Override public String dump(final Node node)
focal_class.identifier: dump
focal_class.modifiers: @Override public
focal_class.parameters: (final Node node)
focal_class.return: String
focal_class.signature: String dump(final Node node)
focal_class.class_method_signature: JcrTemplate.dumpNode(Node node)
focal_class.full_signature: protected String dumpNode(Node node)
focal_class.identifier: dumpNode
focal_class.modifiers: protected
focal_class.parameters: (Node node)
focal_class.return: String
focal_class.signature: String dumpNode(Node node)
focal_class.class_method_signature: JcrTemplate.query(final Node node)
focal_class.full_signature: @Override public QueryResult query(final Node node)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (final Node node)
focal_class.return: QueryResult
focal_class.signature: QueryResult query(final Node node)
focal_class.class_method_signature: JcrTemplate.query(final String statement)
focal_class.full_signature: @Override public QueryResult query(final String statement)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (final String statement)
focal_class.return: QueryResult
focal_class.signature: QueryResult query(final String statement)
focal_class.class_method_signature: JcrTemplate.query(final String statement, final String language)
focal_class.full_signature: @Override public QueryResult query(final String statement, final String language)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (final String statement, final String language)
focal_class.return: QueryResult
focal_class.signature: QueryResult query(final String statement, final String language)
focal_class.class_method_signature: JcrTemplate.query(final List<String> list)
focal_class.full_signature: @Override public Map<String, QueryResult> query(final List<String> list)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (final List<String> list)
focal_class.return: Map<String, QueryResult>
focal_class.signature: Map<String, QueryResult> query(final List<String> list)
focal_class.class_method_signature: JcrTemplate.query(final List<String> list, final String language, final boolean ignoreErrors)
focal_class.full_signature: @Override public Map<String, QueryResult> query(final List<String> list, final String language, final boolean ignoreErrors)
focal_class.identifier: query
focal_class.modifiers: @Override public
focal_class.parameters: (final List<String> list, final String language, final boolean ignoreErrors)
focal_class.return: Map<String, QueryResult>
focal_class.signature: Map<String, QueryResult> query(final List<String> list, final String language, final boolean ignoreErrors)
focal_class.class_method_signature: JcrTemplate.isAllowCreate()
focal_class.full_signature: public boolean isAllowCreate()
focal_class.identifier: isAllowCreate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAllowCreate()
focal_class.class_method_signature: JcrTemplate.setAllowCreate(boolean allowCreate)
focal_class.full_signature: public void setAllowCreate(boolean allowCreate)
focal_class.identifier: setAllowCreate
focal_class.modifiers: public
focal_class.parameters: (boolean allowCreate)
focal_class.return: void
focal_class.signature: void setAllowCreate(boolean allowCreate)
focal_class.class_method_signature: JcrTemplate.createSessionProxy(Session session)
focal_class.full_signature: protected Session createSessionProxy(Session session)
focal_class.identifier: createSessionProxy
focal_class.modifiers: protected
focal_class.parameters: (Session session)
focal_class.return: Session
focal_class.signature: Session createSessionProxy(Session session)
focal_class.class_method_signature: JcrTemplate.isVersionable(Node node)
focal_class.full_signature: protected boolean isVersionable(Node node)
focal_class.identifier: isVersionable
focal_class.modifiers: protected
focal_class.parameters: (Node node)
focal_class.return: boolean
focal_class.signature: boolean isVersionable(Node node)
focal_class.class_method_signature: JcrTemplate.isExposeNativeSession()
focal_class.full_signature: public boolean isExposeNativeSession()
focal_class.identifier: isExposeNativeSession
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isExposeNativeSession()
focal_class.class_method_signature: JcrTemplate.setExposeNativeSession(boolean exposeNativeSession)
focal_class.full_signature: public void setExposeNativeSession(boolean exposeNativeSession)
focal_class.identifier: setExposeNativeSession
focal_class.modifiers: public
focal_class.parameters: (boolean exposeNativeSession)
focal_class.return: void
focal_class.signature: void setExposeNativeSession(boolean exposeNativeSession)
focal_class.superclass: extends JcrAccessor
focal_method.body: @Override
      public String getUserID() {
          return execute(new JcrCallback<String>() {
              /**
               * @see JcrCallback#doInJcr(javax.jcr.Session)
               */
              @Override
              public String doInJcr(Session session) throws RepositoryException {
                  return session.getUserID();
              }
          }, true);
      }
focal_method.class_method_signature: JcrTemplate.getUserID()
focal_method.full_signature: @Override public String getUserID()
focal_method.identifier: getUserID
focal_method.invocations: execute getUserID
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getUserID()