Package org.olat.repository.async

Examples of org.olat.repository.async.SetPropertiesBackgroundTask.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);
    task.waitForDone();
  }
 
  /**
   * Count by type, limit by role accessability.
   * @param restrictedType
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.