public class DomainAdministration
extends java.lang.Object
| Constructor and Description |
|---|
DomainAdministration()
Used by serialization subsystem.
|
DomainAdministration(DomainAdministration that)
Creates a new administration instance.
|
DomainAdministration(java.lang.Integer maxOwnedCount,
boolean manageNonOwned,
boolean allowGroupAssignment,
boolean allowResourceMapping,
java.lang.String restrictDir,
boolean shareQuotas,
boolean allowSetPhoneAuth,
boolean allowUrlBranding,
java.lang.Integer maxUrlBrandings,
boolean allowDropZone,
java.lang.Integer maxDropZones,
boolean allowManagePublicContact,
boolean allowSystemPgpKeyAssignment,
boolean userPasswordChangingAllowed,
java.lang.String[] allowedTemplates)
Creates a new administration instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllowedTemplates()
Returns the allowed templates.
|
java.lang.Integer |
getMaxDropZones()
Returns maximum drop zones user can manage.
|
java.lang.Integer |
getMaxOwnedCount()
Gets maximum number of accounts that may be owned.
|
java.lang.Integer |
getMaxUrlBrandings()
Returns max URL brandings user can edit.
|
java.lang.String |
getRestrictDir()
Gets absolute path of directory that account may assign to account virtual paths.
|
boolean |
isAllowDropZone()
Returns an ability for creating/managing drop zones.
|
boolean |
isAllowGroupAssignment()
Gets whether account can assign a group to accounts.
|
boolean |
isAllowManagePublicContact()
Returns whether an account is allowed create/manage public contact.
|
boolean |
isAllowResourceMapping()
Sets whether account can assign a network storage to an account virtual path.
|
boolean |
isAllowSetPhoneAuth()
Returns whether user able to set phone authentication to account.
|
boolean |
isAllowSystemPgpKeyAssignment()
Returns whether an account is allowed to assign system OpenPGP keys to
virtual directories when enabling PGP encryption for a virtual directory.
|
boolean |
isAllowUrlBranding()
Returns user ability to edit URL brandings.
|
boolean |
isManageNonOwned()
Gets whether account can manage non-owned accounts.
|
boolean |
isShareQuotas()
Gets whether traffic of owned users is rolled up to this account quota.
|
boolean |
isUserPasswordChangingAllowed() |
void |
setAllowDropZone(boolean value)
Sets an ability for creating/managing drop zones.
|
void |
setAllowedTemplates(java.lang.String[] value)
Sets the allowed templates.
|
void |
setAllowGroupAssignment(boolean value)
Sets whether account can assign a group to accounts.
|
void |
setAllowManagePublicContact(boolean value)
Sets whether an account can create/manage public contact.
|
void |
setAllowResourceMapping(boolean value)
Gets whether account can assign a network storage to an account virtual path.
|
void |
setAllowSetPhoneAuth(boolean value)
Sets wheter user able to set phone authentication to account.
|
void |
setAllowSystemPgpKeyAssignment(boolean value)
Sets whether an account is allowed to assign system OpenPGP keys to
virtual directories when enabling PGP encryption for a virtual directory.
|
void |
setAllowUrlBranding(boolean value)
Sets user ability to edit URL brandings.
|
void |
setManageNonOwned(boolean value)
Sets whether account can manage non-owned accounts.
|
void |
setMaxDropZones(java.lang.Integer value)
Sets maximum drop zones user can manage.
|
void |
setMaxOwnedCount(java.lang.Integer count)
Sets maximum number of accounts that may be owned.
|
void |
setMaxUrlBrandings(java.lang.Integer value)
Sets max URL brandings user can edit.
|
void |
setRestrictDir(java.lang.String dir)
Gets absolute path of directory that account may assign to account virtual paths.
|
void |
setShareQuotas(boolean share)
Sets whether traffic of owned users is rolled up to this account quota.
|
void |
setUserPasswordChangingAllowed(boolean value) |
java.lang.String |
toString() |
public DomainAdministration(java.lang.Integer maxOwnedCount,
boolean manageNonOwned,
boolean allowGroupAssignment,
boolean allowResourceMapping,
java.lang.String restrictDir,
boolean shareQuotas,
boolean allowSetPhoneAuth,
boolean allowUrlBranding,
java.lang.Integer maxUrlBrandings,
boolean allowDropZone,
java.lang.Integer maxDropZones,
boolean allowManagePublicContact,
boolean allowSystemPgpKeyAssignment,
boolean userPasswordChangingAllowed,
java.lang.String[] allowedTemplates)
maxOwnedCount - maximum number of accounts that may be ownedmanageNonOwned - whether account can manage non-owned accountsallowGroupAssignment - whether account can assign a group to accountsallowResourceMapping - whether account can assign a network storage to an account virtual pathrestrictDir - bsolute path of directory that account may assign to account virtual pathsshareQuotas - whether traffic of owned users is rolled up to this account quotaallowSetPhoneAuth - wheter user able to set phone authentication to accountallowUrlBranding - user ability to edit URL brandingsmaxUrlBrandings - max URL brandings user can editallowDropZone - ability for creating/managing drop zones.maxDropZones - max drop zone user can manageallowManagePublicContact - ability for creating/managing public contactsallowSystemPgpKeyAssignment - whether account can assign system OpenPGP keyspublic DomainAdministration(DomainAdministration that)
that - copy constructorpublic DomainAdministration()
public java.lang.Integer getMaxOwnedCount()
public void setMaxOwnedCount(java.lang.Integer count)
count - max accountspublic boolean isManageNonOwned()
public void setManageNonOwned(boolean value)
value - true if can manage non-owned accounts, false otherwisepublic boolean isAllowGroupAssignment()
public void setAllowGroupAssignment(boolean value)
value - true if can assign, false otherwisepublic boolean isAllowResourceMapping()
public void setAllowResourceMapping(boolean value)
value - true if can assign a network storage, false otherwisepublic java.lang.String getRestrictDir()
public void setRestrictDir(java.lang.String dir)
dir - absolute directory pathpublic boolean isShareQuotas()
public void setShareQuotas(boolean share)
share - true if traffic is rolled up, false otherwise.public boolean isAllowSetPhoneAuth()
true if it can set; false otherwisepublic void setAllowSetPhoneAuth(boolean value)
value - true if it can set; false otherwisepublic boolean isAllowUrlBranding()
true if user is allowed to edit URL brandings;
false otherisepublic void setAllowUrlBranding(boolean value)
value - if true user is allowed to edit URL brandingspublic java.lang.Integer getMaxUrlBrandings()
public void setMaxUrlBrandings(java.lang.Integer value)
value - max URL brandings user can editpublic boolean isAllowDropZone()
true if user allowed to manage drop zones;
false otherwisepublic void setAllowDropZone(boolean value)
value - true if allowed to manage drop zonespublic java.lang.Integer getMaxDropZones()
public void setMaxDropZones(java.lang.Integer value)
value - max drop zones user can managepublic boolean isAllowManagePublicContact()
true if allowed create/manage public account; false otherwisepublic void setAllowManagePublicContact(boolean value)
value - true if allowed create/manage public account; false otherwisepublic boolean isAllowSystemPgpKeyAssignment()
true if allowed system OpenPGP key assignment; false otherwisepublic void setAllowSystemPgpKeyAssignment(boolean value)
value - true if allowed system OpenPGP key assignment; false otherwisepublic boolean isUserPasswordChangingAllowed()
public void setUserPasswordChangingAllowed(boolean value)
public java.lang.String[] getAllowedTemplates()
public void setAllowedTemplates(java.lang.String[] value)
value - the allowed templatespublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.