Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.ecm.core.trash.TrashService

Implementation

Javadoc: org.nuxeo.ecm.core.trash.TrashServiceImpl

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.trash.TrashService"
  version="1.0">

  <service>
    <provide interface="org.nuxeo.ecm.core.trash.TrashService" />
  </service>

  <implementation class="org.nuxeo.ecm.core.trash.TrashServiceImpl" />

  <documentation>
    The trash service is responsible for deleting, purging and undeleting documents
    based on the lifecycle state.
  </documentation>

  <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
    <documentation>
      Property defining the behavior when putting a checked in document in the trash.
      When true, the document will be kept checked in (this avoids growing quotas).
      When false, the document will be checked out (compatibility behavior).
    </documentation>
    <property name="org.nuxeo.trash.keepCheckedIn">true</property>
  </extension>

</component>

Documentation

The trash service is responsible for deleting, purging and undeleting documents based on the lifecycle state.