public HashSet<String> getQueryIDs(String queryString) {
        HashSet<String> objList = new HashSet<String>();
        //System.out.println(queryString);
        // execute query
        ItemIterable<QueryResult> results = session.query(queryString, false);

        for (QueryResult qResult : results) {
            String objectId = "";
            PropertyData<?> propData = qResult.getPropertyById("cmis:objectId"); // Atom
            // Pub
            // binding
            if (propData != null) {
                objectId = (String) propData.getFirstValue();
            } else {
                objectId = qResult.getPropertyValueByQueryName("d.cmis:objectId"); // Web
                // Services
                // binding
            }

            objList.add(objectId);
        }

        return objList;
    }