Search in sources :

Example 1 with GroupImpl

use of org.jboss.errai.security.shared.api.GroupImpl 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);
}
Also used : SearchResponseImpl(org.uberfire.ext.security.management.impl.SearchResponseImpl) GroupImpl(org.jboss.errai.security.shared.api.GroupImpl) ArrayList(java.util.ArrayList) ArrayList(java.util.ArrayList) List(java.util.List)

Example 2 with GroupImpl

use of org.jboss.errai.security.shared.api.GroupImpl 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);
}
Also used : SearchResponseImpl(org.uberfire.ext.security.management.impl.SearchResponseImpl) GroupImpl(org.jboss.errai.security.shared.api.GroupImpl) ArrayList(java.util.ArrayList) ArrayList(java.util.ArrayList) List(java.util.List)

Aggregations

ArrayList (java.util.ArrayList)2 List (java.util.List)2 GroupImpl (org.jboss.errai.security.shared.api.GroupImpl)2 SearchResponseImpl (org.uberfire.ext.security.management.impl.SearchResponseImpl)2