001package org.nuxeo.snapshot;
002
003import java.util.List;
004
005import org.nuxeo.ecm.core.api.DocumentModel;
006import org.nuxeo.ecm.core.api.DocumentRef;
007
008public interface Snapshot extends Snapshotable {
009
010    public static final String FACET = "Snapshot";
011
012    List<DocumentModel> getChildren();
013
014    List<Snapshot> getChildrenSnapshots();
015
016    List<Snapshot> getFlatTree();
017
018    DocumentModel restore(String versionLabel);
019
020    DocumentModel getDocument();
021
022    DocumentRef getRef();
023
024}