public interface ContentUsageService
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled()
Are ContentUsages enabled (refer to 'system.usages.enabled' repository property) ?
|
long |
getUserQuota(String userName)
Gets user quota
Note: -1 means no quota limit set
|
long |
getUserUsage(String userName)
Gets user usage
|
void |
setUserQuota(String userName,
long newQuota)
Set user quota.
|
@Auditable long getUserUsage(String userName)
@Auditable long getUserQuota(String userName)
@Auditable void setUserQuota(String userName, long newQuota)
userName
- User namenewQuota
- User's new quota (in bytes)@Auditable boolean getEnabled()
Copyright © 2005–2017 Alfresco Software. All rights reserved.