public List<OffsetItem> convertTermMentionsToOffsetItems(Iterable<Vertex> termMentions, String workspaceId, Authorizations authorizations) {
ArrayList<OffsetItem> termMetadataOffsetItems = new ArrayList<OffsetItem>();
for (Vertex termMention : termMentions) {
String visibility = termMention.getVisibility().getVisibilityString();
SandboxStatus sandboxStatus = GraphUtil.getSandboxStatusFromVisibilityString(visibility, workspaceId);
termMetadataOffsetItems.add(new VertexOffsetItem(termMention, sandboxStatus, authorizations));
}
return termMetadataOffsetItems;
}