Package org.olat.repository.async

Examples of org.olat.repository.async.SetAccessBackgroundTask.waitForDone()


  }

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

  public void setDescriptionAndName(final RepositoryEntry re, String displayName, String description ) {
    SetDescriptionNameBackgroundTask task = new SetDescriptionNameBackgroundTask(re, displayName, description);
    BackgroundTaskQueueManager.getInstance().addTask(task);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.