com.openexchange.admin.soap
Class OXUtil
java.lang.Object
com.openexchange.admin.soap.OXSOAPRMIMapper
com.openexchange.admin.soap.OXUtil
- All Implemented Interfaces:
- com.openexchange.admin.rmi.OXUtilInterface, java.rmi.Remote
public class OXUtil
- extends com.openexchange.admin.soap.OXSOAPRMIMapper
- implements com.openexchange.admin.rmi.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(com.openexchange.admin.rmi.dataobjects.Database db,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
void |
changeFilestore(com.openexchange.admin.rmi.dataobjects.Filestore fstore,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.MaintenanceReason |
createMaintenanceReason(com.openexchange.admin.rmi.dataobjects.MaintenanceReason reason,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
void |
deleteMaintenanceReason(com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] reasons,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Database[] |
listAllDatabase(com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Filestore[] |
listAllFilestore(com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] |
listAllMaintenanceReason(com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Server[] |
listAllServer(com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Database[] |
listDatabase(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Filestore[] |
listFilestore(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] |
listMaintenanceReason(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Server[] |
listServer(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Database |
registerDatabase(com.openexchange.admin.rmi.dataobjects.Database db,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Filestore |
registerFilestore(com.openexchange.admin.rmi.dataobjects.Filestore fstore,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
com.openexchange.admin.rmi.dataobjects.Server |
registerServer(com.openexchange.admin.rmi.dataobjects.Server srv,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
void |
unregisterDatabase(com.openexchange.admin.rmi.dataobjects.Database dbhandle,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
void |
unregisterFilestore(com.openexchange.admin.rmi.dataobjects.Filestore store,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
void |
unregisterServer(com.openexchange.admin.rmi.dataobjects.Server serv,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OXUtil
public OXUtil()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
changeDatabase
public void changeDatabase(com.openexchange.admin.rmi.dataobjects.Database db,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
changeDatabase
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
changeFilestore
public void changeFilestore(com.openexchange.admin.rmi.dataobjects.Filestore fstore,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
changeFilestore
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
createMaintenanceReason
public com.openexchange.admin.rmi.dataobjects.MaintenanceReason createMaintenanceReason(com.openexchange.admin.rmi.dataobjects.MaintenanceReason reason,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
createMaintenanceReason
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
deleteMaintenanceReason
public void deleteMaintenanceReason(com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] reasons,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
deleteMaintenanceReason
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listAllDatabase
public com.openexchange.admin.rmi.dataobjects.Database[] listAllDatabase(com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listAllDatabase
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listAllFilestore
public com.openexchange.admin.rmi.dataobjects.Filestore[] listAllFilestore(com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listAllFilestore
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listAllMaintenanceReason
public com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] listAllMaintenanceReason(com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listAllMaintenanceReason
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listAllServer
public com.openexchange.admin.rmi.dataobjects.Server[] listAllServer(com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listAllServer
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listDatabase
public com.openexchange.admin.rmi.dataobjects.Database[] listDatabase(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listDatabase
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listFilestore
public com.openexchange.admin.rmi.dataobjects.Filestore[] listFilestore(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listFilestore
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listMaintenanceReason
public com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] listMaintenanceReason(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listMaintenanceReason
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
listServer
public com.openexchange.admin.rmi.dataobjects.Server[] listServer(java.lang.String search_pattern,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
listServer
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
registerDatabase
public com.openexchange.admin.rmi.dataobjects.Database registerDatabase(com.openexchange.admin.rmi.dataobjects.Database db,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
registerDatabase
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
registerFilestore
public com.openexchange.admin.rmi.dataobjects.Filestore registerFilestore(com.openexchange.admin.rmi.dataobjects.Filestore fstore,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
registerFilestore
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
registerServer
public com.openexchange.admin.rmi.dataobjects.Server registerServer(com.openexchange.admin.rmi.dataobjects.Server srv,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
registerServer
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
unregisterDatabase
public void unregisterDatabase(com.openexchange.admin.rmi.dataobjects.Database dbhandle,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
unregisterDatabase
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
unregisterFilestore
public void unregisterFilestore(com.openexchange.admin.rmi.dataobjects.Filestore store,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
unregisterFilestore
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException
unregisterServer
public void unregisterServer(com.openexchange.admin.rmi.dataobjects.Server serv,
com.openexchange.admin.rmi.dataobjects.Credentials auth)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Specified by:
unregisterServer
in interface com.openexchange.admin.rmi.OXUtilInterface
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException