Interface RealmSearchDAO
- All Known Implementing Classes:
AbstractJPARealmSearchDAO,AbstractRealmSearchDAO,ElasticsearchRealmSearchDAO,MariaDBJPARealmSearchDAO,MySQLJPARealmSearchDAO,Neo4jRealmSearchDAO,OpenSearchRealmSearchDAO,OracleJPARealmSearchDAO,PGJPARealmSearchDAO
public interface RealmSearchDAO
-
Method Summary
Modifier and TypeMethodDescriptionlongcount(Set<String> bases, SearchCond cond) default voidfindAncestors(List<Realm> result, Realm realm) findAncestors(Realm realm) findByDerAttrValue(String expression, String value, boolean ignoreCaseMatch) Find realmss by derived attribute value.findByFullPath(String fullPath) findByName(String name) findChildren(Realm realm) findDescendants(String base, String prefix) default SearchCondsearch(Set<String> bases, SearchCond cond, org.springframework.data.domain.Pageable pageable)
-
Method Details
-
findByFullPath
-
findByName
-
findChildren
-
findDescendants
-
findAncestors
-
findAncestors
-
findByDerAttrValue
Find realmss by derived attribute value. This method could fail if one or more string literals contained into the derived attribute value provided derive from identifier (schema key) replacement. When you are going to specify a derived attribute expression you must be quite sure that string literals used to build the expression cannot be found into the attribute values used to replace attribute schema keys used as identifiers.- Parameters:
expression- JEXL expressionvalue- derived attribute valueignoreCaseMatch- whether comparison for string values should take case into account or not- Returns:
- list of realms
-
count
-
search
List<Realm> search(Set<String> bases, SearchCond cond, org.springframework.data.domain.Pageable pageable) -
getAllMatchingCond
-