|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.rmi.dataobjects.EnforceableDataObject com.openexchange.admin.rmi.dataobjects.ExtendableDataObject com.openexchange.admin.rmi.dataobjects.Context
public class Context
Class representing a context.
Constructor Summary | |
---|---|
Context()
|
|
Context(Integer id)
|
|
Context(int id,
String name)
|
Method Summary | |
---|---|
void |
addLoginMapping(String mapping)
|
void |
addLoginMappings(Collection<String> mapping)
|
boolean |
equals(Object obj)
|
Long |
getAverage_size()
|
Boolean |
getEnabled()
|
String |
getFilestore_name()
|
Integer |
getFilestoreId()
|
Integer |
getId()
Returns the id of this object |
String |
getIdAsString()
|
HashSet<String> |
getLoginMappings()
|
MaintenanceReason |
getMaintenanceReason()
|
String[] |
getMandatoryMembersChange()
At the moment no fields are defined here |
String[] |
getMandatoryMembersCreate()
At the moment setId(java.lang.Integer) and setMaxQuota(java.lang.Long) are defined here |
String[] |
getMandatoryMembersDelete()
At the moment no fields are defined here |
String[] |
getMandatoryMembersRegister()
At the moment no fields are defined here |
Long |
getMaxQuota()
|
String |
getName()
Returns the name of this object |
Map<String,String> |
getNamespace(String namespace)
|
Database |
getReadDatabase()
|
Long |
getUsedQuota()
|
String |
getUserAttribute(String namespace,
String name)
Read a generic user attribute |
Map<String,Map<String,String>> |
getUserAttributes()
|
SOAPUserAttributes |
getUserAttributesForSOAP()
|
Database |
getWriteDatabase()
|
int |
hashCode()
|
boolean |
isAverage_sizeset()
|
Boolean |
isEnabled()
|
boolean |
isEnabledset()
|
boolean |
isFilestore_idset()
|
boolean |
isFilestore_nameset()
|
boolean |
isIdset()
|
boolean |
isListrun()
This settings are only used internally, don't manipulate the setting here or rely on this methods existence |
boolean |
isMaintenanceReasonset()
|
boolean |
isMaxQuotaset()
|
boolean |
isNameset()
|
boolean |
isReadDatabaseset()
|
boolean |
isUsedQuotaset()
|
boolean |
isUserAttributesset()
Used to check if the user attributes have been modified |
boolean |
isWriteDatabaseset()
|
boolean |
removeLoginMapping(String mapping)
|
boolean |
removeLoginMappings(Collection<String> mapping)
|
void |
setAverage_size(Long average_size)
The context average size can only be configured in AdminDaemon.properties |
void |
setEnabled(Boolean enabled)
|
void |
setFilestore_name(String filestore_name)
|
void |
setFilestoreId(Integer filestore_id)
|
void |
setId(Integer id)
Sets the id for this object |
void |
setListrun(boolean listrun)
This settings are only used internally, don't manipulate the setting here or rely on this methods existence |
void |
setLoginMappings(HashSet<String> mappings)
|
void |
setMaintenanceReason(MaintenanceReason maintenanceReason)
|
void |
setMaxQuota(Long maxQuota)
|
void |
setName(String name)
Sets the name for this object |
void |
setReadDatabase(Database readDatabase)
|
void |
setUsedQuota(Long usedQuota)
|
void |
setUserAttribute(String namespace,
String name,
String value)
Sets a generic user attribute |
void |
setUserAttributes(Map<String,Map<String,String>> userAttributes)
|
void |
setUserAttributesForSOAP(SOAPUserAttributes userAttributes)
|
void |
setWriteDatabase(Database writeDatabase)
|
String |
toString()
|
Methods inherited from class com.openexchange.admin.rmi.dataobjects.ExtendableDataObject |
---|
addExtension, getAllExtensionsAsHash, getFirstExtensionByName, isExtensionsok, isExtensionsset, removeExtension, setExtensionsok |
Methods inherited from class com.openexchange.admin.rmi.dataobjects.EnforceableDataObject |
---|
getUnsetMembers, mandatoryChangeMembersSet, mandatoryCreateMembersSet, mandatoryDeleteMembersSet, mandatoryRegisterMembersSet, testMandatoryCreateFieldsNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Context()
public Context(Integer id)
id
- public Context(int id, String name)
id
- name
- Method Detail |
---|
public final Integer getId()
NameAndIdObject
getId
in interface NameAndIdObject
Integer
object containing the idpublic final String getIdAsString()
public final void setId(Integer id)
NameAndIdObject
setId
in interface NameAndIdObject
id
- An Integer
object containing the idpublic final String getName()
NameAndIdObject
getName
in interface NameAndIdObject
String
containing the namepublic final void setName(String name)
NameAndIdObject
setName
in interface NameAndIdObject
name
- A String
containing the namepublic final void setLoginMappings(HashSet<String> mappings)
public final void addLoginMapping(String mapping)
public final void addLoginMappings(Collection<String> mapping)
public final boolean removeLoginMapping(String mapping)
public final boolean removeLoginMappings(Collection<String> mapping)
public final HashSet<String> getLoginMappings()
public final Integer getFilestoreId()
public final void setFilestoreId(Integer filestore_id)
public final Long getMaxQuota()
public final void setMaxQuota(Long maxQuota)
maxQuota
- (in MB)public final Long getUsedQuota()
public final void setUsedQuota(Long usedQuota)
public final MaintenanceReason getMaintenanceReason()
public final void setMaintenanceReason(MaintenanceReason maintenanceReason)
public final Boolean isEnabled()
public final void setEnabled(Boolean enabled)
public final Database getReadDatabase()
public final void setReadDatabase(Database readDatabase)
public final Database getWriteDatabase()
public final void setWriteDatabase(Database writeDatabase)
public final Long getAverage_size()
public final void setAverage_size(Long average_size)
public final String getFilestore_name()
public final void setFilestore_name(String filestore_name)
public final String toString()
EnforceableDataObject
toString
in class ExtendableDataObject
public String[] getMandatoryMembersChange()
getMandatoryMembersChange
in class EnforceableDataObject
public String[] getMandatoryMembersCreate()
setId(java.lang.Integer)
and setMaxQuota(java.lang.Long)
are defined here
getMandatoryMembersCreate
in class EnforceableDataObject
public String[] getMandatoryMembersDelete()
getMandatoryMembersDelete
in class EnforceableDataObject
public String[] getMandatoryMembersRegister()
getMandatoryMembersRegister
in class EnforceableDataObject
public boolean isAverage_sizeset()
public boolean isEnabledset()
public boolean isFilestore_idset()
public boolean isFilestore_nameset()
public boolean isIdset()
public boolean isMaintenanceReasonset()
public boolean isMaxQuotaset()
public boolean isNameset()
public boolean isReadDatabaseset()
public boolean isUsedQuotaset()
public boolean isWriteDatabaseset()
public void setUserAttribute(String namespace, String name, String value)
public String getUserAttribute(String namespace, String name)
public Map<String,Map<String,String>> getUserAttributes()
public void setUserAttributes(Map<String,Map<String,String>> userAttributes)
public Map<String,String> getNamespace(String namespace)
public SOAPUserAttributes getUserAttributesForSOAP()
public void setUserAttributesForSOAP(SOAPUserAttributes userAttributes)
public boolean isUserAttributesset()
public int hashCode()
hashCode
in class ExtendableDataObject
public boolean equals(Object obj)
equals
in class ExtendableDataObject
public Boolean getEnabled()
public final boolean isListrun()
public final void setListrun(boolean listrun)
listrun
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |