public interface SnapshotManager
void initSeamContext(javax.servlet.http.HttpServletRequest request)
DistributionSnapshot getRuntimeSnapshot()
void addPersistentSnapshot(String key, DistributionSnapshot snapshot)
DistributionSnapshot getSnapshot(String key, CoreSession session)
List<DistributionSnapshot> readPersistentSnapshots(CoreSession session)
List<DistributionSnapshot> listPersistentSnapshots(CoreSession session)
Map<String,DistributionSnapshot> getPersistentSnapshots(CoreSession session)
List<String> getPersistentSnapshotNames(CoreSession session)
List<DistributionSnapshotDesc> getAvailableDistributions(CoreSession session)
List<String> getAvailableVersions(CoreSession session, NuxeoArtifact nxItem)
void exportSnapshot(CoreSession session, String key, OutputStream out) throws IOException
IOException
void importSnapshot(CoreSession session, InputStream is) throws IOException
IOException
DistributionSnapshot persistRuntimeSnapshot(CoreSession session)
DistributionSnapshot persistRuntimeSnapshot(CoreSession session, String name)
DistributionSnapshot persistRuntimeSnapshot(CoreSession session, String name, SnapshotFilter filter)
void validateImportedSnapshot(CoreSession session, String name, String version, String pathSegment, String title)
DocumentModel importTmpSnapshot(CoreSession session, InputStream is) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.