*/
    public static Criteria buildCategoryGroupCriteria(int groupID, int userID)    {        Criteria c = new Criteria();        c.addWantedField("Name");        c.addWantedField("Description");        c.addWantedField("CategoryList");        //wanted fields for CategoryList        c.addWantedField("CategoryList", "Name");        c.addWantedField("CategoryList", "Description");        c.addWantedField("CategoryList", "ClassificationList");        c.addWantedField("CategoryList", "module_execution");        //May add filter        c.addWantedField("CategoryList.module_execution", "experimenter");                //wanted fields for ClassificationList        c.addWantedField("CategoryList.ClassificationList", "Valid");                c.addWantedField("CategoryList.ClassificationList", "Confidence");        c.addWantedField("CategoryList.ClassificationList", "image");                //May add filtering        c.addWantedField("CategoryList.ClassificationList", "module_execution");        c.addWantedField("CategoryList.ClassificationList.module_execution",                             "experimenter");        //wanted fields for images        c.addWantedField("CategoryList.ClassificationList.image", "name");        c.addWantedField("CategoryList.ClassificationList.image", "created");        c.addWantedField("CategoryList.ClassificationList.image",                     "default_pixels");        c.addWantedField("CategoryList.ClassificationList.image.default_pixels",                    "ImageServerID");        c.addWantedField("CategoryList.ClassificationList.image.default_pixels",                     "Repository");        c.addWantedField(            "CategoryList.ClassificationList.image.default_pixels.Repository",                                "ImageServerURL");        if (groupID != -1) c.addFilter("id", new Integer(groupID));        if (userID != -1)             c.addFilter("module_execution.experimenter_id",                     new Integer(userID));        return c;    }