org.silverpeas.quota.service
Class TestQuotaService
java.lang.Object
org.silverpeas.quota.service.AbstractQuotaService<TestQuotaKey>
org.silverpeas.quota.service.TestQuotaService
- All Implemented Interfaces:
- QuotaService<TestQuotaKey>, TestQuotaServiceWithAdditionalTools
@Service
public class TestQuotaService
- extends AbstractQuotaService<TestQuotaKey>
- implements TestQuotaServiceWithAdditionalTools
- Author:
- Yohann Chastagnier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestQuotaService
public TestQuotaService()
getCurrentCount
public long getCurrentCount(TestQuotaKey key)
- Specified by:
getCurrentCount in interface QuotaService<TestQuotaKey>
getCount
public int getCount()
- Specified by:
getCount in interface TestQuotaServiceWithAdditionalTools
- Returns:
- the count
setCount
public void setCount(int count)
- Specified by:
setCount in interface TestQuotaServiceWithAdditionalTools
- Parameters:
count - the count to set
isActivated
protected boolean isActivated()
- Specified by:
isActivated in class AbstractQuotaService<TestQuotaKey>
Copyright © 2016 Silverpeas. All Rights Reserved.