uk.ac.soton.itinnovation.registry.component.xml.db
Class XmlDbAccessAbstractManager
java.lang.Object
uk.ac.soton.itinnovation.registry.component.xml.db.XmlDbAccessAbstractManager
- All Implemented Interfaces:
- XmlDbAccessManager
- Direct Known Subclasses:
- XmlDbAccessManagerXmlDb
public abstract class XmlDbAccessAbstractManager
- extends Object
- implements XmlDbAccessManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
accessCache
protected static Hashtable<String,XmlDbAccess> accessCache
XmlDbAccessAbstractManager
public XmlDbAccessAbstractManager()
login
public void login(String user,
String password,
String group)
- Description copied from interface:
XmlDbAccessManager
- Login into the system.
- Specified by:
login in interface XmlDbAccessManager
logout
public void logout()
- Description copied from interface:
XmlDbAccessManager
- Logout.
NOTE open collections could be closed and user removed from cache.
- Specified by:
logout in interface XmlDbAccessManager
adminLogin
public void adminLogin(String user,
String password,
String group)
- Description copied from interface:
XmlDbAccessManager
- Login into the system.
- Specified by:
adminLogin in interface XmlDbAccessManager
adminLogout
public void adminLogout()
- Description copied from interface:
XmlDbAccessManager
- Logout.
NOTE open collections could be closed and user removed from cache.
- Specified by:
adminLogout in interface XmlDbAccessManager
removeAccess
protected final void removeAccess(boolean isAdmin)
throws AccessException
- Throws:
AccessException
getAccess
public abstract XmlDbAccess getAccess()
throws AccessException
- Description copied from interface:
XmlDbAccessManager
- Get personalised access to the XML DB. Requires previous login.
- Specified by:
getAccess in interface XmlDbAccessManager
- Returns:
- database access
- Throws:
AccessException
getAdminAccess
public abstract XmlDbAccess getAdminAccess()
throws AccessException
- Specified by:
getAdminAccess in interface XmlDbAccessManager
- Throws:
AccessException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.