org.springframework.social.alfresco.api.entities
Class Network.Quota
java.lang.Object
org.springframework.social.alfresco.api.entities.Network.Quota
- Enclosing class:
- Network
public static class Network.Quota
- extends Object
- Author:
- jottley
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Network.Quota
public Network.Quota()
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.