com.openexchange.admin.soap
Class OXUtil

java.lang.Object
  extended by com.openexchange.admin.soap.OXSOAPRMIMapper
      extended by com.openexchange.admin.soap.OXUtil

public class OXUtil
extends OXSOAPRMIMapper

SOAP Service implementing RMI Interface OXUtilInterface

Author:
choeger

Field Summary
 
Fields inherited from class com.openexchange.admin.soap.OXSOAPRMIMapper
CONNECT_ATTEMPTS_DELAY_TIME, LOCK_WAIT_TIME, MAX_RMI_CONNECT_ATTEMPTS, RMI_HOSTNAME
 
Constructor Summary
OXUtil()
           
 
Method Summary
 void changeDatabase(Database db, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 void changeFilestore(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)
           
 Database[] listAllDatabase(com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 Filestore[] listAllFilestore(com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 com.openexchange.admin.rmi.dataobjects.MaintenanceReason[] listAllMaintenanceReason(com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 Server[] listAllServer(com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 Database[] listDatabase(java.lang.String search_pattern, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 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)
           
 Server[] listServer(java.lang.String search_pattern, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 Database registerDatabase(Database db, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 Filestore registerFilestore(Filestore fstore, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 Server registerServer(Server srv, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 void unregisterDatabase(Database dbhandle, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 void unregisterFilestore(Filestore store, com.openexchange.admin.rmi.dataobjects.Credentials auth)
           
 void unregisterServer(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
 

Constructor Detail

OXUtil

public OXUtil()
       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

changeDatabase

public void changeDatabase(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
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(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
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
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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

listAllDatabase

public 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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

listAllFilestore

public 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
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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

listAllServer

public 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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

listDatabase

public 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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

listFilestore

public 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
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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

listServer

public 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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

registerDatabase

public Database registerDatabase(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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

registerFilestore

public Filestore registerFilestore(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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException

registerServer

public Server registerServer(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
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(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
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(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
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(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
Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.InvalidDataException