Class VersionsObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.restapi.server.jaxrs.management.VersionsObject
-
public class VersionsObject extends AbstractResource<ResourceTypeImpl>
Endpoint to manage the versions.- Since:
- 2023
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALL_VERSIONS_QUERY
-
Constructor Summary
Constructors Constructor Description VersionsObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkStatus
garbageCollectVersions()
Garbage collect the orphaned versions.-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Field Detail
-
ALL_VERSIONS_QUERY
public static final String ALL_VERSIONS_QUERY
- See Also:
- Constant Field Values
-
-
Method Detail
-
garbageCollectVersions
public BulkStatus garbageCollectVersions()
Garbage collect the orphaned versions.A version stays referenced, and therefore is not removed, if any proxy points to a version in the version history of any live document, or in the case of tree snapshot if there is a snapshot containing a version in the version history of any live document.
-
-