Examples of queryByOwner()


Examples of org.olat.repository.RepositoryManager.queryByOwner()

  public String getMountPoint() { return MOUNTPOINT; }

  public VFSContainer getContainer(Identity identity) {
    MergeSource cfRoot = new MergeSource(null, null);
    RepositoryManager rm = RepositoryManager.getInstance();
    List courseEntries = rm.queryByOwner(identity, CourseModule.getCourseTypeName());
   
    for (Iterator iter = courseEntries.iterator(); iter.hasNext();) {
      RepositoryEntry re = (RepositoryEntry) iter.next();
      OLATResourceable res = re.getOlatResource();
      ICourse course = CourseFactory.loadCourse(res.getResourceableId());
View Full Code Here

Examples of org.olat.repository.RepositoryManager.queryByOwner()

  public VFSContainer getContainer(Identity identity) {
    MergeSource rootContainer = new MergeSource(null, "root");

    SharedFolderManager sfm = SharedFolderManager.getInstance();
    RepositoryManager repoManager = RepositoryManager.getInstance();
    List<RepositoryEntry> ownerEntries = (List<RepositoryEntry>) repoManager.queryByOwner(identity, SharedFolderFileResource.TYPE_NAME);
    for (RepositoryEntry repoEntry : ownerEntries) {
      rootContainer.addContainer(sfm.getNamedSharedFolder(repoEntry));
    }

    // see /olat3/webapp/WEB-INF/olat_extensions.xml
View Full Code Here

Examples of org.olat.repository.RepositoryManager.queryByOwner()

    doSearchByOwnerLimitType(owner,new String[]{limitType});
  }
 
  public void doSearchByOwnerLimitType(Identity owner, String[] limitTypes) {
    RepositoryManager rm = RepositoryManager.getInstance();
    List entries = rm.queryByOwner(owner, limitTypes);
    repoTableModel.setEntries(entries);
    tableCtr.modelChanged();
    displaySearchResults(null);
  }
 
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.