Examples of GoobiModuleParameter


Examples of de.unigoettingen.goobi.module.api.types.GoobiModuleParameter

     */
    String processId = String.valueOf(inSchritt.getProzess().getId().intValue());
    String tempID = UniqueID.generate_session();
    myRunningShortSessions.put(tempID, processId);

    GoobiModuleParameter gmp1 = new GoobiModuleParameter(processId, tempID, myModule.getModuleClient().longsessionID, typeParameters);
    HttpSession insession = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(false);

    String applicationUrl = new HelperForm().getServletPathWithHostAsUrl();
    gmp1.put("return_url", applicationUrl + HelperForm.MAIN_JSF_PATH + "/AktuelleSchritteBearbeiten.jsf?jsessionId=" + insession.getId());
    myModule.getGmps().add(gmp1); // add session in den Manager
    return myModule.getModuleClient().start(gmp1);
  }
View Full Code Here

Examples of de.unigoettingen.goobi.module.api.types.GoobiModuleParameter

      return;

    String processId = "3346";
    String tempID = UniqueID.generate_session();
    myRunningShortSessions.put(tempID, processId);
    GoobiModuleParameter gmp = new GoobiModuleParameter(processId, tempID, myModule.getModuleClient().longsessionID, null);

    String applicationUrl = ConfigMain.getParameter("ApplicationWebsiteUrl");

    gmp.put("return_url", applicationUrl + HelperForm.MAIN_JSF_PATH + "/aktiveModule.jsf?sessionId=" + tempID);
    gmp.put("type", "PRODUCE");

    myModule.getGmps().add(gmp); // add shortsession in den Manager
    Helper.setMeldung(myModule.getModuleClient().start(gmp));
    Helper.setMeldung(gmp.toString());

  }
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.