|
2 | 2 | <!-- NewPage --> |
3 | 3 | <html lang="en"> |
4 | 4 | <head> |
5 | | -<!-- Generated by javadoc (11.0.8) on Tue Apr 23 15:16:22 JST 2024 --> |
6 | | -<title>AccessRight (com.authlete:authlete-java-common 3.97 API)</title> |
| 5 | +<!-- Generated by javadoc (11.0.8) on Tue May 14 15:58:54 JST 2024 --> |
| 6 | +<title>AccessRight (com.authlete:authlete-java-common 4.0-SNAPSHOT API)</title> |
7 | 7 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
8 | | -<meta name="dc.created" content="2024-04-23"> |
| 8 | +<meta name="dc.created" content="2024-05-14"> |
9 | 9 | <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
10 | 10 | <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
11 | 11 | <script type="text/javascript" src="../../../../script.js"></script> |
|
22 | 22 | <script type="text/javascript"><!-- |
23 | 23 | try { |
24 | 24 | if (location.href.indexOf('is-external=true') == -1) { |
25 | | - parent.document.title="AccessRight (com.authlete:authlete-java-common 3.97 API)"; |
| 25 | + parent.document.title="AccessRight (com.authlete:authlete-java-common 4.0-SNAPSHOT API)"; |
26 | 26 | } |
27 | 27 | } |
28 | 28 | catch(err) { |
29 | 29 | } |
30 | 30 | //--> |
31 | | -var data = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9}; |
| 31 | +var data = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9}; |
32 | 32 | var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
33 | 33 | var altColor = "altColor"; |
34 | 34 | var rowColor = "rowColor"; |
@@ -301,43 +301,52 @@ <h3>Method Summary</h3> |
301 | 301 | </td> |
302 | 302 | </tr> |
303 | 303 | <tr id="i1" class="rowColor"> |
| 304 | +<td class="colFirst"><code>boolean</code></td> |
| 305 | +<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canDoAny(long,com.authlete.common.api.AccessRight)">canDoAny</a></span>​(long serviceId, |
| 306 | + <a href="AccessRight.html" title="enum in com.authlete.common.api">AccessRight</a> compare)</code></th> |
| 307 | +<td class="colLast"> |
| 308 | +<div class="block">Return true if this access right has at least the amount of access of the |
| 309 | + compared access right on any object in the list.</div> |
| 310 | +</td> |
| 311 | +</tr> |
| 312 | +<tr id="i2" class="altColor"> |
304 | 313 | <td class="colFirst"><code>static <a href="AccessRight.html" title="enum in com.authlete.common.api">AccessRight</a></code></td> |
305 | 314 | <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromJson(java.lang.String)">fromJson</a></span>​(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key)</code></th> |
306 | 315 | <td class="colLast"> |
307 | 316 | <div class="block">Look up and fetch an access right value based on its |
308 | 317 | (lowercased) name from a JSON object.</div> |
309 | 318 | </td> |
310 | 319 | </tr> |
311 | | -<tr id="i2" class="altColor"> |
| 320 | +<tr id="i3" class="rowColor"> |
312 | 321 | <td class="colFirst"><code>boolean</code></td> |
313 | 322 | <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClientSpecific()">isClientSpecific</a></span>()</code></th> |
314 | 323 | <td class="colLast"> |
315 | 324 | <div class="block">Return true if this access right requires a specific service and client to be applied.</div> |
316 | 325 | </td> |
317 | 326 | </tr> |
318 | | -<tr id="i3" class="rowColor"> |
| 327 | +<tr id="i4" class="altColor"> |
319 | 328 | <td class="colFirst"><code>boolean</code></td> |
320 | 329 | <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isServiceSpecific()">isServiceSpecific</a></span>()</code></th> |
321 | 330 | <td class="colLast"> |
322 | 331 | <div class="block">Return true if this access right requires a specific service to be applied.</div> |
323 | 332 | </td> |
324 | 333 | </tr> |
325 | | -<tr id="i4" class="altColor"> |
| 334 | +<tr id="i5" class="rowColor"> |
326 | 335 | <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
327 | 336 | <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toJson()">toJson</a></span>()</code></th> |
328 | 337 | <td class="colLast"> |
329 | 338 | <div class="block">Return the name of this access right in lowercase form, |
330 | 339 | appropriate for use in JSON objects (such as RAR object values).</div> |
331 | 340 | </td> |
332 | 341 | </tr> |
333 | | -<tr id="i5" class="rowColor"> |
| 342 | +<tr id="i6" class="altColor"> |
334 | 343 | <td class="colFirst"><code>static <a href="AccessRight.html" title="enum in com.authlete.common.api">AccessRight</a></code></td> |
335 | 344 | <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueOf(java.lang.String)">valueOf</a></span>​(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name)</code></th> |
336 | 345 | <td class="colLast"> |
337 | 346 | <div class="block">Returns the enum constant of this type with the specified name.</div> |
338 | 347 | </td> |
339 | 348 | </tr> |
340 | | -<tr id="i6" class="altColor"> |
| 349 | +<tr id="i7" class="rowColor"> |
341 | 350 | <td class="colFirst"><code>static <a href="AccessRight.html" title="enum in com.authlete.common.api">AccessRight</a>[]</code></td> |
342 | 351 | <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th> |
343 | 352 | <td class="colLast"> |
@@ -590,6 +599,24 @@ <h4>canDo</h4> |
590 | 599 | to function.</div> |
591 | 600 | </li> |
592 | 601 | </ul> |
| 602 | +<a id="canDoAny(long,com.authlete.common.api.AccessRight)"> |
| 603 | +<!-- --> |
| 604 | +</a> |
| 605 | +<ul class="blockList"> |
| 606 | +<li class="blockList"> |
| 607 | +<h4>canDoAny</h4> |
| 608 | +<pre class="methodSignature">public boolean canDoAny​(long serviceId, |
| 609 | + <a href="AccessRight.html" title="enum in com.authlete.common.api">AccessRight</a> compare)</pre> |
| 610 | +<div class="block">Return true if this access right has at least the amount of access of the |
| 611 | + compared access right on any object in the list. If the access right is client |
| 612 | + specific, the serviceId is a required parameter. If the access right is |
| 613 | + service specific, this is true for all possible services regardless of value.</div> |
| 614 | +<dl> |
| 615 | +<dt><span class="simpleTagLabel">Since:</span></dt> |
| 616 | +<dd>3.99</dd> |
| 617 | +</dl> |
| 618 | +</li> |
| 619 | +</ul> |
593 | 620 | <a id="fromJson(java.lang.String)"> |
594 | 621 | <!-- --> |
595 | 622 | </a> |
|
0 commit comments