public Response deleteSnapshot() throws StorageException {
final IModifiableStorage storage = super.getModifiableStorage();
if (storage == null) {
return ResponseUtils.methodNotAllowed();
}
final boolean success = storage.deleteSnapshot(_collInfo.getCollectionId(), _snapshotInfo.getSnapshotId());
final ResponseBuilder builder = success ? Response.ok() : Response.status(Status.INTERNAL_SERVER_ERROR);
return builder.build();
}
/**