Examples of StepObject


Examples of de.sub.goobi.persistence.apache.StepObject

    /*
     * wenn das Ergebnis der Verifizierung ok ist, dann weiter, ansonsten schon vorher draussen
     */
    this.myDav.UploadFromHome(this.mySchritt.getProzess());
    this.mySchritt.setEditTypeEnum(StepEditType.MANUAL_SINGLE);
    StepObject so = StepManager.getStepById(this.mySchritt.getId());
    new HelperSchritteWithoutHibernate().CloseStepObjectAutomatic(so, true);
    // new HelperSchritte().SchrittAbschliessen(this.mySchritt, true);
    return FilterAlleStart();
  }
View Full Code Here

Examples of de.sub.goobi.persistence.apache.StepObject

  public void setScriptPath(String scriptPath) {
    this.scriptPath = scriptPath;
  }

  public void executeScript() {
    StepObject so = StepManager.getStepById(this.mySchritt.getId());
    new HelperSchritteWithoutHibernate().executeScriptForStepObject(so, this.scriptPath, false);

  }
View Full Code Here

Examples of de.sub.goobi.persistence.apache.StepObject

  public void executeScript() {
    for (Schritt step : this.steps) {

      if (step.getAllScripts().containsKey(this.script)) {
        StepObject so = StepManager.getStepById(step.getId());
        String scriptPath = step.getAllScripts().get(this.script);

        new HelperSchritteWithoutHibernate().executeScriptForStepObject(so, scriptPath, false);

      }
View Full Code Here

Examples of de.sub.goobi.persistence.apache.StepObject

          }
        }
      }
      if (!error) {
        this.myDav.UploadFromHome(s.getProzess());
        StepObject so = StepManager.getStepById(s.getId());
        so.setEditType(StepEditType.MANUAL_MULTI.getValue());
        helper.CloseStepObjectAutomatic(so, true);
      }
    }
    AktuelleSchritteForm asf = (AktuelleSchritteForm) Helper.getManagedBeanValue("#{AktuelleSchritteForm}");
    return asf.FilterAlleStart();
View Full Code Here

Examples of de.sub.goobi.persistence.apache.StepObject

    private void runScript(List<Prozess> inProzesse, String stepname, String scriptname) {
        HelperSchritteWithoutHibernate hs = new HelperSchritteWithoutHibernate();
        for (Prozess p : inProzesse) {
            for (Schritt step : p.getSchritteList()) {
                if (step.getTitel().equalsIgnoreCase(stepname)) {
                    StepObject so = StepManager.getStepById(step.getId());
                    if (scriptname != null) {
                        if (step.getAllScripts().containsKey(scriptname)) {
                            String path = step.getAllScripts().get(scriptname);
                            hs.executeScriptForStepObject(so, path, false);
                        }
View Full Code Here

Examples of de.sub.goobi.persistence.apache.StepObject

  public void SchrittStatusUp() {
    if (this.mySchritt.getBearbeitungsstatusEnum() != StepStatus.DONE) {
      this.mySchritt.setBearbeitungsstatusUp();
      this.mySchritt.setEditTypeEnum(StepEditType.ADMIN);
      StepObject so = StepManager.getStepById(this.mySchritt.getId());
      if (this.mySchritt.getBearbeitungsstatusEnum() == StepStatus.DONE) {
        new HelperSchritteWithoutHibernate().CloseStepObjectAutomatic(so, true);
      } else {
        mySchritt.setBearbeitungszeitpunkt(new Date());
        Benutzer ben = (Benutzer) Helper.getManagedBeanValue("#{LoginForm.myBenutzer}");
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.