Search in sources :

Example 1 with FindAllChangeImpactQuery

use of org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery in project kie-wb-common by kiegroup.

the class AssetsUsageServiceImplTest method getQueries.

protected Set<NamedQuery> getQueries() {
    return new HashSet<NamedQuery>() {

        {
            add(new FindResourcePartReferencesQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindAllChangeImpactQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
        }
    };
}
Also used : FindAllChangeImpactQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) FindResourcePartReferencesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcePartReferencesQuery) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) HashSet(java.util.HashSet)

Example 2 with FindAllChangeImpactQuery

use of org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery in project kie-wb-common by kiegroup.

the class FindResourceReferencesQueryValidIndexTermsTest method getQueries.

protected Set<NamedQuery> getQueries() {
    return new HashSet<NamedQuery>() {

        {
            add(new FindResourceReferencesQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindAllChangeImpactQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
        }
    };
}
Also used : FindAllChangeImpactQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) FindResourceReferencesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourceReferencesQuery) HashSet(java.util.HashSet)

Example 3 with FindAllChangeImpactQuery

use of org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery in project kie-wb-common by kiegroup.

the class FormDefinitionIndexerTest method getQueries.

protected Set<NamedQuery> getQueries() {
    return new HashSet<NamedQuery>() {

        {
            add(new FindResourcesQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindAllChangeImpactQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindFormDefinitionIdsQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new FindFormDefinitionIdsQuery.FindFormDefinitionIdsResponseBuilder(ioService());
                }
            });
        }
    };
}
Also used : FindAllChangeImpactQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) FindResourcesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcesQuery) FindFormDefinitionIdsQuery(org.kie.workbench.common.forms.editor.backend.indexing.query.FindFormDefinitionIdsQuery) HashSet(java.util.HashSet)

Example 4 with FindAllChangeImpactQuery

use of org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery in project kie-wb-common by kiegroup.

the class BpmnFileIndexerTest method getQueries.

protected Set<NamedQuery> getQueries() {
    return new HashSet<NamedQuery>() {

        {
            add(new FindResourcesQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindAllChangeImpactQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindBpmnProcessIdsQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new FindBpmnProcessIdsQuery.BpmnProcessIdsResponseBuilder(ioService());
                }
            });
        }
    };
}
Also used : FindAllChangeImpactQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) FindResourcesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcesQuery) HashSet(java.util.HashSet) FindBpmnProcessIdsQuery(org.kie.workbench.common.stunner.bpmn.backend.query.FindBpmnProcessIdsQuery)

Example 5 with FindAllChangeImpactQuery

use of org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery in project kie-wb-common by kiegroup.

the class ImpactAnalysisJavaFileTest method getQueries.

protected Set<NamedQuery> getQueries() {
    return new HashSet<NamedQuery>() {

        {
            add(new FindResourceReferencesQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
            add(new FindAllChangeImpactQuery() {

                @Override
                public ResponseBuilder getResponseBuilder() {
                    return new DefaultResponseBuilder(ioService());
                }
            });
        }
    };
}
Also used : FindAllChangeImpactQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) ResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder) DefaultResponseBuilder(org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder) FindResourceReferencesQuery(org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourceReferencesQuery) HashSet(java.util.HashSet)

Aggregations

HashSet (java.util.HashSet)6 DefaultResponseBuilder (org.kie.workbench.common.services.refactoring.backend.server.query.response.DefaultResponseBuilder)6 ResponseBuilder (org.kie.workbench.common.services.refactoring.backend.server.query.response.ResponseBuilder)6 FindAllChangeImpactQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindAllChangeImpactQuery)6 FindResourceReferencesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourceReferencesQuery)3 FindResourcesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcesQuery)2 FindFormDefinitionIdsQuery (org.kie.workbench.common.forms.editor.backend.indexing.query.FindFormDefinitionIdsQuery)1 FindResourcePartReferencesQuery (org.kie.workbench.common.services.refactoring.backend.server.query.standard.FindResourcePartReferencesQuery)1 FindBpmnProcessIdsQuery (org.kie.workbench.common.stunner.bpmn.backend.query.FindBpmnProcessIdsQuery)1