Package maqetta.core.server.user

Examples of maqetta.core.server.user.DavinciProject


    version.setReceiveEmail(receiveEmail);

    if (isRestart) {
      version.setRestartFrom(vTime);
      du.getVersion(vTime).setHasRestarted(true);
      DavinciProject project = new DavinciProject();
      project.setOwnerId(du.getName());
      ReviewCacheManager.$.republish(project,vTime, version);
    }
   
    JSONWriter writer = new JSONWriter(true);
    writer.startObject();
View Full Code Here


      theLogger.severe((String) errorString);
      return;
    }
   
    //Set up project based on designer
    DavinciProject project = new DavinciProject();
    project.setOwnerId(designer.getUserID());
    comment.setProject(project);

    comment.setEmail(user.getPerson().getEmail());

    IDesignerUser du = ReviewManager.getReviewManager()
View Full Code Here

    Comment comment = extractComment(req);
   
    String designerName = comment.getDesignerId();
    IDesignerUser du = ReviewManager.getReviewManager().getDesignerUser(designerName);
    DavinciProject project = new DavinciProject();
    project.setOwnerId(du.getName());
   
    comment.setProject(project);
    Comment existingComm = ReviewCacheManager.$.getComment(project, comment.getId());
    Version version = du.getVersion(existingComm.getPageVersion());
    try {
View Full Code Here

      version.setDraft(false);
      reviewManager.publish(du, version);
    } else if ("delete".equalsIgnoreCase(type)) {
      du.deleteVersion(vTime);
      reviewManager.saveVersionFile(du);
      IDavinciProject project = new DavinciProject();
      project.setOwnerId(du.getName());
      ReviewCacheManager.$.clearReviewByProject(project);
      // TODO delete the version folder
    }
    this.responseString = "OK";
  }
View Full Code Here

      throws IOException {
    String projectOwner = req.getParameter("ownerId");
    String projectName = req.getParameter("projectName");
    String pageName = req.getParameter("pageName");

    DavinciProject project = new DavinciProject();
    project.setOwnerId(projectOwner);
    //project.setProjectName(projectName);
    // FIXME Currently, there is not project concept, use the default value.
    // project.setProjectName(projectName);
    List<Comment> commList = ReviewCacheManager.$.getCommentsByPageName(project, pageName);
    responseString = commList.toString();
View Full Code Here

TOP

Related Classes of maqetta.core.server.user.DavinciProject

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.