public class RepositoryResourceMappings extends PersistentEntitiesResourceMappings
ResourceMetadata and ResourceMapping instances for domain types and
repositories.| Constructor and Description |
|---|
RepositoryResourceMappings(Repositories repositories,
PersistentEntities entities,
RepositoryRestConfiguration configuration)
Creates a new
RepositoryResourceMappings from the given RepositoryRestConfiguration,
PersistentEntities, and Repositories. |
| Modifier and Type | Method and Description |
|---|---|
SearchResourceMappings |
getSearchResourceMappings(Class<?> domainType)
Returns the
ResourceMappings for the search resources of the given type. |
boolean |
hasMappingFor(Class<?> type)
Returns whether we have a
ResourceMapping for the given type. |
boolean |
isMapped(PersistentProperty<?> property) |
addToCache, exportsMappingFor, exportsTopLevelResourceFor, getMappingFor, getMetadataFor, hasMetadataFor, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEach, spliteratorpublic RepositoryResourceMappings(Repositories repositories, PersistentEntities entities, RepositoryRestConfiguration configuration)
RepositoryResourceMappings from the given RepositoryRestConfiguration,
PersistentEntities, and Repositories.repositories - must not be null.entities - must not be null.configuration - must not be null.public SearchResourceMappings getSearchResourceMappings(Class<?> domainType)
ResourceMappingsResourceMappings for the search resources of the given type.getSearchResourceMappings in interface ResourceMappingsgetSearchResourceMappings in class PersistentEntitiesResourceMappingsdomainType - must not be null.public boolean hasMappingFor(Class<?> type)
ResourceMappingsResourceMapping for the given type.hasMappingFor in interface ResourceMappingshasMappingFor in class PersistentEntitiesResourceMappingstype - must not be null.public boolean isMapped(PersistentProperty<?> property)
isMapped in class PersistentEntitiesResourceMappingsCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.