this._facets.clear();
it = conn.getStatements((Resource) null, Facets.facets, (Value) null, false);
while (it.hasNext()) {
try {
Statement facetStatement = (Statement) it.next();
FacetSet facetset = FacetSet.parse(this._source, facetStatement.getSubject());
if (!this._all.containsKey(facetset.getIdentifier())) addFacetSet(facetset);
} catch (Exception e) {
gather(e);
}
}
it.close();
// also catch even if it only has to do with hiding
it = conn.getStatements((Resource) null, Facets.hides, (Value) null, false);
while (it.hasNext()) {
try {
Statement facetStatement = (Statement) it.next();
FacetSet facetset = FacetSet.parse(this._source, facetStatement.getSubject());
if (!this._all.containsKey(facetset.getIdentifier())) addFacetSet(facetset);
} catch (Exception e) {
gather(e);
}
}
it.close();