Examples of addBGContextToResource()


Examples of org.olat.group.context.BGContextManager.addBGContextToResource()

  }

  private void doAddRepositoryEntry(RepositoryEntry entry) {
    // persist on db
    BGContextManager contextManager = BGContextManagerImpl.getInstance();
    contextManager.addBGContextToResource(this.groupContext, entry.getOlatResource());
    // update table model
    this.repoTableModelEntries.add(entry);
    this.resourcesCtr.modelChanged();
  }
View Full Code Here

Examples of org.olat.group.context.BGContextManager.addBGContextToResource()

        contextManager.copyAndAddBGContextToResource(learningGroupContextName, this.courseResource, origContext);
        // no need to add it to list of contexts, already done by copyAndAddBGContextToResource
      } else {
        // not a course default context but an associated context - copy only
        // reference
        contextManager.addBGContextToResource(origContext, courseResource);
        // no need to add it to list of contexts, already done by addBGContextToResource       
      }
    }
    // 2. do copy right group contexts
    List origRgC = originalCourseGroupManager.getRightGroupContexts();
View Full Code Here

Examples of org.olat.group.context.BGContextManager.addBGContextToResource()

        contextManager.copyAndAddBGContextToResource(rightGroupContextName, this.courseResource, origContext);
        // no need to add it to list of contexts, already done by copyAndAddBGContextToResource
      } else {
        // not a course default context but an associated context - copy only
        // reference
        contextManager.addBGContextToResource(origContext, courseResource);
        // no need to add it to list of contexts, already done by addBGContextToResource
      }
    }
  }
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.