com.openexchange.admin.soap
Class OXContext

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

public class OXContext
extends com.openexchange.admin.soap.OXSOAPRMIMapper

SOAP Service implementing RMI Interface OXContextInterface

Author:
choeger

Field Summary
 
Fields inherited from class com.openexchange.admin.soap.OXSOAPRMIMapper
CONNECT_ATTEMPTS_DELAY_TIME, MAX_RMI_CONNECT_ATTEMPTS, RMI_HOSTNAME
 
Constructor Summary
OXContext()
           
 
Method Summary
 void change(Context ctx, Credentials auth)
          Same as OXContextInterface.change(Context, Credentials)
 void changeModuleAccess(Context ctx, UserModuleAccess access, Credentials auth)
          Same as OXContextInterface.changeModuleAccess(Context, UserModuleAccess, Credentials)
 void changeModuleAccessByName(Context ctx, String access_combination_name, Credentials auth)
          Same as OXContextInterface.changeModuleAccess(Context, String, Credentials)
 Context create(Context ctx, User admin_user, Credentials auth)
          Same as OXContextInterface.create(Context, User, Credentials)
 Context createModuleAccess(Context ctx, User admin_user, UserModuleAccess access, Credentials auth)
          Same as OXContextInterface.create(Context, User, UserModuleAccess, Credentials)
 Context createModuleAccessByName(Context ctx, User admin_user, String access_combination_name, Credentials auth)
          Same as OXContextInterface.create(Context, User, String, Credentials)
 void delete(Context ctx, Credentials auth)
          Same as OXContextInterface.delete(Context, Credentials)
 void disable(Context ctx, Credentials auth)
          Same as OXContextInterface.disable(Context, Credentials)
 void disableAll(Credentials auth)
          Same as OXContextInterface.disableAll(Credentials)
 void downgrade(Context ctx, Credentials auth)
          Same as OXContextInterface.downgrade(Context, Credentials)
 void enable(Context ctx, Credentials auth)
          Same as OXContextInterface.enable(Context, Credentials)
 void enableAll(Credentials auth)
          Same as OXContextInterface.enableAll(Credentials)
 String getAccessCombinationName(Context ctx, Credentials auth)
          Same as OXContextInterface.getAccessCombinationName(Context, Credentials)
 Context getData(Context ctx, Credentials auth)
          Same as OXContextInterface.getData(Context, Credentials)
 UserModuleAccess getModuleAccess(Context ctx, Credentials auth)
          Same as OXContextInterface.getModuleAccess(Context, Credentials)
 Context[] list(String search_pattern, Credentials auth)
          Same as OXContextInterface.list(String, Credentials)
 Context[] listAll(Credentials auth)
          Same as OXContextInterface.listAll(Credentials)
 Context[] listByDatabase(Database db, Credentials auth)
          Same as OXContextInterface.listByDatabase(Database, Credentials)
 Context[] listByFilestore(Filestore fs, Credentials auth)
          Same as OXContextInterface.listByFilestore(Filestore, Credentials)
 int moveContextDatabase(Context ctx, Database dst_database_id, Credentials auth)
          Same as OXContextInterface.moveContextDatabase(Context, Database, Credentials)
 int moveContextFilestore(Context ctx, Filestore dst_filestore_id, Credentials auth)
          Same as OXContextInterface.moveContextFilestore(Context, Filestore, Credentials)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXContext

public OXContext()
          throws RemoteException
Throws:
RemoteException
Method Detail

change

public void change(Context ctx,
                   Credentials auth)
            throws RemoteException,
                   InvalidCredentialsException,
                   NoSuchContextException,
                   StorageException,
                   InvalidDataException
Same as OXContextInterface.change(Context, Credentials)

Parameters:
ctx -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

changeModuleAccess

public void changeModuleAccess(Context ctx,
                               UserModuleAccess access,
                               Credentials auth)
                        throws RemoteException,
                               InvalidCredentialsException,
                               NoSuchContextException,
                               StorageException,
                               InvalidDataException
Same as OXContextInterface.changeModuleAccess(Context, UserModuleAccess, Credentials)

Parameters:
ctx -
access -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

changeModuleAccessByName

public void changeModuleAccessByName(Context ctx,
                                     String access_combination_name,
                                     Credentials auth)
                              throws RemoteException,
                                     InvalidCredentialsException,
                                     NoSuchContextException,
                                     StorageException,
                                     InvalidDataException
Same as OXContextInterface.changeModuleAccess(Context, String, Credentials)

Parameters:
ctx -
access_combination_name -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

create

public Context create(Context ctx,
                      User admin_user,
                      Credentials auth)
               throws RemoteException,
                      StorageException,
                      InvalidCredentialsException,
                      InvalidDataException,
                      ContextExistsException
Same as OXContextInterface.create(Context, User, Credentials)

Parameters:
ctx -
admin_user -
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
ContextExistsException

createModuleAccessByName

public Context createModuleAccessByName(Context ctx,
                                        User admin_user,
                                        String access_combination_name,
                                        Credentials auth)
                                 throws RemoteException,
                                        StorageException,
                                        InvalidCredentialsException,
                                        InvalidDataException,
                                        ContextExistsException
Same as OXContextInterface.create(Context, User, String, Credentials)

Parameters:
ctx -
admin_user -
access_combination_name -
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
ContextExistsException

createModuleAccess

public Context createModuleAccess(Context ctx,
                                  User admin_user,
                                  UserModuleAccess access,
                                  Credentials auth)
                           throws RemoteException,
                                  StorageException,
                                  InvalidCredentialsException,
                                  InvalidDataException,
                                  ContextExistsException
Same as OXContextInterface.create(Context, User, UserModuleAccess, Credentials)

