Package org.nuxeo.ecm.quota.count
Class QuotaStatsNonFolderishCountAdapter
java.lang.Object
org.nuxeo.ecm.quota.count.QuotaStatsNonFolderishCountAdapter
- All Implemented Interfaces:
QuotaStats
,QuotaStatsNonFolderishCount
public class QuotaStatsNonFolderishCountAdapter
extends Object
implements QuotaStatsNonFolderishCount
Adapter implementing
QuotaStatsNonFolderishCount
to have information about children and descendants count.- Since:
- 5.5
- Author:
- Thomas Roger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the cardinal value of all the children of the underlying document.long
Returns the intrinsic cardinal value of the underlying document.long
getTotal()
Returns the cardinal value of all the descendants of the underlying document. plus the value ofQuotaStats.getIntrinsic()
.
-
Constructor Details
-
QuotaStatsNonFolderishCountAdapter
-
-
Method Details
-
getIntrinsic
public long getIntrinsic()Description copied from interface:QuotaStats
Returns the intrinsic cardinal value of the underlying document.- Specified by:
getIntrinsic
in interfaceQuotaStats
-
getChildren
public long getChildren()Description copied from interface:QuotaStats
Returns the cardinal value of all the children of the underlying document.- Specified by:
getChildren
in interfaceQuotaStats
-
getTotal
public long getTotal()Description copied from interface:QuotaStats
Returns the cardinal value of all the descendants of the underlying document. plus the value ofQuotaStats.getIntrinsic()
.- Specified by:
getTotal
in interfaceQuotaStats
-