Package de.sub.goobi.metadaten

Examples of de.sub.goobi.metadaten.MetadatenVerifizierung


      /* --------------------------------
       * using mets file
       * --------------------------------*/

     
      if (new MetadatenVerifizierung().validate(this.getProzess()) && this.metsURL != null) {
        /* if no contentserverurl defined use internal goobiContentServerServlet */
          if (contentServerUrl == null || contentServerUrl.length() == 0) {
            contentServerUrl = this.internalServletPath + "/gcs/gcs?action=pdf&metsFile=";
          }
        goobiContentServerUrl = new URL(contentServerUrl + this.metsURL);   
View Full Code Here


     * abbrechen --------------------------------
     */
    if (this.mySchritt.isTypBeimAbschliessenVerifizieren()) {
      /* Metadatenvalidierung */
      if (this.mySchritt.isTypMetadaten() && ConfigMain.getBooleanParameter("useMetadatenvalidierung")) {
        MetadatenVerifizierung mv = new MetadatenVerifizierung();
        mv.setAutoSave(true);
        if (!mv.validate(this.mySchritt.getProzess())) {
          return "";
        }
      }

      /* Imagevalidierung */
 
View Full Code Here

     * -------------------------------- Metadaten validieren
     * --------------------------------
     */

    if (ConfigMain.getBooleanParameter("useMetadatenvalidierung")) {
      MetadatenVerifizierung mv = new MetadatenVerifizierung();
      if (!mv.validate(gdzfile, this.myPrefs, myProzess)) {
        return false;
      }
    }

    /*
 
View Full Code Here

        }
      }

      if (s.isTypBeimAbschliessenVerifizieren()) {
        if (s.isTypMetadaten() && ConfigMain.getBooleanParameter("useMetadatenvalidierung")) {
          MetadatenVerifizierung mv = new MetadatenVerifizierung();
          mv.setAutoSave(true);
          if (!mv.validate(s.getProzess())) {
            error = true;
          }
        }
        if (s.isTypImagesSchreiben()) {
          MetadatenImagesHelper mih = new MetadatenImagesHelper(null, null);
View Full Code Here

    /*
     * -------------------------------- Metadaten validieren --------------------------------
     */

    if (ConfigMain.getBooleanParameter("useMetadatenvalidierung")) {
      MetadatenVerifizierung mv = new MetadatenVerifizierung();
      if (!mv.validate(gdzfile, this.myPrefs, myProzess)) {
        return false;
      }
    }

    /*
 
View Full Code Here

        /*
         * -------------------------------- using mets file --------------------------------
         */

        if (new MetadatenVerifizierung().validate(myProzess) && metsTempFile.toURI().toURL() != null) {
          /* if no contentserverurl defined use internal goobiContentServerServlet */
          if (contentServerUrl == null || contentServerUrl.length() == 0) {
            contentServerUrl = myBasisUrl + "/gcs/gcs?action=pdf&metsFile=";
          }
          goobiContentServerUrl = new URL(contentServerUrl + metsTempFile.toURI().toURL() + "&targetFileName=" + myProzess.getTitel() + ".pdf");
View Full Code Here

TOP

Related Classes of de.sub.goobi.metadaten.MetadatenVerifizierung

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.