return withContext(new ReturningProcessToolContextCallback<List<UserData>>() {
@Override
public List<UserData> processWithContext(ProcessToolContext ctx) {
UserDataDAO dao = ctx.getUserDataDAO();
DetachedCriteria criteria = configureAttributesJoinCriteria(dao.getDetachedCriteria(), attributeValues);
return dao.findByCriteria(criteria);
}
});
}
protected DetachedCriteria configureAttributesJoinCriteria(DetachedCriteria root, Map<String, String> attributeValues) {