@Override
    public RequestRestoreSnapshotTaskResult requestRestoreSnapshot(String snapshotId,
                                                                   String userEmail)
        throws ContentStoreException {
        RestoreSnapshotTaskParameters taskParams =
            new RestoreSnapshotTaskParameters();
        taskParams.setSnapshotId(snapshotId);
        taskParams.setUserEmail(userEmail);

        String taskResult =
            contentStore.performTask(SnapshotConstants.REQUEST_RESTORE_SNAPSHOT_TASK_NAME,
                                     taskParams.serialize());

        return RequestRestoreSnapshotTaskResult.deserialize(taskResult);
    }
@ Override public RequestRestoreSnapshotTaskResult requestRestoreSnapshot ( String snapshotId , String userEmail ) throws ContentStoreException { RestoreSnapshotTaskParameters taskParams = new RestoreSnapshotTaskParameters ( ) ; taskParams . setSnapshotId ( snapshotId ) ; taskParams . setUserEmail ( userEmail ) ; String taskResult = contentStore . performTask ( SnapshotConstants . REQUEST_RESTORE_SNAPSHOT_TASK_NAME , taskParams . serialize ( ) ) ; return RequestRestoreSnapshotTaskResult . deserialize ( taskResult ) ; }
{@inheritDoc}