Examples of pushAll()


Examples of com.googlecode.mjorm.query.DaoModifier.pushAll()

          break;
        case MqlParser.PUSH_ALL:
          field = child(modiferTree, 0).getText();
          value = readVariableLiteral(child(modiferTree, 1), ctx);
          assertType(value, modiferTree, Object[].class);
          modifier.pushAll(field, Object[].class.cast(value));
          break;
        case MqlParser.ADD_TO_SET:
          field = child(modiferTree, 0).getText();
          value = readVariableLiteral(child(modiferTree, 1), ctx);
          modifier.addToSet(field, value);
View Full Code Here

Examples of com.volantis.mcs.runtime.styling.CompiledStyleSheetCollection.pushAll()

        formatStylingEngine.pushStyleSheet(layoutStyleSheet);
        // Then add the theme style sheet(s) into the styling engine.
        CompiledStyleSheetCollection themeStyleSheets =
                context.getThemeStyleSheets();
        if (themeStyleSheets != null) {
            themeStyleSheets.pushAll(formatStylingEngine);
        }
        // else, allow tests to run without doing the above. Dodgy.

        // Process a nested inclusion, this is done after the page context has been
        // updated in order to make sure that the nesting depth is correct.
View Full Code Here

Examples of org.springframework.data.mongodb.core.query.Update.pushAll()

    doc.string2 = Arrays.asList("one");

    template.save(doc);

    Update update = new Update().pushAll("string1", new Object[] { "data", "mongodb" });
    update.pushAll("string2", new String[] { "two", "three" });

    Query findQuery = new Query(Criteria.where("id").is(doc.id));
    template.updateFirst(findQuery, update, DocumentWithMultipleCollections.class);

    DocumentWithMultipleCollections result = template.findOne(findQuery, DocumentWithMultipleCollections.class);
View Full Code Here

Examples of org.springframework.data.mongodb.core.query.Update.pushAll()

    doc.string2 = Arrays.asList("one");

    template.save(doc);

    Update update = new Update().pushAll("string1", new Object[] { "data", "mongodb" });
    update.pushAll("string2", new String[] { "two", "three" });

    Query findQuery = new Query(Criteria.where("id").is(doc.id));
    template.updateFirst(findQuery, update, DocumentWithMultipleCollections.class);

    DocumentWithMultipleCollections result = template.findOne(findQuery, DocumentWithMultipleCollections.class);
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.