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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the cardinal value of all the children of the underlying document.longReturns the intrinsic cardinal value of the underlying document.longgetTotal()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:QuotaStatsReturns the intrinsic cardinal value of the underlying document.- Specified by:
getIntrinsicin interfaceQuotaStats
-
getChildren
public long getChildren()Description copied from interface:QuotaStatsReturns the cardinal value of all the children of the underlying document.- Specified by:
getChildrenin interfaceQuotaStats
-
getTotal
public long getTotal()Description copied from interface:QuotaStatsReturns the cardinal value of all the descendants of the underlying document. plus the value ofQuotaStats.getIntrinsic().- Specified by:
getTotalin interfaceQuotaStats
-