|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.esupportail.portal.channels.CStockage.administration.AdministrationTool
Id: AdministrationTool.java,v 1.0 13 janv. 2005 Copyright (c) 2005 Esup Portail (www.esup-portail.org) Classes: AdministrationTool Original Author: Yohan Colmant This class is a tool used to manage the administration actions
| Field Summary | |
static java.lang.String |
ADMINISTRATED_SERVER
If the server into the database is administrated |
private DataBaseAccess |
dbAccess
The object used to access the database |
protected static Log |
log
Logger object |
| Constructor Summary | |
AdministrationTool()
Constructor |
|
| Method Summary | |
void |
addStorageAvailableAdministratedSpace(Server server)
Add a new complete server configuration into the database |
void |
delStorageAvailableAdministratedServer(Server server)
Delete sharing properties for this server into the database |
java.util.Vector |
getAdministratedSpaces()
Get the users for whose the resource is shared |
void |
updateServerNameAvailableSpace(java.lang.String serverId,
java.lang.String newName)
Update the name of the server of the sharing properties into the database |
void |
updateStorageAvailableAdministratedSpace(Server server,
boolean changeXml,
java.util.Vector addedSpaces,
java.util.Vector deletedSpaces,
java.util.Vector oldSpacesTargetsChanged,
java.util.Vector newSpacesTargetsChanged)
Add a new complete server configuration into the database |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final Log log
private DataBaseAccess dbAccess
public static final java.lang.String ADMINISTRATED_SERVER
| Constructor Detail |
public AdministrationTool()
throws PropertiesException
PropertiesException| Method Detail |
public java.util.Vector getAdministratedSpaces()
throws DataBaseException,
PropertiesException,
ServerException
DataBaseException
PropertiesException
ServerException
public void addStorageAvailableAdministratedSpace(Server server)
throws DataBaseException
server - the server object containing each space
DataBaseException
public void updateStorageAvailableAdministratedSpace(Server server,
boolean changeXml,
java.util.Vector addedSpaces,
java.util.Vector deletedSpaces,
java.util.Vector oldSpacesTargetsChanged,
java.util.Vector newSpacesTargetsChanged)
throws DataBaseException
server - the server object containing each space
DataBaseException
public void delStorageAvailableAdministratedServer(Server server)
throws DataBaseException
server - the server to delete
DataBaseException
public void updateServerNameAvailableSpace(java.lang.String serverId,
java.lang.String newName)
throws DataBaseException
serverId - the id of the servernewName - the new name of the server administration
DataBaseException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||