org.silverpeas.admin.domain.quota
Class UserDomainQuotaService

java.lang.Object
  extended by org.silverpeas.quota.service.AbstractQuotaService<UserDomainQuotaKey>
      extended by org.silverpeas.admin.domain.quota.UserDomainQuotaService
All Implemented Interfaces:
QuotaService<UserDomainQuotaKey>

@Service
public class UserDomainQuotaService
extends AbstractQuotaService<UserDomainQuotaKey>

Author:
Yohann Chastagnier

Constructor Summary
UserDomainQuotaService()
           
 
Method Summary
 long getCurrentCount(UserDomainQuotaKey key)
          Gets the current count from a given quota key
protected  boolean isActivated()
          Indicates if the type of quota is activated
 
Methods inherited from class org.silverpeas.quota.service.AbstractQuotaService
get, initialize, initialize, initialize, remove, verify, verify, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDomainQuotaService

public UserDomainQuotaService()
Method Detail

getCurrentCount

public long getCurrentCount(UserDomainQuotaKey key)
                     throws QuotaException
Description copied from interface: QuotaService
Gets the current count from a given quota key

Returns:
Throws:
QuotaException

isActivated

protected boolean isActivated()
Description copied from class: AbstractQuotaService
Indicates if the type of quota is activated

Specified by:
isActivated in class AbstractQuotaService<UserDomainQuotaKey>
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.