Examples of merge()


Examples of org.beangle.security.blueprint.Authority.merge()

    for (final Group group : groups) {
      List<Authority> groupAuths = getAuthorities(group);
      for (final Authority groupAuth : groupAuths) {
        if (authorities.containsKey(groupAuth.getResource())) {
          Authority existed = authorities.get(groupAuth.getResource());
          existed.merge(groupAuth);
        } else {
          authorities.put(groupAuth.getResource(), groupAuth);
        }
      }
    }
View Full Code Here

Examples of org.broadinstitute.gatk.utils.GenomeLoc.merge()

            while ( gatkFeatures.peek() != null && gatkFeatures.peek().getLocation().getStart() == first.getStart() )
                myFeatures.add(gatkFeatures.poll());

            GenomeLoc loc = first.getLocation();
            for ( final GATKFeature feature : myFeatures )
                loc = loc.merge(feature.getLocation());

            return new RODRecordListImpl(name, myFeatures, loc); // is this safe?
        }

        @Override public void remove() { throw new IllegalStateException("GRRR"); }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.merge()

  public void update() {
    registerCommandContextCloseListener();

    CommandContext commandContext = Context.getCommandContext();
    DbEntityManager dbEntityManger = commandContext.getDbEntityManager();
    dbEntityManger.merge(this);
  }

  /** new task.  Embedded state and create time will be initialized.
   * But this task still will have to be persisted with
   * TransactionContext
 
View Full Code Here

Examples of org.codehaus.cargo.module.webapp.WebXmlMerger.merge()

            {
                WebXml parsedMergeWebXml = WebXmlIo.parseWebXmlFromFile(
                    this.mergeWebXml, this.xmlCatalog);
                WebXmlMerger merger = new WebXmlMerger(theWebXml);
                merger.setMonitor(new AntMonitor(this));
                merger.merge(parsedMergeWebXml);
            }
            catch (IOException e)
            {
                throw new BuildException(
                    "Could not merge deployment descriptors", e);
View Full Code Here

Examples of org.codehaus.cargo.module.webapp.merge.WebXmlMerger.merge()

                WebXml parsedMergeWebXml = WebXmlIo.parseWebXmlFromFile(
                    this.mergeWebXml, this.xmlCatalog);
                WebXmlMerger merger = new WebXmlMerger(theWebXml);
                merger.setLogger(utils.getLogger());
              
                merger.merge(parsedMergeWebXml);
            }
            catch (IOException e)
            {
                throw new MojoExecutionException(
                    "Could not merge deployment descriptors", e);
View Full Code Here

Examples of org.commoncrawl.query.QueryStatus.merge()

      // clear fields that are only relavent at the master
      theQueryObject.getQueryStatus().setFieldClean(QueryStatus.Field_ATTEMPTS);
      theQueryObject.getQueryStatus().setFieldClean(QueryStatus.Field_LASTATTEMPTTIME);
     
      try {
        targetStatus.merge(theQueryObject.getQueryStatus());
      } catch (CloneNotSupportedException e) {
      }
    }
   
    if (addNewStatus) {
View Full Code Here

Examples of org.crsh.vfs.spi.url.URLDriver.merge()

    if (clazz == null) {
      throw new NullPointerException();
    }
    URL url = clazz.getProtectionDomain().getCodeSource().getLocation();
    URLDriver driver = new URLDriver();
    driver.merge(url);
    return mount(driver);
  }
}
View Full Code Here

Examples of org.dcm4che3.conf.api.generic.ReflectiveConfig.ConfigTypeAdapter.merge()

                Object currProp = PropertyUtils.getSimpleProperty(curr, classField.getName());

                // find adapter
                ConfigTypeAdapter customRep = config.lookupTypeAdapter(classField.getType());

                customRep.merge(prevProp, currProp, config, diffwriter, classField);

            } catch (Exception e) {
                throw new ConfigurationException("Cannot store diff for field " + fieldAnno.name(), e);
            }
View Full Code Here

Examples of org.dcm4che3.conf.ldap.LdapDicomConfiguration.merge()

                TransferCapability[] TCs = mergeTCs(acceptedPCs);
                for (TransferCapability tc : TCs)
                    toStore.getApplicationEntity(instance.destinationAET)
                            .addTransferCapability(tc);

                conf.merge(toStore);
                conf.close();
                return;
            } catch (ConfigurationException e) {
                LOG.error("Configuration backend error - {}", e);
            }
View Full Code Here

Examples of org.dcm4che3.conf.prefs.PreferencesDicomConfiguration.merge()

                    TransferCapability[] TCs = mergeTCs(acceptedPCs);
                    for (TransferCapability tc : TCs)
                        toStore.getApplicationEntity(instance.destinationAET)
                                .addTransferCapability(tc);

                    conf.merge(toStore);
                    logAddedTCs(TCs, destinationAE);
                    conf.close();
                    }
                    System.exit(1);
                } catch (ConfigurationException e) {
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.