org.vertexium.Edge.isHidden()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(182)

本文整理了Java中org.vertexium.Edge.isHidden()方法的一些代码示例,展示了Edge.isHidden()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Edge.isHidden()方法的具体详情如下:
包路径:org.vertexium.Edge
类名称:Edge
方法名:isHidden

Edge.isHidden介绍

暂无

代码示例

代码示例来源:origin: org.visallo/visallo-core

public static boolean isPublicDelete(Edge edge, Authorizations authorizations) {
  return edge.isHidden(authorizations);
}

代码示例来源:origin: visallo/vertexium

PrintWriter writer = new PrintWriter(out);
writer.println("@|bold " + e.getId() + "|@");
writer.println("  @|bold hidden:|@ " + e.isHidden(getAuthorizations()));
writer.println("  @|bold visibility:|@ " + e.getVisibility());
writer.println("  @|bold label:|@ " + e.getLabel());

代码示例来源:origin: visallo/vertexium

for (Edge edge : v.getEdges(Direction.OUT, FetchHints.ALL_INCLUDING_HIDDEN, getTime(), getAuthorizations())) {
  String edgeIndexString = "e" + edgeIndex;
  boolean isHidden = edge.isHidden(getAuthorizations());
  try {
    String otherVertexId = edge.getOtherVertexId(v.getId());
for (Edge edge : v.getEdges(Direction.IN, FetchHints.ALL_INCLUDING_HIDDEN, getTime(), getAuthorizations())) {
  String edgeIndexString = "e" + edgeIndex;
  boolean isHidden = edge.isHidden(getAuthorizations());
  try {
    String otherVertexId = edge.getOtherVertexId(v.getId());

代码示例来源:origin: visallo/vertexium

Edge e1Hidden = graph.getEdge("v1tov2", FetchHints.ALL_INCLUDING_HIDDEN, AUTHORIZATIONS_A_AND_B);
assertNotNull("did not find e1 but should have", e1Hidden);
assertTrue("e1 should be hidden", e1Hidden.isHidden(AUTHORIZATIONS_A_AND_B));

代码示例来源:origin: org.vertexium/vertexium-test

Edge e1Hidden = graph.getEdge("v1tov2", FetchHints.ALL_INCLUDING_HIDDEN, AUTHORIZATIONS_A_AND_B);
assertNotNull("did not find e1 but should have", e1Hidden);
assertTrue("e1 should be hidden", e1Hidden.isHidden(AUTHORIZATIONS_A_AND_B));

相关文章