Search in sources :

Example 1 with Category

use of org.uberfire.workbench.category.Category in project kie-wb-common by kiegroup.

the class PopulatedAssetsScreen method createProjectQuery.

protected ProjectAssetsQuery createProjectQuery(String filter, String filterType, int startIndex, int amount) {
    Category category = categoriesManagerCache.getCategory(filterType);
    List<String> suffixes = this.getSuffixes(category);
    return new ProjectAssetsQuery(libraryPlaces.getActiveWorkspace(), filter, startIndex, amount, suffixes);
}
Also used : Category(org.uberfire.workbench.category.Category) ProjectAssetsQuery(org.kie.workbench.common.screens.library.api.ProjectAssetsQuery)

Aggregations

ProjectAssetsQuery (org.kie.workbench.common.screens.library.api.ProjectAssetsQuery)1 Category (org.uberfire.workbench.category.Category)1