public interface ResourceMetadata extends CollectionResourceMapping
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getDomainType()
Returns the domain type that is exposed through the resource.
|
ResourceMapping |
getMappingFor(org.springframework.data.mapping.PersistentProperty<?> property)
Returns the
ResourceMapping for the given PersistentProperty or null if not managed. |
PropertyAwareResourceMapping |
getProperty(String mappedPath)
Returns the
PropertyAwareResourceMapping for the given mapped path. |
SearchResourceMappings |
getSearchResourceMappings()
Returns the
SearchResourceMappings, i.e. the mappings for the search resource exposed for the current
resource. |
SupportedHttpMethods |
getSupportedHttpMethods()
Returns the supported
HttpMethods for the given ResourceType. |
boolean |
isExported(org.springframework.data.mapping.PersistentProperty<?> property)
Returns whether the given
PersistentProperty is a managed resource and in fact exported. |
getExcerptProjection, getItemResourceDescription, getItemResourceRelgetDescription, getPath, getRel, isExported, isPagingResourceClass<?> getDomainType()
boolean isExported(org.springframework.data.mapping.PersistentProperty<?> property)
PersistentProperty is a managed resource and in fact exported.property - must not be null.PropertyAwareResourceMapping getProperty(String mappedPath)
PropertyAwareResourceMapping for the given mapped path.mappedPath - must not be null or empty.PropertyAwareResourceMapping for the given path or null if none found.ResourceMapping getMappingFor(org.springframework.data.mapping.PersistentProperty<?> property)
ResourceMapping for the given PersistentProperty or null if not managed.property - must not be null.SearchResourceMappings getSearchResourceMappings()
SearchResourceMappings, i.e. the mappings for the search resource exposed for the current
resource.SupportedHttpMethods getSupportedHttpMethods()
HttpMethods for the given ResourceType.resourcType - must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.