Examples of apply()


Examples of org.jinq.jooq.transform.WhereTransform.apply()

      LambdaInfo where = LambdaInfo.analyze(context.metamodel, lambda);
      if (where == null) throw new IllegalArgumentException("Could not create convert Lambda into a query");
      WhereTransform whereTransform = new WhereTransform(context.metamodel, where);
      List<Table<?>> from = new ArrayList<>();
      from.addAll(fromTables);
      Condition cond = whereTransform.apply(from);
      return new JinqJooqQueryN(context, fromTables, cond);
   }

   public <U> ResultStream<U> selectAll()
   {
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.location.panel.DataLocationPanel.apply()

        UiUtils.setOpaqueRecursivelySkipDefaults(getUi(), false);
    }

    protected final void applyLocation() throws IntegrationDataPanelException {
        DataLocationPanel locPanel = locationDisplayer.getCurrentLocationPanel();
        locPanel.apply();
    }

    protected final DataLocation getDisplayedLocation() {
        DataLocationPanel locPanel = locationDisplayer.getCurrentLocationPanel();
        return locPanel.getDisplayedObject();
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.pipeline.TransformationToOperationPipelineFunction.apply()

    }

    private OperationPipeline createPipeline(Transformation tx) {
        IntegrationEntityLookup itemLookup = getItemLookup(tx);
        Function<Transformation, OperationPipeline> f = new TransformationToOperationPipelineFunction(itemLookup);
        return f.apply(tx);
    }

    private IntegrationEntityLookup getItemLookup(Transformation tx) {
        return ProjectUtils.getProject(tx).getItemLookup();
    }
View Full Code Here

Examples of org.jitterbit.integration.data.functors.EntityFilter.apply()

            return icons.getIcon(Category.fromValidationStatus(status), size);
        }

        private String getTextFromEntity(IntegrationEntity entity) {
            EntityFilter filter = EntityFilters.DEPLOY_DIRTY;
            if (filter.apply(entity) || hasMatchingChild(entity, filter)) {
                return ">" + entity.getName();
            }
            return entity.getName();
        }
View Full Code Here

Examples of org.jitterbit.integration.data.project.ProjectPathFilter.apply()

            return items;
        }

        private Set<IntegrationEntity> runProjectPathQuery(IntegrationProject project, String filterString) {
            ProjectPathFilter filter = new ProjectPathFilter(filterString);
            return filter.apply(project);
        }

        private Set<IntegrationEntity> collectItemsWithMatchingNames(IntegrationProject project, String filterString) {
            KSet<IntegrationEntity> items = KSet.hash();
            items.addAll(project.getAllEntities());
View Full Code Here

Examples of org.jitterbit.ui.graph.model.NodeExpansionState.apply()

     */
    public void restore() {
        for (OperationWrapperNode node : graph.getModel().getOperationNodes()) {
            NodeExpansionState state = states.get(node.getOperationId());
            if (state != null) {
                state.apply(graph.getLayout(), node);
            } // else: The node was not present when this memento was created. Leave it alone
        }
    }
}
View Full Code Here

Examples of org.jitterbit.ui.widget.tree.KongaTreeFilter.apply()

        } else {
            tree.setFilter(new KongaTreeFilter2() {

                @Override
                public boolean apply(KongaTreeNode node) {
                    return filter.apply(node);
                }

                @Override
                public void hasBeenApplied(KongaTree tree) {
                    tree.expandAllNonEmptyFolderNodes();
View Full Code Here

Examples of org.jitterbit.util.version.VersionDecorator.apply()

    }
   
    private Version decorate(Version original, Class<? extends VersionDecorator> clazz) {
        try {
            VersionDecorator d = clazz.newInstance();
            return d.apply(original);
        } catch (Exception ex) {
            ex.printStackTrace();
            return original;
        }
    }
View Full Code Here

Examples of org.joshy.gfx.draw.ImageBuffer.apply()

        GFX g2 = bufx.getGFX();
        g2.setPaint(FlatColor.BLACK);
        g2.translate(10, 10);
        fillShape(g2);
        g2.translate(-10, -10);
        bufx.apply(new BlurEffect(blurRadius));
        g2.dispose();

        //invert alpha channel
        for(int i=0; i<bufx.buf.getWidth(); i++) {
            for(int j=0; j<bufx.buf.getHeight(); j++) {
View Full Code Here

Examples of org.jrdf.sparql.parser.node.PMoreNumericExpression.apply()

    @Override
    public void caseARelationalExpression(ARelationalExpression node) {
        node.getNumericExpression().apply(this);
        final PMoreNumericExpression moreExpressions = node.getMoreNumericExpression();
        if (moreExpressions != null) {
            moreExpressions.apply(this);
        } else {
            super.caseARelationalExpression(node);
        }
    }
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.