uk.ac.soton.itinnovation.registry.component.xml.db
Interface XmlDbAccessManager<E>

All Known Implementing Classes:
XmlDbAccessAbstractManager, XmlDbAccessManagerXmlDb

public interface XmlDbAccessManager<E>


Method Summary
 void adminLogin(String user, String password, String group)
          Login into the system.
 void adminLogout()
          Logout.
 XmlDbAccess<E> getAccess()
          Get personalised access to the XML DB.
 XmlDbAccess<E> getAdminAccess()
           
 XmlDbRegistryAdmin getRegistryAdminInterface()
          Get the registry admin interface.
 void login(String user, String password, String group)
          Login into the system.
 void logout()
          Logout.
 

Method Detail

getRegistryAdminInterface

XmlDbRegistryAdmin getRegistryAdminInterface()
Get the registry admin interface.


login

void login(String user,
           String password,
           String group)
Login into the system.

Parameters:
user -
password -
group -

adminLogin

void adminLogin(String user,
                String password,
                String group)
Login into the system.

Parameters:
user -
password -
group -

logout

void logout()
Logout. NOTE open collections could be closed and user removed from cache.


adminLogout

void adminLogout()
Logout. NOTE open collections could be closed and user removed from cache.


getAccess

XmlDbAccess<E> getAccess()
                         throws AccessException
Get personalised access to the XML DB. Requires previous login.

Returns:
database access
Throws:
AccessException

getAdminAccess

XmlDbAccess<E> getAdminAccess()
                              throws AccessException
Throws:
AccessException


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.