com.openexchange.admin.reseller.rmi.exceptions
Enum OXResellerException.Code

java.lang.Object
  extended by java.lang.Enum<OXResellerException.Code>
      extended by com.openexchange.admin.reseller.rmi.exceptions.OXResellerException.Code
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OXResellerException.Code>
Enclosing class:
OXResellerException

public static enum OXResellerException.Code
extends java.lang.Enum<OXResellerException.Code>


Enum Constant Summary
CANNOT_SET_PARENTID_TO_SUBSUBADMIN
          Cannot change parentId to id of subsubadmin
CONTEXT_DOES_NOT_BELONG
          ContextID %1$s does not belong to %2$s
DATABASE_ALREADY_CONTAINS_RESTRICTIONS
          Database already contains restrictions.
EITHER_ADD_EDIT_OR_REMOVE
          Either add, edit or remove restrictions
MAXIMUM_NUMBER_CONTEXT_REACHED
          Maximum number of contexts reached: %1$s
MAXIMUM_NUMBER_OF_SUBADMIN_PER_SUBADMIN_REACHED
          Maximum number of subadmins per subadmin reached: %1$s
MAXIMUM_NUMBER_OF_USERS_BY_MODULEACCESS_PER_CONTEXT_REACHED
          Maximum number of users by moduleaccess per context reached: %1$s
MAXIMUM_NUMBER_OF_USERS_PER_CONTEXT_REACHED
          Maximum number of users per context reached: %1$s
MAXIMUM_OVERALL_CONTEXT_QUOTA
          Maximum overall context quota reached: %1$s
MAXIMUM_OVERALL_NUMBER_OF_CONTEXT_REACHED
          Maximum overall number of users reached: %1$s
MAXIMUM_OVERALL_NUMBER_OF_USERS_BY_MODULEACCESS_REACHED
          Maximum overall number of users by moduleaccess reached: %1$s
MAXIMUM_OVERALL_NUMBER_OF_USERS_REACHED
          Maximum overall number of users reached: %1$s
MODULE_ACCESS_NOT_NULL
          UserModuleAccess must not be null
MODULE_ACCESS_RESTRICTIONS_IN_USE
          The following restrictions are going to be removed, but still are in use: %1$s
NO_RESTRICTIONS_AVAILABLE_TO
          No restrictions available to %1$s.
RESELLER_ADMIN_EXISTS
          Reseller admin already exists: %1$s
RESELLER_ADMIN_NOT_EXIST
          Reseller admin does not exist: %1$s
RESTRICTION_ALREADY_CONTAINED
          "The element %1$s is already contained"
RESTRICTION_NOT_CONTAINED
          The element %1$s is not contained in the current restrictions and thus cannot be edited
SUBADMIN_DOES_NOT_BELONG_TO_SUBADMIN
          Subadmin %1$s does not belong to %2$s
SUBADMIN_NOT_ALLOWED_TO_CREATE_SUBADMIN
          Subadmin %s is not allowed to create subadmins
SUBAMIN_NOT_ALLOWED_TO_CHANGE_PARENTID
          Subadmins cannot change parentId
SUBSUBADMIN_NOT_ALLOWED_TO_CHANGE_RESTRICTIONS
          Subsubadmins cannot change restrictions
UNABLE_TO_DELETE
          Unable to delete %1$s, still owns Context(s)
UNABLE_TO_LOAD_AVAILABLE_RESTRICTIONS_FROM_DATABASE
          Unable to load available restrictions from database
 
Method Summary
 java.lang.String getText()
           
