@Override
    public CleanupSnapshotTaskResult cleanupSnapshot(String spaceId)
        throws ContentStoreException {
        CleanupSnapshotTaskParameters taskParams =
            new CleanupSnapshotTaskParameters();
        taskParams.setSpaceId(spaceId);

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

        return CleanupSnapshotTaskResult.deserialize(taskResult);
    }
@ Override public CleanupSnapshotTaskResult cleanupSnapshot ( String spaceId ) throws ContentStoreException { CleanupSnapshotTaskParameters taskParams = new CleanupSnapshotTaskParameters ( ) ; taskParams . setSpaceId ( spaceId ) ; String taskResult = contentStore . performTask ( SnapshotConstants . CLEANUP_SNAPSHOT_TASK_NAME , taskParams . serialize ( ) ) ; return CleanupSnapshotTaskResult . deserialize ( taskResult ) ; }
{@inheritDoc}