コード例 #1
0
  public long getUserId() {
    if (userId != null) return userId.longValue();

    if (!apiServer) s_logger.warn("Null user id in UserContext " + ProcessUtil.dumpStack());

    return 0;
  }
コード例 #2
0
  public long getAccountId() {
    if (accountId != null) return accountId.longValue();

    if (!apiServer) s_logger.warn("Null account id in UserContext " + ProcessUtil.dumpStack());
    return 0;
  }