Skip to content

Scala helpers for working with the JCR api (Jackrabbit more specifically)

Notifications You must be signed in to change notification settings

upperbounds/jcrhelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stuff to make dealing with JCR storage easier

Prerequisites install sbt

in the project root run: sbt console

Getting a session

import cfm._; import cfm.Repo._
val s = new DavRepoAdaptor("http://localhost:4502/crx/server", "crx.default", "admin", "admin").s

Searching

val q = "//nodename"

//accessing any iterator method on a QueryResult will execute the query
s.xpath(q).limit(10).offset(10).foreach(println)

About

Scala helpers for working with the JCR api (Jackrabbit more specifically)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages