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) throws OperationException
OperationException
void exportSnapshot(CoreSession session, String key, OutputStream out) throws Exception
Exception
void importSnapshot(CoreSession session, InputStream is) throws Exception
Exception
DistributionSnapshot persistRuntimeSnapshot(CoreSession session) throws ClientException, OperationException
ClientException
OperationException
DistributionSnapshot persistRuntimeSnapshot(CoreSession session, String name) throws ClientException, OperationException
ClientException
OperationException
DistributionSnapshot persistRuntimeSnapshot(CoreSession session, String name, SnapshotFilter filter) throws ClientException, OperationException
ClientException
OperationException
void validateImportedSnapshot(CoreSession session, String name, String version, String pathSegment, String title) throws Exception
Exception
DocumentModel importTmpSnapshot(CoreSession session, InputStream is) throws Exception
Exception
Copyright © 2014 Nuxeo SA. All rights reserved.