org.springframework.social.alfresco.api.entities
Class Network.Quota

java.lang.Object
  extended by org.springframework.social.alfresco.api.entities.Network.Quota
Enclosing class:
Network

public static class Network.Quota
extends Object

Author:
jottley

Nested Class Summary
static class Network.Quota.QuotaId
           
 
Constructor Summary
Network.Quota()
           
 
Method Summary
 String getId()
           
 long getLimit()
           
 long getUsage()
           
 void setId(String id)
          Set the quota id.
 void setLimit(long limit)
          Set the limit for the quota.
 void setUsage(long usage)
          Set the current usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network.Quota

public Network.Quota()
Method Detail

setLimit

public void setLimit(long limit)
Set the limit for the quota. -1 is unlimited

Parameters:
limit -

setUsage

public void setUsage(long usage)
Set the current usage

Parameters:
usage -

setId

public void setId(String id)
Set the quota id. Id will have a value of fileUploadQuota, fileQuota, siteCountQuota, personCountQuota, personInternalOnlyCountQuota, personNetworkAdminCountQuota

Parameters:
id -

getLimit

public long getLimit()
Returns:
The limit for the quota, -1 for unlimited

getUsage

public long getUsage()
Returns:
The usage for this quota

getId

public String getId()
Returns:
The id of the quota. Will be one of fileUploadQuota, fileQuota, siteCountQuota, personCountQuota, personInternalOnlyCountQuota, personNetworkAdminCountQuota


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.