Package de.unigoettingen.goobi.module.api.types

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


      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

Related Classes of de.unigoettingen.goobi.module.api.types.GoobiModuleParameter

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.