public EntityIdentifier[] searchForEntities(String query, int method, Class type) throws GroupsException {
return EMPTY_SEARCH_RESULTS;
}
private GroupDefinition initGroupDef(IPersonAttributesGroupDefinition group) {
GroupDefinition groupDef = new GroupDefinition();
groupDef.setKey(group.getName());
groupDef.setName(group.getName());
groupDef.setDescription(group.getDescription());
addMemberKeys(groupDef, group.getMembers());
Set<IPersonAttributesGroupTestGroupDefinition> testGroups = group.getTestGroups();
for(IPersonAttributesGroupTestGroupDefinition testGroup : testGroups) {
TestGroup tg = new TestGroup();
Set<IPersonAttributesGroupTestDefinition> tests = testGroup.getTests();
for(IPersonAttributesGroupTestDefinition test : tests) {
IPersonTester testerInst = initializeTester(test.getTesterClassName(), test.getAttributeName(), test.getTestValue());
tg.addTest(testerInst);
}
groupDef.addTestGroup(tg);
}
return groupDef;
}