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 implementingQuotaStatsNonFolderishCountto have information about children and descendants count.- Since:
- 5.5
- Author:
- Thomas Roger
-
-
Constructor Summary
Constructors Constructor Description QuotaStatsNonFolderishCountAdapter(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetChildren()Returns the cardinal value of all the children of the underlying document.longgetIntrinsic()Returns the intrinsic cardinal value of the underlying document.longgetTotal()Returns the cardinal value of all the descendants of the underlying document.
-
-
-
Constructor Detail
-
QuotaStatsNonFolderishCountAdapter
public QuotaStatsNonFolderishCountAdapter(DocumentModel doc)
-
-
Method Detail
-
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
-
-