|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectEnforceableDataObject
com.openexchange.admin.reseller.rmi.dataobjects.Restriction
public class Restriction
| Field Summary | |
|---|---|
static java.lang.String[] |
ALL_RESTRICTIONS
All currently existing restrictions except the BY_MODULEACCESS restrictions |
static java.lang.String |
MAX_CONTEXT_PER_SUBADMIN
The maximum number of contexts a subadmin may create |
static java.lang.String |
MAX_OVERALL_CONTEXT_QUOTA_PER_SUBADMIN
The overall quota of all contexts belonging to subadmin |
static java.lang.String |
MAX_OVERALL_USER_PER_SUBADMIN
The maximum number of users a subadmin may create distibuted over all contexts Important: The oxadminuser is also counted as a user which means that when setting MaxOverallUser to 10, only 9 additional users can be created |
static java.lang.String |
MAX_OVERALL_USER_PER_SUBADMIN_BY_MODULEACCESS_PREFIX
The maximum number of users with a specific UserModuleAccess a subadmin may create distibuted over all contexts
Important: The oxadminuser is also counted as a user which means that when setting
MaxOverallUser to 10, only 9 additional users can be created |
static java.lang.String |
MAX_SUBADMIN_PER_SUBADMIN
If Restriction.SUBADMIN_CAN_CREATE_SUBADMINS is enabled, limit the amount of subadmins
to be created by a subadmin to this value. |
static java.lang.String |
MAX_USER_PER_CONTEXT
The maximum number of users that can be created in this context Important: The oxadminuser is also counted as a user which means that when setting MaxOverallUser to 10, only 9 additional users can be created |
static java.lang.String |
MAX_USER_PER_CONTEXT_BY_MODULEACCESS_PREFIX
The maximum number of users with a specific UserModuleAccess that can be created in this context
Important: The oxadminuser is also counted as a user which means that when setting
MaxOverallUser to 10, only 9 additional users can be created |
static java.lang.String |
SUBADMIN_CAN_CREATE_SUBADMINS
Per default a subadmin can only create contexts. |
| Constructor Summary | |
|---|---|
Restriction()
|
|
Restriction(java.lang.Integer id,
java.lang.String name)
Initializes a new Restriction. |
|
Restriction(java.lang.Integer id,
java.lang.String name,
java.lang.String value)
Initializes a new Restriction. |
|
Restriction(java.lang.String name,
java.lang.String value)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Note that this method only cares about the name attribute inside this class, all other attributes are not included in the check |
java.lang.Integer |
getId()
|
java.lang.String[] |
getMandatoryMembersChange()
|
java.lang.String[] |
getMandatoryMembersCreate()
|
java.lang.String[] |
getMandatoryMembersDelete()
|
java.lang.String[] |
getMandatoryMembersRegister()
|
java.lang.String |
getName()
|
java.lang.String |
getValue()
|
int |
hashCode()
Note that this method only cares about the name attribute inside this class, all other attributes are not included in the check |
void |
setId(java.lang.Integer id)
|
void |
setName(java.lang.String name)
|
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MAX_CONTEXT_PER_SUBADMIN
public static final java.lang.String MAX_OVERALL_CONTEXT_QUOTA_PER_SUBADMIN
public static final java.lang.String MAX_OVERALL_USER_PER_SUBADMIN
public static final java.lang.String SUBADMIN_CAN_CREATE_SUBADMINS
public static final java.lang.String MAX_SUBADMIN_PER_SUBADMIN
Restriction.SUBADMIN_CAN_CREATE_SUBADMINS is enabled, limit the amount of subadmins
to be created by a subadmin to this value. If not set, there's no limit.
public static final java.lang.String MAX_OVERALL_USER_PER_SUBADMIN_BY_MODULEACCESS_PREFIX
UserModuleAccess a subadmin may create distibuted over all contexts
Important: The oxadminuser is also counted as a user which means that when setting
MaxOverallUser to 10, only 9 additional users can be created
public static final java.lang.String MAX_USER_PER_CONTEXT
public static final java.lang.String MAX_USER_PER_CONTEXT_BY_MODULEACCESS_PREFIX
UserModuleAccess that can be created in this context
Important: The oxadminuser is also counted as a user which means that when setting
MaxOverallUser to 10, only 9 additional users can be created
public static final java.lang.String[] ALL_RESTRICTIONS
| Constructor Detail |
|---|
public Restriction()
public Restriction(java.lang.Integer id,
java.lang.String name)
Restriction.
id - name -
public Restriction(java.lang.String name,
java.lang.String value)
name - value -
public Restriction(java.lang.Integer id,
java.lang.String name,
java.lang.String value)
Restriction.
id - name - value - | Method Detail |
|---|
public boolean equals(java.lang.Object obj)
public final java.lang.Integer getId()
public java.lang.String[] getMandatoryMembersChange()
public java.lang.String[] getMandatoryMembersCreate()
public java.lang.String[] getMandatoryMembersDelete()
public java.lang.String[] getMandatoryMembersRegister()
public final java.lang.String getName()
public final java.lang.String getValue()
public int hashCode()
public final void setId(java.lang.Integer id)
id - the id to setpublic final void setName(java.lang.String name)
name - the name to setpublic final void setValue(java.lang.String value)
value - the value to setpublic java.lang.String toString()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||