Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.quota.size.QuotaSizeService


Component to holds config for the size quota computation

@since 5.7


Class: org.nuxeo.ecm.quota.size.QuotaSizeServiceImpl


Extension Points

XML Source

<component name="org.nuxeo.ecm.quota.size.QuotaSizeService">

    Component to holds config for the size quota computation

    @author Damien METZLER
    @since 5.7

  <implementation class="org.nuxeo.ecm.quota.size.QuotaSizeServiceImpl" />

    <provide interface="org.nuxeo.ecm.quota.size.QuotaSizeService" />

  <extension-point name="exclusions">
      Extension point to exclude some blob paths for quota computation.
      When computing the total blobs size of a document it can be useful
      to exclude some blob that could be not relevant to end user. For
      instance for a document of type Picture, one perhaps don't want
      to see the blobs for the differents views (thumbnail, medium)
      to be included in the total size computation.

        <extension target="org.nuxeo.ecm.quota.size.QuotaSizeService"
          <exclude path="files/*/file"></exclude>
          <exclude path="views/*/content"></exclude>
          <exclude path="prefix:attached/*/content"></exclude>

    <object class="org.nuxeo.ecm.quota.size.BlobExcludeDescriptor" />