Examples of apply()


Examples of org.libreplan.business.orders.entities.TaskSource.TaskSourceSynchronization.apply()

                Arrays.asList(associatedHoursGroup));

        orderLine.getCurrentSchedulingData().requestedCreationOf(taskSource);

        TaskSourceSynchronization mustAdd = TaskSource.mustAdd(taskSource);
        mustAdd.apply(TaskSource.persistTaskSources(taskSourceDAO));

        Task task = (Task) taskSource.getTask();
        return task;
    }
View Full Code Here

Examples of org.lightadmin.api.config.utils.EntityNameExtractor.apply()

    @Test
    public void namedEntityNameExtraction() throws Exception {
        final EntityNameExtractor entityNameExtractor = forNamedPersistentEntity("name");

        assertEquals("Domain Type Object Name", entityNameExtractor.apply(new DomainType()));
    }

//    @Test
//    public void persistentEntityNameExtraction() throws Exception {
//        final DomainTypeEntityMetadata entityMetadata = domainTypeEntityMetadata("Entity", 1);
View Full Code Here

Examples of org.locationtech.udig.style.internal.StyleLayer.apply()

        if (ftsNum < 1) {
            MessageDialog.openWarning(getShell(), Messages.SimplePointEditorPage_1, Messages.SimplePointEditorPage_2);
            style = oldStyle;
            setStyle(oldStyle);
            layer.revertAll();
            layer.apply();
           
            StyleEditorDialog dialog = (StyleEditorDialog) getContainer();
            dialog.getCurrentPage().refresh();
            return;
        }
View Full Code Here

Examples of org.milyn.util.FreeMarkerTemplate.apply()

        Writer writer = getReportConfiguration().getOutputWriter();
        Map templateModel = new HashMap();

        templateModel.put("report", report);
        templateModel.put("htmlEscape", new HtmlEscape());
        writer.write(template.apply(templateModel));
    }

    private static Writer createOutputWriter(String outputFile) throws IOException {
        File file = new File(outputFile);
        if(file.getParentFile() != null) {
View Full Code Here

Examples of org.mobicents.mscontrol.MsSignalGenerator.apply()

            .getActivityContextInterface(generator);
        generatorActivity.attach(this.getSbbLocalObject());

        URL audioFileURL = getClass().getResource(waitingDTMF);

        generator.apply(Announcement.PLAY, new String[] { audioFileURL
            .toString() });

        this.initDtmfDetector(evt.getConnection(), endpointName);

      } catch (UnrecognizedActivityException e) {
View Full Code Here

Examples of org.modeshape.jcr.query.plan.PlanNode.apply()

            // Find the query result columns ...
            start = System.nanoTime();

            // Determine the Columns object for specific nodes in the plan, and store them in the context ...
            optimizedPlan.apply(Traversal.POST_ORDER, new PlanNode.Operation() {

                @Override
                public void apply( PlanNode node ) {
                    Columns columns = null;
                    switch (node.getType()) {
View Full Code Here

Examples of org.mortbay.jetty.handler.rewrite.CookiePatternRule.apply()

            rule.setValue(cookie[1]);

            System.out.println(rule.toString());

            // apply cookie pattern
            rule.apply(_request.getRequestURI(), _request, _response);
           
            // verify
            HttpFields httpFields = _response.getHttpFields();
            Enumeration e = httpFields.getValues(HttpHeaders.SET_COOKIE_BUFFER);
            int index = 0;
View Full Code Here

Examples of org.olat.core.util.bulk.BulkActionModule.apply()

          }else if (selectedOlatKey == 1) { // email
            identity = um.findIdentityByEmail(val);
          }
          identitiesAndTheirAssessments.add(new Object[]{identity,assessment});
        }
        List bulkResults = bam.apply(identitiesAndTheirAssessments, ba);
       
        // add the bulk results to the data model
        for(int i = 0; i < feedbackDataModel.getRowCount(); i++ ){           
          Object[] feedback = (Object[]) bulkResults.get(i);
          feedbackDataModel.setValueAt(feedback[2],i, numOfValPerLine);
View Full Code Here

Examples of org.openquark.cal.compiler.Refactorer.apply()

            System.out.println("");
            dumpCompilerMessages(messageLogger);
            return;
        }

        refactorer.apply(messageLogger);
        System.out.println("");

        if(messageLogger.getMaxSeverity().compareTo(CompilerMessage.Severity.ERROR) >= 0) {
            dumpCompilerMessages(messageLogger);
            return;
View Full Code Here

Examples of org.openquark.cal.internal.machine.g.Node.apply()

         * Loops through all fields in the record dictionary and
         * invokes the arbitrary class method to
         * construct each record field
         */
        for (int i = 0; i < nFields; ++i) {
            genParams=executor.internalEvaluate(independent.apply( new NValInt(i)).apply(genParams));
           
            String fieldName = fieldNames.get(i);
            Node valueDictionaryThunk = recordDictionary.getValue(fieldName);
           
            result= result.insertRecordField(fieldName,
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.