Package org.olat.repository.async

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


  }

  public void setDescriptionAndName(final RepositoryEntry re, String displayName, String description ) {
    SetDescriptionNameBackgroundTask task = new SetDescriptionNameBackgroundTask(re, displayName, description);
    BackgroundTaskQueueManager.getInstance().addTask(task);
    task.waitForDone();
  }

  public void setProperties(final RepositoryEntry re, boolean canCopy, boolean canReference, boolean canLaunch, boolean canDownload ) {
    SetPropertiesBackgroundTask task = new SetPropertiesBackgroundTask(re, canCopy, canReference, canLaunch, canDownload);
    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.