UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS);
    public List retrieveCategoriesNotInGroup(CategoryGroupData group)        throws DSOutOfServiceException, DSAccessException    {        //List of categorySummary objects        List result = new ArrayList();        Criteria c = CategoryMapper.buildCategoryWithClassificationsCriteria(                        group.getID());        List l = (List) gateway.retrieveListSTSData("Category", c);        UserCredentials uc = (UserCredentials)            registry.lookup(LookupNames.USER_CREDENTIALS);        if (l != null || l.size() > 0)            CategoryMapper.fillCategoryWithClassifications(l, result, group,                            uc.getUserID());        return result;    }