com.openexchange.admin.console.context
Class ContextHostingAbstraction
java.lang.Object
com.openexchange.admin.console.BasicCommandlineOptions
com.openexchange.admin.console.ObjectNamingAbstraction
com.openexchange.admin.console.context.ContextHostingAbstraction
public class ContextHostingAbstraction
- extends com.openexchange.admin.console.ObjectNamingAbstraction
This class is used to abstract to context related attributes and methods which are only needed
in the hosting part of Open-Xchange. This class is not only used to derive from it but it is also
used as aggregation inside some object. So the public method are used through aggregation while the
protected are used by inheritance.
- Author:
- d7
Fields inherited from class com.openexchange.admin.console.BasicCommandlineOptions |
SYSEXIT_COMMUNICATION_ERROR, SYSEXIT_CONTEXT_ALREADY_EXISTS, SYSEXIT_ILLEGAL_OPTION_VALUE, SYSEXIT_INVALID_CREDENTIALS, SYSEXIT_INVALID_DATA, SYSEXIT_MISSING_OPTION, SYSEXIT_NO_SUCH_CONTEXT, SYSEXIT_NO_SUCH_GROUP, SYSEXIT_NO_SUCH_RESOURCE, SYSEXIT_NO_SUCH_USER, SYSEXIT_REMOTE_ERROR, SYSEXIT_SERVERSTORAGE_ERROR, SYSEXIT_UNABLE_TO_PARSE, SYSEXIT_UNKNOWN_OPTION |
Methods inherited from class com.openexchange.admin.console.BasicCommandlineOptions |
getEnvOptions |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextHostingAbstraction
public ContextHostingAbstraction()
parseAndSetRemoveLoginMapping
public void parseAndSetRemoveLoginMapping(com.openexchange.admin.console.AdminParser parser)
parseAndSetAddLoginMapping
public void parseAndSetAddLoginMapping(com.openexchange.admin.console.AdminParser parser)
setAddMappingOption
public void setAddMappingOption(com.openexchange.admin.console.AdminParser parser,
boolean required)
setRemoveMappingOption
public void setRemoveMappingOption(com.openexchange.admin.console.AdminParser parser,
boolean required)
changeMappingSetting
public void changeMappingSetting(OXContextInterface oxres,
com.openexchange.admin.rmi.dataobjects.Context ctx,
com.openexchange.admin.rmi.dataobjects.Credentials auth,
boolean change)
throws java.rmi.RemoteException,
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException,
com.openexchange.admin.rmi.exceptions.NoSuchContextException,
com.openexchange.admin.rmi.exceptions.StorageException,
com.openexchange.admin.rmi.exceptions.InvalidDataException
- Throws:
java.rmi.RemoteException
com.openexchange.admin.rmi.exceptions.InvalidCredentialsException
com.openexchange.admin.rmi.exceptions.NoSuchContextException
com.openexchange.admin.rmi.exceptions.StorageException
com.openexchange.admin.rmi.exceptions.InvalidDataException