@Component public class SnapshotManagerImpl extends Object implements SnapshotManager
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
METADATA_FILENAMES |
| Constructor and Description |
|---|
SnapshotManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
addAlternateSnapshotIds(Snapshot snapshot,
List<String> alternateIds) |
void |
addContentItem(Snapshot snapshot,
String contentId,
Map<String,String> props) |
void |
deleteSnapshot(String snapshotId) |
void |
finalizeSnapshots() |
void |
setBridgeConfig(BridgeConfiguration bridgeConfig) |
void |
setNotificationManager(org.duracloud.common.notification.NotificationManager notificationManager) |
void |
setSnapshotContentItemRepo(SnapshotContentItemRepo snapshotContentItemRepo) |
void |
setSnapshotRepo(SnapshotRepo snapshotRepo) |
void |
setSnapshotTaskClientHelper(SnapshotTaskClientHelper snapshotTaskClientHelper) |
void |
setStoreClientHelper(StoreClientHelper storeClientHelper) |
Snapshot |
transferError(String snapshotId,
String errorDetails) |
Snapshot |
transferToDpnNodeComplete(String snapshotId) |
Snapshot |
updateHistory(Snapshot snapshot,
String history) |
protected static String[] METADATA_FILENAMES
public void setSnapshotContentItemRepo(SnapshotContentItemRepo snapshotContentItemRepo)
snapshotContentItemRepo - the snapshotContentItemRepo to setpublic void setSnapshotRepo(SnapshotRepo snapshotRepo)
snapshotRepo - the snapshotRepo to setpublic void setNotificationManager(org.duracloud.common.notification.NotificationManager notificationManager)
notificationManager - the notificationManager to setpublic void setSnapshotTaskClientHelper(SnapshotTaskClientHelper snapshotTaskClientHelper)
snapshotTaskClientHelper - the snapshotTaskClientHelper to setpublic void setBridgeConfig(BridgeConfiguration bridgeConfig)
bridgeConfig - the bridgeConfig to set@Transactional public void addContentItem(Snapshot snapshot, String contentId, Map<String,String> props) throws SnapshotException
addContentItem in interface SnapshotManagerSnapshotException@Transactional public Snapshot addAlternateSnapshotIds(Snapshot snapshot, List<String> alternateIds) throws AlternateIdAlreadyExistsException
addAlternateSnapshotIds in interface SnapshotManagerAlternateIdAlreadyExistsException@Transactional public Snapshot transferToDpnNodeComplete(String snapshotId) throws SnapshotException
transferToDpnNodeComplete in interface SnapshotManagerSnapshotException@Transactional public Snapshot transferError(String snapshotId, String errorDetails) throws SnapshotException
transferError in interface SnapshotManagerSnapshotException@Transactional public void finalizeSnapshots()
finalizeSnapshots in interface SnapshotManager@Transactional public Snapshot updateHistory(Snapshot snapshot, String history)
updateHistory in interface SnapshotManagerpublic void setStoreClientHelper(StoreClientHelper storeClientHelper)
storeClientHelper - the storeClientHelper to set@Transactional public void deleteSnapshot(String snapshotId)
deleteSnapshot in interface SnapshotManagerCopyright © 2014–2015 DuraSpace. All rights reserved.