Package de.sub.goobi.metadaten.copier

Examples of de.sub.goobi.metadaten.copier.DataCopier


    }

    String rules = ConfigMain.getParameter("copyData.onExport");
    if (rules != null && !rules.equals("- keine Konfiguration gefunden -")) {
      try {
        new DataCopier(rules).process(new CopierData(newfile, myProzess));
      } catch (ConfigurationException e) {
        // TODO: When merging with issue #166, add this:
        // if (exportDmsTask != null) {
        //     exportDmsTask.setException(e);
        // } else {
View Full Code Here


    }

    String rules = ConfigMain.getParameter("copyData.onExport");
    if (rules != null && !rules.equals("- keine Konfiguration gefunden -")) {
      try {
        new DataCopier(rules).process(new CopierData(newfile, process));
      } catch (ConfigurationException e) {
        // TODO: When merging with issue #166, add this:
        // if (task != null) {
        //     task.setException(e);
        // }         
View Full Code Here

    }

    String rules = ConfigMain.getParameter("copyData.onExport");
    if (rules != null && !rules.equals("- keine Konfiguration gefunden -")) {
      try {
        new DataCopier(rules).process(new CopierData(newfile, myProzess));
      } catch (ConfigurationException e) {
        // TODO: When merging with issue #166, add this:
        // if (task != null) {
        //     task.setException(e);
        // }         
View Full Code Here

    Fileformat gdzfile = myProzess.readMetadataFile();

    String rules = ConfigMain.getParameter("copyData.onExport");
    if (rules != null && !rules.equals("- keine Konfiguration gefunden -")) {
      try {
        new DataCopier(rules).process(new CopierData(gdzfile, myProzess));
      } catch (ConfigurationException e) {
        Helper.setFehlerMeldung("dataCopier.syntaxError", e.getMessage());
        return false;
      } catch (RuntimeException exception) {
        Helper.setFehlerMeldung("dataCopier.runtimeException", exception.getMessage());
View Full Code Here

   */
  private void applyCopyingRules(CopierData data) {
    String rules = ConfigMain.getParameter("copyData.onCatalogueQuery");
    if (rules != null && !rules.equals("- keine Konfiguration gefunden -")) {
      try {
        new DataCopier(rules).process(data);
      } catch (ConfigurationException e) {
        Helper.setFehlerMeldung("dataCopier.syntaxError", e.getMessage());
      } catch (RuntimeException exception) {
        if (RuntimeException.class.equals(exception.getClass())) {
          Helper.setFehlerMeldung("dataCopier.runtimeException", exception.getMessage());
View Full Code Here

TOP

Related Classes of de.sub.goobi.metadaten.copier.DataCopier

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.