Interface SpaceQuotaService<T extends AbstractSpaceQuotaKey>
-
- All Superinterfaces:
QuotaService<T>
- All Known Subinterfaces:
ComponentSpaceQuotaService
,DataStorageSpaceQuotaService
- All Known Implementing Classes:
AbstractSpaceQuotaService
,DefaultComponentSpaceQuotaService
,DefaultDataStorageSpaceQuotaService
public interface SpaceQuotaService<T extends AbstractSpaceQuotaKey> extends QuotaService<T>
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Quota
getQuotaReachedFromSpacePath(T key)
Gets the quota reached by a resource from a given quota key and this in a recursively way.-
Methods inherited from interface org.silverpeas.core.admin.quota.service.QuotaService
get, getCurrentCount, initialize, initialize, initialize, remove, verify, verify, verify, verify
-
-
-
-
Method Detail
-
getQuotaReachedFromSpacePath
@NonNull Quota getQuotaReachedFromSpacePath(T key)
Gets the quota reached by a resource from a given quota key and this in a recursively way.- Parameters:
key
- the key of the quota.- Returns:
- a quota. If no such quota is associated with the given key, then an empty quota is returned. In this case the identifier, the type and the related source of the quota are null (undefined).
-
-