Package org.olat.course.nodes.projectbroker.datamodel

Examples of org.olat.course.nodes.projectbroker.datamodel.ProjectImpl


    return projectBroker;
  }

  public Project createAndSaveProjectFor(String title, String description, final Long projectBrokerId, BusinessGroup projectGroup) {
    OLATResourceable projectBrokerOres = OresHelper.createOLATResourceableInstance(this.getClass(),projectBrokerId);
    final Project project = new ProjectImpl(title, description, projectGroup, getProjectBroker(projectBrokerId));
    CoordinatorManager.getCoordinator().getSyncer().doInSync( projectBrokerOres, new SyncerExecutor() {
      public void execute() {
        DBFactory.getInstance().saveObject(project);
        ProjectBroker projectBroker = getOrLoadProjectBoker(projectBrokerId);
        projectBroker.getProjects().add(project);
View Full Code Here

TOP

Related Classes of org.olat.course.nodes.projectbroker.datamodel.ProjectImpl

Copyright © 2018 www.massapicom. 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.