use of org.uberfire.ext.security.management.impl.SearchResponseImpl in project kie-wb-common by kiegroup.
the class AssigneeLiveSearchServiceTest method prepareGroupsResponse.
private AbstractEntityManager.SearchResponse<?> prepareGroupsResponse() {
List result = new ArrayList();
result.add(new GroupImpl("it"));
result.add(new GroupImpl("hr"));
result.add(new GroupImpl("qe"));
return new SearchResponseImpl(result, 1, 1, 1, true);
}
use of org.uberfire.ext.security.management.impl.SearchResponseImpl in project kie-wb-common by kiegroup.
the class AssigneeLiveSearchServiceTest method prepareSingleUserResponse.
private AbstractEntityManager.SearchResponse<?> prepareSingleUserResponse() {
List result = new ArrayList();
result.add(new UserImpl("user"));
return new SearchResponseImpl(result, 1, 1, 1, true);
}
use of org.uberfire.ext.security.management.impl.SearchResponseImpl in project kie-wb-common by kiegroup.
the class AssigneeLiveSearchServiceTest method prepareUsersResponse.
private AbstractEntityManager.SearchResponse<?> prepareUsersResponse() {
List result = new ArrayList();
result.add(new UserImpl("admin"));
result.add(new UserImpl("user"));
result.add(new UserImpl("developer"));
return new SearchResponseImpl(result, 1, 1, 1, true);
}
use of org.uberfire.ext.security.management.impl.SearchResponseImpl in project kie-wb-common by kiegroup.
the class AssigneeLiveSearchServiceTest method prepareSingleGroupResponse.
private AbstractEntityManager.SearchResponse<?> prepareSingleGroupResponse() {
List result = new ArrayList();
result.add(new GroupImpl("it"));
return new SearchResponseImpl(result, 1, 1, 1, true);
}
Aggregations