static OXResellerException.Code valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OXResellerException.Code[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNABLE_TO_LOAD_AVAILABLE_RESTRICTIONS_FROM_DATABASE

public static final OXResellerException.Code UNABLE_TO_LOAD_AVAILABLE_RESTRICTIONS_FROM_DATABASE
Unable to load available restrictions from database


RESELLER_ADMIN_EXISTS

public static final OXResellerException.Code RESELLER_ADMIN_EXISTS
Reseller admin already exists: %1$s


RESELLER_ADMIN_NOT_EXIST

public static final OXResellerException.Code RESELLER_ADMIN_NOT_EXIST
Reseller admin does not exist: %1$s


CONTEXT_DOES_NOT_BELONG

public static final OXResellerException.Code CONTEXT_DOES_NOT_BELONG
ContextID %1$s does not belong to %2$s


MAXIMUM_OVERALL_CONTEXT_QUOTA

public static final OXResellerException.Code MAXIMUM_OVERALL_CONTEXT_QUOTA
Maximum overall context quota reached: %1$s


MAXIMUM_NUMBER_CONTEXT_REACHED

public static final OXResellerException.Code MAXIMUM_NUMBER_CONTEXT_REACHED
Maximum number of contexts reached: %1$s


MAXIMUM_OVERALL_NUMBER_OF_CONTEXT_REACHED

public static final OXResellerException.Code MAXIMUM_OVERALL_NUMBER_OF_CONTEXT_REACHED
Maximum overall number of users reached: %1$s


MAXIMUM_OVERALL_NUMBER_OF_USERS_REACHED

public static final OXResellerException.Code MAXIMUM_OVERALL_NUMBER_OF_USERS_REACHED
Maximum overall number of users reached: %1$s


MAXIMUM_OVERALL_NUMBER_OF_USERS_BY_MODULEACCESS_REACHED

public static final OXResellerException.Code MAXIMUM_OVERALL_NUMBER_OF_USERS_BY_MODULEACCESS_REACHED
Maximum overall number of users by moduleaccess reached: %1$s


MAXIMUM_NUMBER_OF_USERS_PER_CONTEXT_REACHED

public static final OXResellerException.Code MAXIMUM_NUMBER_OF_USERS_PER_CONTEXT_REACHED
Maximum number of users per context reached: %1$s


MAXIMUM_NUMBER_OF_USERS_BY_MODULEACCESS_PER_CONTEXT_REACHED

public static final OXResellerException.Code MAXIMUM_NUMBER_OF_USERS_BY_MODULEACCESS_PER_CONTEXT_REACHED
Maximum number of users by moduleaccess per context reached: %1$s


UNABLE_TO_DELETE

public static final OXResellerException.Code UNABLE_TO_DELETE
Unable to delete %1$s, still owns Context(s)


DATABASE_ALREADY_CONTAINS_RESTRICTIONS

public static final OXResellerException.Code DATABASE_ALREADY_CONTAINS_RESTRICTIONS
Database already contains restrictions.


NO_RESTRICTIONS_AVAILABLE_TO

public static final OXResellerException.Code NO_RESTRICTIONS_AVAILABLE_TO
No restrictions available to %1$s.


EITHER_ADD_EDIT_OR_REMOVE

public static final OXResellerException.Code EITHER_ADD_EDIT_OR_REMOVE
Either add, edit or remove restrictions


RESTRICTION_NOT_CONTAINED

public static final OXResellerException.Code RESTRICTION_NOT_CONTAINED
The element %1$s is not contained in the current restrictions and thus cannot be edited


RESTRICTION_ALREADY_CONTAINED

public static final OXResellerException.Code RESTRICTION_ALREADY_CONTAINED
"The element %1$s is already contained"


MODULE_ACCESS_NOT_NULL

public static final OXResellerException.Code MODULE_ACCESS_NOT_NULL
UserModuleAccess must not be null


MODULE_ACCESS_RESTRICTIONS_IN_USE

public static final OXResellerException.Code MODULE_ACCESS_RESTRICTIONS_IN_USE
The following restrictions are going to be removed, but still are in use: %1$s


SUBADMIN_NOT_ALLOWED_TO_CREATE_SUBADMIN

public static final OXResellerException.Code SUBADMIN_NOT_ALLOWED_TO_CREATE_SUBADMIN
Subadmin %s is not allowed to create subadmins


SUBSUBADMIN_NOT_ALLOWED_TO_CHANGE_RESTRICTIONS

public static final OXResellerException.Code SUBSUBADMIN_NOT_ALLOWED_TO_CHANGE_RESTRICTIONS
Subsubadmins cannot change restrictions


MAXIMUM_NUMBER_OF_SUBADMIN_PER_SUBADMIN_REACHED

public static final OXResellerException.Code MAXIMUM_NUMBER_OF_SUBADMIN_PER_SUBADMIN_REACHED
Maximum number of subadmins per subadmin reached: %1$s


SUBADMIN_DOES_NOT_BELONG_TO_SUBADMIN

public static final OXResellerException.Code SUBADMIN_DOES_NOT_BELONG_TO_SUBADMIN
Subadmin %1$s does not belong to %2$s


SUBAMIN_NOT_ALLOWED_TO_CHANGE_PARENTID

public static final OXResellerException.Code SUBAMIN_NOT_ALLOWED_TO_CHANGE_PARENTID
Subadmins cannot change parentId


CANNOT_SET_PARENTID_TO_SUBSUBADMIN

public static final OXResellerException.Code CANNOT_SET_PARENTID_TO_SUBSUBADMIN
Cannot change parentId to id of subsubadmin

Method Detail

values

public static OXResellerException.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OXResellerException.Code c : OXResellerException.Code.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OXResellerException.Code valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getText

public final java.lang.String getText()