-
Method Summary
boolean
Returns whether we have a
ResourceMapping
for the given type and it is exported.
boolean
Returns whether we export a top-level resource for the given path.
boolean
Methods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, map, stream, toList, toSet
-
Method Details
-
-
getSearchResourceMappings
- Parameters:
type
- must not be null.
- Returns:
- will never be null.
-
exportsMappingFor
boolean exportsMappingFor(Class<?> type)
Returns whether we have a
ResourceMapping
for the given type and it is exported.
- Parameters:
type
-
- Returns:
-
exportsTopLevelResourceFor
boolean exportsTopLevelResourceFor(String path)
Returns whether we export a top-level resource for the given path.
- Parameters:
path
- must not be null or empty.
- Returns:
-
hasMappingFor
boolean hasMappingFor(Class<?> type)
- Parameters:
type
- must not be null.
- Returns: