org.apache.isis.applib.Identifier.toFullIdentityString()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(138)

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

Identifier.toFullIdentityString介绍

暂无

代码示例

代码示例来源:origin: org.apache.isis.core/isis-core-applib

@Override
  public String toIdentityString(final Identifier identifier) {
    return identifier.toFullIdentityString();
  }
},

代码示例来源:origin: org.apache.isis/applib

@Override
  public String toIdentityString(final Identifier identifier) {
    return identifier.toFullIdentityString();
  }
},

代码示例来源:origin: org.apache.isis.core/isis-core-runtime

@Override
public String toString() {
  return serviceName + " ~ " + objectAction.getIdentifier().toFullIdentityString();
}

代码示例来源:origin: org.apache.isis.core/isis-core-applib

@Deprecated
@Programmatic
public String getActionName() {
  return actionIdentifier.toFullIdentityString();
}

代码示例来源:origin: org.apache.isis.viewer/scimpi-dispatcher

@Override
public void process(final Request request) {
  final RequestContext context = request.getContext();
  if (context.isDebugDisabled()) {
    return;
  }
  final Identifier identifier = (Identifier) context.getVariable("_security-identifier");
  final List<String> roles = (List<String>) context.getVariable("_security-roles");
  final StringBuffer roleList = new StringBuffer();
  for (final String role : roles) {
    if (roleList.length() > 0) {
      roleList.append("|");
    }
    roleList.append(role);
  }
  request.appendHtml("<pre>");
  request.appendHtml(identifier.toClassIdentityString() + ":" + roleList + "\n");
  request.appendHtml(identifier.toClassAndNameIdentityString() + ":" + roleList + "\n");
  request.appendHtml(identifier.toFullIdentityString() + ":" + roleList + "\n");
  request.appendHtml("</pre>");
}

相关文章