Skip to content

Commit

Permalink
Updates javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Dec 13, 2024
1 parent cc973c6 commit 3ce3d92
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ public <T> Set<T> fetchAllDocuments(String pluginIndex, Class<T> clazz) {
* <li>"roles" - for role-based access</li>
* <li>"backend_roles" - for backend role-based access</li>
* </ul>
* @param clazz Class to deserialize each document from Response into
* @return Set<String> List of resource IDs that match the criteria. The list may be empty
* if no matches are found
*
Expand Down Expand Up @@ -376,6 +377,7 @@ public <T> Set<T> fetchDocumentsForAllScopes(String pluginIndex, Set<String> ent
* <li>"backend_roles" - for backend role-based access</li>
* </ul>
* @param scope The scope of the access. Should be implementation of {@link org.opensearch.accesscontrol.resources.ResourceAccessScope}
* @param clazz Class to deserialize each document from Response into
* @return Set<String> List of resource IDs that match the criteria. The list may be empty
* if no matches are found
*
Expand Down Expand Up @@ -484,6 +486,7 @@ public <T> Set<T> fetchDocumentsForAGivenScope(
* @param pluginIndex The source index to match against the source_idx field
* @param field The field name to search in. Must be a valid field in the index mapping
* @param value The value to match for the specified field. Performs exact term matching
* @param clazz Class to deserialize each document from Response into
* @return Set<String> List of resource IDs that match the criteria. Returns an empty list
* if no matches are found
*
Expand Down

0 comments on commit 3ce3d92

Please sign in to comment.