private Collection<String> getRequiredReadPermissionStrings(final UriRef tripleCollectionUri) {
return getRequiredPermissionStrings(tripleCollectionUri, readPermissionListProperty);
}
private Collection<String> getRequiredPermissionStrings(final UriRef tripleCollectionUri, UriRef property) {
try {
final LockableMGraph permissionMGraph = tcManager.getMGraph(permissionGraphName);
Lock l = permissionMGraph.getLock().readLock();
l.lock();
try {
Triple t = permissionMGraph.filter(tripleCollectionUri, property, null).next();
NonLiteral list = (NonLiteral) t.getObject();
LinkedList<String> result = new LinkedList<String>();
readList(list, permissionMGraph, result);
return result;
} catch (NoSuchElementException e) {