Skip to content

Commit

Permalink
Add javadoc comment to SimpleSearchQueryConverter#getWhereClause
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianhoelzl-sap committed Feb 12, 2024
1 parent ef07b01 commit c2dc58d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.cloudfoundry.identity.uaa.util.AlphanumericRandomValueStringGenerator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.lang.Nullable;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.util.StringUtils;
Expand Down Expand Up @@ -125,9 +126,12 @@ private String generateParameterPrefix(String filter) {
}
}

/**
* @return the WHERE and (optional) ORDER BY clauses WITHOUT the "WHERE" keyword in the beginning
*/
private String getWhereClause(
final String filter,
final String sortBy,
@Nullable final String filter,
@Nullable final String sortBy,
final boolean ascending,
final Map<String, Object> values,
final AttributeNameMapper mapper,
Expand Down

0 comments on commit c2dc58d

Please sign in to comment.