public class DummyLockToken extends Object
Constructor and Description |
---|
DummyLockToken() |
Modifier and Type | Method and Description |
---|---|
static javax.jcr.Node |
createRepository() |
static javax.jcr.Repository |
getRepository() |
static javax.jcr.Session |
getSystemSession() |
static javax.jcr.Session |
login(String user,
String pass) |
static void |
main(String[] args) |
public static void main(String[] args) throws NamingException, javax.jcr.RepositoryException, FileNotFoundException
NamingException
javax.jcr.RepositoryException
FileNotFoundException
public static javax.jcr.Session login(String user, String pass) throws NamingException, javax.jcr.RepositoryException, javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException
NamingException
javax.jcr.RepositoryException
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
public static javax.jcr.Repository getRepository() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static javax.jcr.Session getSystemSession() throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public static javax.jcr.Node createRepository() throws javax.jcr.NamespaceException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException, javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.lock.LockException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.InvalidItemStateException
javax.jcr.NamespaceException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.InvalidItemStateException
Copyright © 2016. All rights reserved.