com.jscape.inet.vfs
Class DomainAdministration

java.lang.Object
  extended by com.jscape.inet.vfs.DomainAdministration

public class DomainAdministration
extends java.lang.Object

Defines domain administration properties for a user account.


Constructor Summary
DomainAdministration()
          Creates a new DomainAdministration instance.
DomainAdministration(DomainAdministration that)
          Creates a new DomainAdministration instance.
 
Method Summary
 java.lang.Integer getMaxOwnedCount()
          Gets maximum number of accounts that may be owned.
 java.lang.String getRestrictDir()
          Gets absolute path of directory that account may assign to account virtual paths.
 boolean isAllowGroupAssignment()
          Gets whether account can assign a group to accounts.
 boolean isAllowResourceMapping()
          Sets whether account can assign a reverse proxy to an account virtual path.
 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.
 void setAllowGroupAssignment(boolean value)
          Sets whether account can assign a group to accounts.
 void setAllowResourceMapping(boolean value)
          Gets whether account can assign a reverse proxy to an account virtual path.
 void setManageNonOwned(boolean value)
          Sets whether account can manage non-owned accounts.
 void setMaxOwnedCount(java.lang.Integer count)
          Sets maximum number of accounts that may be owned.
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainAdministration

public DomainAdministration()
Creates a new DomainAdministration instance.


DomainAdministration

public DomainAdministration(DomainAdministration that)
Creates a new DomainAdministration instance.

Parameters:
that - copy contructor
Method Detail

getMaxOwnedCount

public java.lang.Integer getMaxOwnedCount()
Gets maximum number of accounts that may be owned.

Returns:
max accounts

setMaxOwnedCount

public void setMaxOwnedCount(java.lang.Integer count)
Sets maximum number of accounts that may be owned.

Parameters:
count - max accounts

isManageNonOwned

public boolean isManageNonOwned()
Gets whether account can manage non-owned accounts.

Returns:
true if can managed non-owned accounts, false otherwise

setManageNonOwned

public void setManageNonOwned(boolean value)
Sets whether account can manage non-owned accounts.

Parameters:
value - true if can manage non-owned accounts, false otherwise

isAllowGroupAssignment

public boolean isAllowGroupAssignment()
Gets whether account can assign a group to accounts.

Returns:
true if can assign, false otherwise

setAllowGroupAssignment

public void setAllowGroupAssignment(boolean value)
Sets whether account can assign a group to accounts.

Parameters:
value - true if can assign, false otherwise

isAllowResourceMapping

public boolean isAllowResourceMapping()
Sets whether account can assign a reverse proxy to an account virtual path.

Returns:
true if can assign a reverse proxy, false otherwise

setAllowResourceMapping

public void setAllowResourceMapping(boolean value)
Gets whether account can assign a reverse proxy to an account virtual path.

Parameters:
value - true if can assign a reverse proxy, false otherwise

getRestrictDir

public java.lang.String getRestrictDir()
Gets absolute path of directory that account may assign to account virtual paths.

Returns:
absolute directory path

setRestrictDir

public void setRestrictDir(java.lang.String dir)
Gets absolute path of directory that account may assign to account virtual paths.

Parameters:
dir - absolute directory path

isShareQuotas

public boolean isShareQuotas()
Gets whether traffic of owned users is rolled up to this account quota.

Returns:
true if traffic is rolled up, false otherwise

setShareQuotas

public void setShareQuotas(boolean share)
Sets whether traffic of owned users is rolled up to this account quota.

Parameters:
share - true if traffic is rolled up, false otherwise.


Copyright © 2007 JSCAPE Corp. All Rights Reserved.