Annotation Interface Query
Annotation for use in
LdapRepository
declarations to create
automatic query methods based on statically defined queries.- Author:
- Mattias Hellborg Arthursson
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSearch base, to be used as input toLdapQueryBuilder.base(javax.naming.Name)
.int
Count limit, to be used as input toLdapQueryBuilder.countLimit(int)
.org.springframework.ldap.query.SearchScope
Search scope, to be used as input toLdapQueryBuilder.searchScope(org.springframework.ldap.query.SearchScope)
.int
Time limit, to be used as input toLdapQueryBuilder.timeLimit(int)
.The filter format string, to be used as input toLdapQueryBuilder.filter(String, Object...)
.
-
Element Details
-
base
String baseSearch base, to be used as input toLdapQueryBuilder.base(javax.naming.Name)
.- Returns:
- the search base, default is
LdapUtils.emptyLdapName()
- Default:
- ""
-
value
String valueThe filter format string, to be used as input toLdapQueryBuilder.filter(String, Object...)
.- Returns:
- search filter, must be specified.
- Default:
- ""
-
searchScope
org.springframework.ldap.query.SearchScope searchScopeSearch scope, to be used as input toLdapQueryBuilder.searchScope(org.springframework.ldap.query.SearchScope)
.- Returns:
- the search scope.
- Default:
- SUBTREE
-
timeLimit
int timeLimitTime limit, to be used as input toLdapQueryBuilder.timeLimit(int)
.- Returns:
- the time limit.
- Default:
- 0
-
countLimit
int countLimitCount limit, to be used as input toLdapQueryBuilder.countLimit(int)
.- Returns:
- the count limit.
- Default:
- 0
-