BackgroundTaskQueueManager.getInstance().addTask(new SetLastUsageBackgroundTask(re));
}
}
public void setAccess(final RepositoryEntry re, int access ) {
SetAccessBackgroundTask task = new SetAccessBackgroundTask(re, access);
BackgroundTaskQueueManager.getInstance().addTask(task);
task.waitForDone();
}