Parameters:
ctx -
admin_user -
access -
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
ContextExistsException

delete

public void delete(Context ctx,
                   Credentials auth)
            throws RemoteException,
                   InvalidCredentialsException,
                   NoSuchContextException,
                   StorageException,
                   DatabaseUpdateException,
                   InvalidDataException
Same as OXContextInterface.delete(Context, Credentials)

Parameters:
ctx -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
DatabaseUpdateException
InvalidDataException

disable

public void disable(Context ctx,
                    Credentials auth)
             throws RemoteException,
                    InvalidCredentialsException,
                    NoSuchContextException,
                    StorageException,
                    InvalidDataException,
                    NoSuchReasonException,
                    OXContextException
Same as OXContextInterface.disable(Context, Credentials)

Parameters:
ctx -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException
NoSuchReasonException
OXContextException

disableAll

public void disableAll(Credentials auth)
                throws RemoteException,
                       StorageException,
                       InvalidCredentialsException,
                       InvalidDataException,
                       NoSuchReasonException
Same as OXContextInterface.disableAll(Credentials)

Parameters:
auth -
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
NoSuchReasonException

downgrade

public void downgrade(Context ctx,
                      Credentials auth)
               throws RemoteException,
                      InvalidCredentialsException,
                      NoSuchContextException,
                      StorageException,
                      DatabaseUpdateException,
                      InvalidDataException
Same as OXContextInterface.downgrade(Context, Credentials)

Parameters:
ctx -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
DatabaseUpdateException
InvalidDataException

enable

public void enable(Context ctx,
                   Credentials auth)
            throws RemoteException,
                   InvalidCredentialsException,
                   NoSuchContextException,
                   StorageException,
                   InvalidDataException
Same as OXContextInterface.enable(Context, Credentials)

Parameters:
ctx -
auth -
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

enableAll

public void enableAll(Credentials auth)
               throws RemoteException,
                      StorageException,
                      InvalidCredentialsException
Same as OXContextInterface.enableAll(Credentials)

Parameters:
auth -
Throws:
RemoteException
StorageException
InvalidCredentialsException

getAccessCombinationName

public String getAccessCombinationName(Context ctx,
                                       Credentials auth)
                                throws RemoteException,
                                       InvalidCredentialsException,
                                       NoSuchContextException,
                                       StorageException,
                                       InvalidDataException
Same as OXContextInterface.getAccessCombinationName(Context, Credentials)

Parameters:
ctx -
auth -
Returns:
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

getData

public Context getData(Context ctx,
                       Credentials auth)
                throws RemoteException,
                       InvalidCredentialsException,
                       NoSuchContextException,
                       StorageException,
                       InvalidDataException
Same as OXContextInterface.getData(Context, Credentials)

Parameters:
ctx -
auth -
Returns:
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

getModuleAccess

public UserModuleAccess getModuleAccess(Context ctx,
                                        Credentials auth)
                                 throws RemoteException,
                                        InvalidCredentialsException,
                                        NoSuchContextException,
                                        StorageException,
                                        InvalidDataException
Same as OXContextInterface.getModuleAccess(Context, Credentials)

Parameters:
ctx -
auth -
Returns:
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException

list

public Context[] list(String search_pattern,
                      Credentials auth)
               throws RemoteException,
                      StorageException,
                      InvalidCredentialsException,
                      InvalidDataException
Same as OXContextInterface.list(String, Credentials)

Parameters:
search_pattern -
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException

listAll

public Context[] listAll(Credentials auth)
                  throws RemoteException,
                         StorageException,
                         InvalidCredentialsException,
                         InvalidDataException
Same as OXContextInterface.listAll(Credentials)

Parameters:
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException

listByDatabase

public Context[] listByDatabase(Database db,
                                Credentials auth)
                         throws RemoteException,
                                StorageException,
                                InvalidCredentialsException,
                                InvalidDataException,
                                NoSuchDatabaseException
Same as OXContextInterface.listByDatabase(Database, Credentials)

Parameters:
db -
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
NoSuchDatabaseException

listByFilestore

public Context[] listByFilestore(Filestore fs,
                                 Credentials auth)
                          throws RemoteException,
                                 StorageException,
                                 InvalidCredentialsException,
                                 InvalidDataException,
                                 NoSuchFilestoreException
Same as OXContextInterface.listByFilestore(Filestore, Credentials)

Parameters:
fs -
auth -
Returns:
Throws:
RemoteException
StorageException
InvalidCredentialsException
InvalidDataException
NoSuchFilestoreException

moveContextDatabase

public int moveContextDatabase(Context ctx,
                               Database dst_database_id,
                               Credentials auth)
                        throws RemoteException,
                               InvalidCredentialsException,
                               NoSuchContextException,
                               StorageException,
                               InvalidDataException,
                               DatabaseUpdateException,
                               OXContextException
Same as OXContextInterface.moveContextDatabase(Context, Database, Credentials)

Parameters:
ctx -
dst_database_id -
auth -
Returns:
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException
DatabaseUpdateException
OXContextException

moveContextFilestore

public int moveContextFilestore(Context ctx,
                                Filestore dst_filestore_id,
                                Credentials auth)
                         throws RemoteException,
                                InvalidCredentialsException,
                                NoSuchContextException,
                                StorageException,
                                InvalidDataException,
                                NoSuchFilestoreException,
                                NoSuchReasonException,
                                OXContextException
Same as OXContextInterface.moveContextFilestore(Context, Filestore, Credentials)

Parameters:
ctx -
dst_filestore_id -
auth -
Returns:
Throws:
RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException
NoSuchFilestoreException
NoSuchReasonException
OXContextException