com.openexchange.admin.soap
Class OXUtil
java.lang.Object
com.openexchange.admin.soap.OXSOAPRMIMapper
com.openexchange.admin.soap.OXUtil
- All Implemented Interfaces:
- OXUtilInterface, Remote
public class OXUtil
- extends com.openexchange.admin.soap.OXSOAPRMIMapper
- implements OXUtilInterface
SOAP Service implementing RMI Interface OXUtilInterface
- Author:
- choeger
Fields inherited from class com.openexchange.admin.soap.OXSOAPRMIMapper |
CONNECT_ATTEMPTS_DELAY_TIME, MAX_RMI_CONNECT_ATTEMPTS, RMI_HOSTNAME |
Fields inherited from interface com.openexchange.admin.rmi.OXUtilInterface |
DEFAULT_DB_WEIGHT, DEFAULT_DRIVER, DEFAULT_HOSTNAME, DEFAULT_MAXUNITS, DEFAULT_POOL_HARD_LIMIT, DEFAULT_POOL_INITIAL, DEFAULT_POOL_MAX, DEFAULT_STORE_MAX_CTX, DEFAULT_STORE_SIZE, DEFAULT_USER, RMI_NAME |
Method Summary |
void |
changeDatabase(Database db,
Credentials auth)
|
void |
changeFilestore(Filestore fstore,
Credentials auth)
|
MaintenanceReason |
createMaintenanceReason(MaintenanceReason reason,
Credentials auth)
|
void |
deleteMaintenanceReason(MaintenanceReason[] reasons,
Credentials auth)
|
Database[] |
listAllDatabase(Credentials auth)
|
Filestore[] |
listAllFilestore(Credentials auth)
|
MaintenanceReason[] |
listAllMaintenanceReason(Credentials auth)
|
Server[] |
listAllServer(Credentials auth)
|
Database[] |
listDatabase(String search_pattern,
Credentials auth)
|
Filestore[] |
listFilestore(String search_pattern,
Credentials auth)
|
MaintenanceReason[] |
listMaintenanceReason(String search_pattern,
Credentials auth)
|
Server[] |
listServer(String search_pattern,
Credentials auth)
|
Database |
registerDatabase(Database db,
Credentials auth)
|
Filestore |
registerFilestore(Filestore fstore,
Credentials auth)
|
Server |
registerServer(Server srv,
Credentials auth)
|
void |
unregisterDatabase(Database dbhandle,
Credentials auth)
|
void |
unregisterFilestore(Filestore store,
Credentials auth)
|
void |
unregisterServer(Server serv,
Credentials auth)
|
OXUtil
public OXUtil()
throws RemoteException
- Throws:
RemoteException
changeDatabase
public void changeDatabase(Database db,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
changeDatabase
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
changeFilestore
public void changeFilestore(Filestore fstore,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
changeFilestore
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
createMaintenanceReason
public MaintenanceReason createMaintenanceReason(MaintenanceReason reason,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
createMaintenanceReason
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
deleteMaintenanceReason
public void deleteMaintenanceReason(MaintenanceReason[] reasons,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
deleteMaintenanceReason
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listAllDatabase
public Database[] listAllDatabase(Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listAllDatabase
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listAllFilestore
public Filestore[] listAllFilestore(Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listAllFilestore
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listAllMaintenanceReason
public MaintenanceReason[] listAllMaintenanceReason(Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listAllMaintenanceReason
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listAllServer
public Server[] listAllServer(Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listAllServer
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listDatabase
public Database[] listDatabase(String search_pattern,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listDatabase
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listFilestore
public Filestore[] listFilestore(String search_pattern,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listFilestore
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listMaintenanceReason
public MaintenanceReason[] listMaintenanceReason(String search_pattern,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listMaintenanceReason
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
listServer
public Server[] listServer(String search_pattern,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
listServer
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
registerDatabase
public Database registerDatabase(Database db,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
registerDatabase
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
registerFilestore
public Filestore registerFilestore(Filestore fstore,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
registerFilestore
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
registerServer
public Server registerServer(Server srv,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
registerServer
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
unregisterDatabase
public void unregisterDatabase(Database dbhandle,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
unregisterDatabase
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
unregisterFilestore
public void unregisterFilestore(Filestore store,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
unregisterFilestore
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
unregisterServer
public void unregisterServer(Server serv,
Credentials auth)
throws RemoteException,
StorageException,
InvalidCredentialsException,
InvalidDataException
- Specified by:
unregisterServer
in interface OXUtilInterface
- Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException