Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.test
Class TestRepositoryHandler

java.lang.Object
  extended by org.nuxeo.ecm.core.test.TestRepositoryHandler

public class TestRepositoryHandler
extends Object


Constructor Summary
TestRepositoryHandler(String name)
           
 
Method Summary
 CoreSession changeUser(CoreSession session, String newUser)
           
 void openRepository()
           
 CoreSession openSession(Map<String,Serializable> ctx)
           
 CoreSession openSessionAs(String userName)
           
 void releaseRepository()
           
 void releaseSession(CoreSession session)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRepositoryHandler

public TestRepositoryHandler(String name)
Method Detail

openRepository

public void openRepository()
                    throws Exception
Throws:
Exception

openSessionAs

public CoreSession openSessionAs(String userName)
                          throws ClientException
Throws:
ClientException

openSession

public CoreSession openSession(Map<String,Serializable> ctx)
                        throws ClientException
Throws:
ClientException

changeUser

public CoreSession changeUser(CoreSession session,
                              String newUser)
                       throws ClientException
Throws:
ClientException

releaseRepository

public void releaseRepository()

releaseSession

public void releaseSession(CoreSession session)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.