Examples of addAll()


Examples of org.apache.shiro.web.filter.mgt.SimpleNamedFilterList.addAll()

    }

    public FilterChain proxy(FilterChain original, List<String> chainNames) {
        NamedFilterList configured = new SimpleNamedFilterList(chainNames.toString());
        for(String chainName : chainNames) {
            configured.addAll(getChain(chainName));
        }
        return configured.proxy(original);
    }

    private void applyLoginUrlIfNecessary(Filter filter) {
View Full Code Here

Examples of org.apache.solr.common.SolrDocumentList.addAll()

    solrDocs.setMaxScore((Float) list.get(2));
    solrDocs.setSum((Double) list.get(3));
    solrDocs.setMax((Double) list.get(4));
    solrDocs.setMin((Double) list.get(5));
    List l = (List) readVal(dis);
    solrDocs.addAll(l);
    return solrDocs;
  }

  public void writeSolrDocumentList(SolrDocumentList docs)
          throws IOException {
View Full Code Here

Examples of org.apache.solr.common.util.NamedList.addAll()

      if( info == null ) {
        rb.setDebugInfo( stdinfo );
        info = stdinfo;
      }
      else {
        info.addAll( stdinfo );
      }
     
      if (rb.getQparser() != null) {
        rb.getQparser().addDebugInfo(rb.getDebugInfo());
      }
View Full Code Here

Examples of org.apache.solr.util.NamedList.addAll()

    wrapperFunction = req.getParam(JSON_WRAPPER_FUNCTION);
  }

  public void writeResponse() throws IOException {
    NamedList nl = new NamedList();
    nl.addAll(rsp.getValues());
    // give the main response a name it it doesn't have one
    if(wrapperFunction!=null) {
        writer.write(wrapperFunction + "(");
    }
    writeNamedList(null, nl);
View Full Code Here

Examples of org.apache.stanbol.commons.indexedgraph.IndexedMGraph.addAll()

                             + " New signatures will be discarded.");
                }
            } else try {
                OntologyInputSource<TripleCollection> source = new GraphContentSourceWithPhysicalIRI(
                        dereferencer.resolve(entityReference), IRI.create(entityReference));
                signaturesGraph.addAll(source.getRootOntology());
            } catch (FileNotFoundException e) {
                log.error("Failed to dereference entity " + entityReference + ". Skipping.", e);
                continue;
            }
        }
View Full Code Here

Examples of org.apache.stanbol.rules.base.api.util.RuleList.addAll()

                       MediaType.TEXT_PLAIN})
    @Path("/find/rules")
    public Response findRules(@QueryParam("name") String name, @QueryParam("description") String description) {
        RuleList rules = new RuleList();
        if (name != null && !name.isEmpty()) {
            rules.addAll(ruleStore.findRulesByName(name));
        } else {
            rules.addAll(ruleStore.findRulesByDescription(description));
        }

        if (rules.isEmpty()) {
View Full Code Here

Examples of org.apache.synapse.config.xml.AnonymousListMediator.addAll()

        xpath.addNamespace("wsx", "http://www.webserviceX.NET/");
        switchMediator.setSource(xpath);
        SwitchCase caseOne = new SwitchCase();
        caseOne.setRegex(Pattern.compile("IBM"));
        AnonymousListMediator mediatorOne = new AnonymousListMediator();
        mediatorOne.addAll(Arrays.asList(new Mediator[] {ibmMediator}));
        caseOne.setCaseMediator(mediatorOne);
        SwitchCase caseTwo = new SwitchCase();
        caseTwo.setRegex(Pattern.compile("MSFT"));
        AnonymousListMediator mediatorTwo = new AnonymousListMediator();
        mediatorTwo.addAll(Arrays.asList(new Mediator[] {msftMediator}));
View Full Code Here

Examples of org.apache.syncope.core.propagation.PropagationByResource.addAll()

            Set<String> pwdResourceNames = userMod.getPwdPropRequest().getResources();
            SyncopeUser user = binder.getUserFromId(updated.getResult().getKey());
            pwdResourceNames.retainAll(user.getResourceNames());
            final PropagationByResource pwdPropByRes = new PropagationByResource();
            pwdPropByRes.addAll(ResourceOperation.UPDATE, pwdResourceNames);
            updated.setPropByRes(pwdPropByRes);

            if (!pwdPropByRes.isEmpty()) {
                tasks.addAll(propagationManager.getUserUpdateTaskIds(updated, changedPwd,
                        userMod.getVirtualAttributesToBeRemoved(), userMod.getVirtualAttributesToBeUpdated()));
View Full Code Here

Examples of org.apache.tools.ant.types.resources.Union.addAll()

        Resource[] result =
            ResourceUtils.selectOutOfDateSources(this, rs, mapper,
                                                 getZipScanner());
        if (!doFilesonly) {
            Union u = new Union();
            u.addAll(Arrays.asList(selectDirectoryResources(initial)));
            ResourceCollection rc =
                ResourceUtils.selectSources(this, u, mapper,
                                            getZipScanner(),
                                            MISSING_DIR_PROVIDER);
            if (rc.size() > 0) {
View Full Code Here

Examples of org.apache.turbine.util.StringStackBuffer.addAll()

            {
                query.add(selectTable).add(DOT);
            }
            query.add(ASTERISK);
        }
        query.addAll(fromClause(db));
        query.addAll(whereClause(db));
        if (!orderBys.isEmpty())
        {
            query.add(ORDER_BY).addAll(((OrderBy)orderBys.get(0)).toSQL(db));
            for(int i=1; i<orderBys.size(); i++)
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.