Skip navigation links
Spring Data REST - Core
A B C D E F G H I L M N O P R S T U V 

A

AbstractRepositoryEventListener<T> - Class in org.springframework.data.rest.core.event
Abstract class that listens for generic RepositoryEvents and dispatches them to a specific method based on the event type.
AbstractRepositoryEventListener() - Constructor for class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
 
addAllErrors(Errors) - Method in class org.springframework.data.rest.core.ValidationErrors
 
addProjection(Class<?>) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Adds the given projection type to the configuration.
addProjection(Class<?>, Class<?>...) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Adds a projection type for the given source types.
addProjection(Class<?>, String, Class<?>...) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Adds the given projection type for the given source types under the given name.
addResourceMappingFor(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
addResourceMappings(Map<String, ResourceMapping>) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
addValidator(String, Validator) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Add a Validator that will be triggered on the given event.
AfterCreateEvent - Class in org.springframework.data.rest.core.event
Event that is emitted after a new entity is saved.
AfterCreateEvent(Object) - Constructor for class org.springframework.data.rest.core.event.AfterCreateEvent
 
AfterDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted after the entity is deleted from the repository.
AfterDeleteEvent(Object) - Constructor for class org.springframework.data.rest.core.event.AfterDeleteEvent
 
AfterLinkDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted after a link to a related object is deleted from the parent.
AfterLinkDeleteEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.AfterLinkDeleteEvent
 
AfterLinkSaveEvent - Class in org.springframework.data.rest.core.event
Emitted after saving a linked object to its parent in the repository.
AfterLinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.AfterLinkSaveEvent
 
AfterSaveEvent - Class in org.springframework.data.rest.core.event
Emitted after a save to the repository.
AfterSaveEvent(Object) - Constructor for class org.springframework.data.rest.core.event.AfterSaveEvent
 
alpsEnabled() - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Returns whether the ALPS resources are exposed.
AnnotatedHandlerBeanPostProcessor - Class in org.springframework.data.rest.core.event
 
AnnotatedHandlerBeanPostProcessor() - Constructor for class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
AnnotationBasedResourceDescription - Class in org.springframework.data.rest.core.mapping
A ResourceDescription that is customized based on a Description annotation.
AnnotationBasedResourceDescription(Description, ResourceDescription) - Constructor for class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
Creates a new AnnotationBasedResourceDescription for the given Description and fallback.
AnnotationBasedResourceDescription(Class<?>, ResourceDescription) - Constructor for class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
apply(S) - Method in interface org.springframework.data.rest.core.util.Function
 

B

BeforeCreateEvent - Class in org.springframework.data.rest.core.event
Event emitted before an entity is saved for the first time.
BeforeCreateEvent(Object) - Constructor for class org.springframework.data.rest.core.event.BeforeCreateEvent
 
BeforeDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted before an entity is deleted from the repository.
BeforeDeleteEvent(Object) - Constructor for class org.springframework.data.rest.core.event.BeforeDeleteEvent
 
BeforeLinkDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted before a link to a related object is deleted from the parent.
BeforeLinkDeleteEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.BeforeLinkDeleteEvent
 
BeforeLinkSaveEvent - Class in org.springframework.data.rest.core.event
Emitted before a linked object is saved to the repository.
BeforeLinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.BeforeLinkSaveEvent
 
BeforeSaveEvent - Class in org.springframework.data.rest.core.event
Emitted before an entity is saved into the repository.
BeforeSaveEvent(Object) - Constructor for class org.springframework.data.rest.core.event.BeforeSaveEvent
 

C

CollectionResourceMapping - Interface in org.springframework.data.rest.core.mapping
A custom resource mapping for collection resources.
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.UriToEntityConverter
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.util.UUIDConverter
 
createProjection(Object, Class<T>) - Method in interface org.springframework.data.rest.core.projection.ProjectionFactory
Creates a projection of the given type for the given source object.
createProjection(Object, Class<T>) - Method in class org.springframework.data.rest.core.projection.ProxyProjectionFactory
 
CrudMethod - Enum in org.springframework.data.rest.core.invoke
Represents one of the CRUD methods supported by PagingAndSortingRepository or CrudRepository.

D

DEFAULT_KEY_PREFIX - Static variable in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
DEFAULT_MEDIA_TYPE - Static variable in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultFor(String) - Static method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultFor(String, PersistentProperty<?>) - Static method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
defaultFor(String, Class<?>) - Static method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
DefaultRepositoryInvokerFactory - Class in org.springframework.data.rest.core.invoke
Default implementation of RepositoryInvokerFactory to inspect the requested repository type and create a matching RepositoryInvoker that suits the repository best.
DefaultRepositoryInvokerFactory(Repositories, ConversionService) - Constructor for class org.springframework.data.rest.core.invoke.DefaultRepositoryInvokerFactory
Description - Annotation Type in org.springframework.data.rest.core.annotation
Annotation to descibe semantics of a resource.
DomainObjectMerger - Class in org.springframework.data.rest.core.support
Component to be able to merge the first level of two objects.
DomainObjectMerger(Repositories, ConversionService) - Constructor for class org.springframework.data.rest.core.support.DomainObjectMerger
Creates a new DomainObjectMerger for the given Repositories and ConversionService.
DomainObjectMerger.NullHandlingPolicy - Enum in org.springframework.data.rest.core.support
Strategy to express whether null values should be ignored or set on the target domain object.

E

equals(Object) - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
 
equals(Object) - Method in class org.springframework.data.rest.core.Path
 
ExceptionEvent - Class in org.springframework.data.rest.core.event
An event to encapsulate an exception occurring anywhere within the REST exporter.
ExceptionEvent(Throwable) - Constructor for class org.springframework.data.rest.core.event.ExceptionEvent
 
exportsMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
exportsMappingFor(Class<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we have a ResourceMapping for the given type and it is exported.
exportsTopLevelResourceFor(String) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
exportsTopLevelResourceFor(String) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we export a top-level resource for the given path.
exposeIdsFor(Class<?>...) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the list of domain types for which we will expose the ID value as a normal property.
exposesDelete() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the delete method.
exposesFindAll() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the method to find all objects.
exposesFindOne() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the method to find a single object.
exposesSave() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the save method.

F

findExported(Class<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findExported(Method) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findPath(Class<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findPath(Method) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findRel(Class<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findRel(Method) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findRepositoryMappingForPath(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
 
findTypeForPath(String) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
formatRel(RepositoryRestConfiguration, RepositoryInformation, PersistentProperty<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
fromMethod(Method) - Static method in enum org.springframework.data.rest.core.invoke.CrudMethod
Get an enum from a Method.
Function<S,T> - Interface in org.springframework.data.rest.core.util
Simple function interface.

G

getArguments() - Method in class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
getArguments() - Method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
getBaseUri() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
getCodes() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
getCodes() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
getCollectionResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
getCollectionResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 
getConvertibleTypes() - Method in class org.springframework.data.rest.core.UriToEntityConverter
 
getConvertibleTypes() - Method in class org.springframework.data.rest.core.util.UUIDConverter
 
getDefaultMediaType() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the MediaType to use as a default when none is specified.
getDefaultMessage() - Method in class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
getDefaultMessage() - Method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
getDefaultPageSize() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the default size of Pageables.
getDescription() - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
Returns the description for the method parameter.
getDescription() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns the resource's description.
getDescription() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
getDomainType() - Method in class org.springframework.data.rest.core.mapping.MappingResourceMetadata
 
getDomainType() - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the domain type that is exposed through the resource.
getDomainTypesResourceMappingConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMappingConfiguration that is currently configured.
getErrors() - Method in exception org.springframework.data.rest.core.RepositoryConstraintViolationException
 
getException() - Method in class org.springframework.data.rest.core.event.ExceptionEvent
Get the source of this exception event.
getExcerptProjection() - Method in interface org.springframework.data.rest.core.mapping.CollectionResourceMapping
Returns the projection type to be used when embedding item resources into collections and related resources.
getFieldErrors() - Method in class org.springframework.data.rest.core.ValidationErrors
 
getFieldValue(String) - Method in class org.springframework.data.rest.core.ValidationErrors
 
getGlobalErrors() - Method in class org.springframework.data.rest.core.ValidationErrors
 
getInvokerFor(Class<?>) - Method in class org.springframework.data.rest.core.invoke.DefaultRepositoryInvokerFactory
 
getInvokerFor(Class<?>) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvokerFactory
Returns the RepositoryInvoker for a repository managing the given domain type.
getItemResourceDescription() - Method in interface org.springframework.data.rest.core.mapping.CollectionResourceMapping
Returns the ResourceDescription for the item resource.
getItemResourceRel() - Method in interface org.springframework.data.rest.core.mapping.CollectionResourceMapping
Returns the relation type pointing to the item resource within a collection.
getItemResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
getItemResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 
getLimitParamName() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates how many results to return at once.
getLinked() - Method in class org.springframework.data.rest.core.event.LinkSaveEvent
Get the linked object.
getMappedMethod(String) - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
Returns the method mapped to the given path.
getMappingFor(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.MappingResourceMetadata
 
getMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
getMappingFor(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
getMappingFor(Class<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns a ResourceMetadata for the given type if available.
getMappingFor(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the ResourceMapping for the given PersistentProperty or null if not managed.
getMaxPageSize() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the maximum size of pages.
getMessage() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
getMessage() - Method in interface org.springframework.data.rest.core.mapping.ResourceDescription
Returns the description.
getMessage() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
getMethod() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns the Method backing the resource.
getName() - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
Return sthe name of the method parameter.
getNameForPath(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getObjectName() - Method in class org.springframework.data.rest.core.ValidationErrors
 
getPageParamName() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates what page to return.
getParameterName() - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
getParameterName() - Method in interface org.springframework.data.rest.core.projection.ProjectionDefinitions
Returns the request parameter to be used to expose the projection to the web.
getParameterNames() - Method in class org.springframework.data.rest.core.mapping.ParametersMetadata
Returns all parameter names.
getParametersMetadata() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns ParameterMetadata instances for all named parameters.
getPath() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getPath() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns the path the resource is exposed under.
getPath() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
getProjectionsFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Returns all projections registered for the given source type.
getProjectionType(Class<?>, String) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
getProjectionType(Class<?>, String) - Method in interface org.springframework.data.rest.core.projection.ProjectionDefinitions
Returns the projection type for the given source type and name.
getRel() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getRel() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns the relation for the resource exported.
getRel() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
getResourceMapping(RepositoryRestConfiguration, RepositoryInformation) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
getResourceMapping(RepositoryRestConfiguration, PersistentEntity<?, ?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
getResourceMappingFor(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getResourceMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
getResourceMappingForDomainType(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMapping for a specific domain type.
getResourceMappingForRepository(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMapping for a specific repository interface.
getResourceMappings() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getSearchResourceMappings() - Method in class org.springframework.data.rest.core.mapping.MappingResourceMetadata
 
getSearchResourceMappings(Class<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
getSearchResourceMappings(Class<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns the ResourceMappings for the search resources of the given type.
getSearchResourceMappings() - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the SearchResourceMappings, i.e. the mappings for the search resource exposed for the current resource.
getSortParamName() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates what direction to sort results.
getTargetClass() - Method in interface org.springframework.data.rest.core.projection.ProxyProjectionFactory.TargetClassAware
 
getType() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
getType() - Method in interface org.springframework.data.rest.core.mapping.ResourceDescription
 
getType() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 

H

HandleAfterCreate - Annotation Type in org.springframework.data.rest.core.annotation
 
HandleAfterDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterDelete event.
HandleAfterLinkDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterLinkDelete event.
HandleAfterLinkSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterLinkSave event.
HandleAfterSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterSave event.
HandleBeforeCreate - Annotation Type in org.springframework.data.rest.core.annotation
 
HandleBeforeDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeDelete event.
HandleBeforeLinkDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeLinkDelete event.
HandleBeforeLinkSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeLinkSave event.
HandleBeforeSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeSave event.
hasDeleteMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to delete objects.
hasFindAllMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to find all objects.
hasFindOneMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to find a single object.
hashCode() - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
 
hashCode() - Method in class org.springframework.data.rest.core.Path
 
hasMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
hasMappingFor(Class<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we have a ResourceMapping for the given type.
hasProjectionFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
hasProjectionFor(Class<?>) - Method in interface org.springframework.data.rest.core.projection.ProjectionDefinitions
Returns whether we have a projection registered for the given source type.
hasResourceMappingFor(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
hasResourceMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
hasResourceMappingForDomainType(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether there is a ResourceMapping for the given domain type.
hasResourceMappingForRepository(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether there is a ResourceMapping configured for this Repository class.
hasSaveMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to save objects.
hasTextExceptSlash(CharSequence) - Static method in class org.springframework.data.rest.core.support.ResourceStringUtils
Checks whether the given input contains actual text (slash excluded).

I

INSTANCE - Static variable in class org.springframework.data.rest.core.util.UUIDConverter
 
invokeDelete(Serializable) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeFindAll(Pageable) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeFindAll(Sort) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeFindOne(Serializable) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeQueryMethod(Method, Map<String, String[]>, Pageable, Sort) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeSave(T) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
isDefault() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
isDefault() - Method in interface org.springframework.data.rest.core.mapping.ResourceDescription
Returns whether this is the default description.
isDefault() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
isExported() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
isExported(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.MappingResourceMetadata
 
isExported() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns whether the component shall be exported at all.
isExported(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns whether the given PersistentProperty is a managed resource and in fact exported.
isExported() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
isIdExposedFor(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Should we expose the ID property for this domain type?
isManagedResource(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.MappingResourceMetadata
 
isManagedResource(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns whether the type of the given PersistentProperty is exposed as resource itself.
isMapped(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
isPagingResource() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns whether the resource is paging one.
isPagingResource() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
isReturnBodyOnCreate() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether to return a response body after creating an entity.
isReturnBodyOnUpdate() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether to return a response body after updating an entity.
isSortableResource() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns whether the resource is sortable.
iterator() - Method in class org.springframework.data.rest.core.mapping.ParametersMetadata
 
iterator() - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
iterator() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 

L

LinkSaveEvent - Class in org.springframework.data.rest.core.event
Base class for RepositoryEvents that deal with saving/updating or deleting a linked object.
LinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.LinkSaveEvent
 

M

MappingResourceMetadata - Class in org.springframework.data.rest.core.mapping
MappingResourceMetadata(PersistentEntity<?, ?>) - Constructor for class org.springframework.data.rest.core.mapping.MappingResourceMetadata
Creates a new MappingResourceMetadata for the given PersistentEntity.
MapUtils - Class in org.springframework.data.rest.core.util
Helper methods to work with Maps.
MapUtils() - Constructor for class org.springframework.data.rest.core.util.MapUtils
 
matches(String) - Method in class org.springframework.data.rest.core.Path
Returns whether the given reference String matches the current Path.
matches(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.UriToEntityConverter
 
matches(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.util.UUIDConverter
 
merge(Object, Object, DomainObjectMerger.NullHandlingPolicy) - Method in class org.springframework.data.rest.core.support.DomainObjectMerger
Merges the given target object into the source one.
merge(Method, ResourceMapping) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
merge(Class<?>, ResourceMapping) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
MetadataConfiguration - Class in org.springframework.data.rest.core.config
Configuration for metadata exposure.
MetadataConfiguration() - Constructor for class org.springframework.data.rest.core.config.MetadataConfiguration
 
metadataConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns the MetadataConfiguration to customize metadata exposure.
MethodResourceMapping - Interface in org.springframework.data.rest.core.mapping
A ResourceMapping that is backed by a Method.
Methods - Class in org.springframework.data.rest.core.support
 

N

NAME_DISCOVERER - Static variable in class org.springframework.data.rest.core.support.Methods
 
None() - Constructor for class org.springframework.data.rest.core.annotation.RepositoryRestResource.None
 

O

omitUnresolvableDescriptionKeys() - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Returns whether to omit documentation attributes for unresolvable resource bundle keys.
onAfterCreate(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterCreate events.
onAfterCreate(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onAfterDelete(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterDelete events.
onAfterDelete(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onAfterLinkDelete(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterLinkDelete events.
onAfterLinkSave(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterLinkSave events.
onAfterLinkSave(Object, Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onAfterSave(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterSave events.
onAfterSave(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onApplicationEvent(RepositoryEvent) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
 
onApplicationEvent(RepositoryEvent) - Method in class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
onBeforeCreate(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeCreate events.
onBeforeCreate(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onBeforeDelete(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeDelete events.
onBeforeDelete(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onBeforeLinkDelete(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeLinkDelete events.
onBeforeLinkSave(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeLinkSave events.
onBeforeLinkSave(Object, Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onBeforeSave(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeSave events.
onBeforeSave(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
org.springframework.data.rest.core - package org.springframework.data.rest.core
 
org.springframework.data.rest.core.annotation - package org.springframework.data.rest.core.annotation
 
org.springframework.data.rest.core.config - package org.springframework.data.rest.core.config
 
org.springframework.data.rest.core.event - package org.springframework.data.rest.core.event
 
org.springframework.data.rest.core.invoke - package org.springframework.data.rest.core.invoke
 
org.springframework.data.rest.core.mapping - package org.springframework.data.rest.core.mapping
 
org.springframework.data.rest.core.projection - package org.springframework.data.rest.core.projection
 
org.springframework.data.rest.core.support - package org.springframework.data.rest.core.support
 
org.springframework.data.rest.core.util - package org.springframework.data.rest.core.util
 

P

ParameterMetadata - Class in org.springframework.data.rest.core.mapping
Value object to capture metadata for query method parameters.
ParameterMetadata(MethodParameter, String) - Constructor for class org.springframework.data.rest.core.mapping.ParameterMetadata
Creates a new ParameterMetadata for the given MethodParameter and base rel.
ParametersMetadata - Class in org.springframework.data.rest.core.mapping
Value object for a list of ParameterMetadata instances.
Path - Class in org.springframework.data.rest.core
Simple value object to build up (URI) paths.
Path(String) - Constructor for class org.springframework.data.rest.core.Path
Creates a new Path from the given String.
postProcessAfterInitialization(Object, String) - Method in class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
postProcessBeforeInitialization(Object, String) - Method in class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
Projection - Annotation Type in org.springframework.data.rest.core.config
Annotation to tie a particular projection type to a source type.
projectionConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns the ProjectionDefinitionConfiguration to register addition projections.
ProjectionDefinitionConfiguration - Class in org.springframework.data.rest.core.config
Wrapper class to register projection definitions for later lookup by name and source type.
ProjectionDefinitionConfiguration() - Constructor for class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
ProjectionDefinitions - Interface in org.springframework.data.rest.core.projection
Interface to allow the lookup of a projection interface by source type and name.
ProjectionFactory - Interface in org.springframework.data.rest.core.projection
A factory to create projecting instances for other objects usually used to allow easy creation of representation projections to define which properties of a domain objects shall be exported in which way.
ProxyProjectionFactory - Class in org.springframework.data.rest.core.projection
A ProjectionFactory to create JDK proxies to back interfaces and handle method invocations on them.
ProxyProjectionFactory(BeanFactory) - Constructor for class org.springframework.data.rest.core.projection.ProxyProjectionFactory
Creates a new ProxyProjectionFactory using the given BeanFactory.
ProxyProjectionFactory.TargetClassAware - Interface in org.springframework.data.rest.core.projection
Extension of TargetClassAware to be able to ignore the getter on JSON rendering.

R

reject(String, Object[], String) - Method in class org.springframework.data.rest.core.ValidationErrors
 
rejectValue(String, String, Object[], String) - Method in class org.springframework.data.rest.core.ValidationErrors
 
removeLeadingSlash(String) - Static method in class org.springframework.data.rest.core.support.ResourceStringUtils
Returns a string without the leading slash, if any.
RepositoryConstraintViolationException - Exception in org.springframework.data.rest.core
Exception that is thrown when a Spring Validator throws an error.
RepositoryConstraintViolationException(Errors) - Constructor for exception org.springframework.data.rest.core.RepositoryConstraintViolationException
 
RepositoryEvent - Class in org.springframework.data.rest.core.event
Abstract base class for events emitted by the REST exporter.
RepositoryEvent(Object) - Constructor for class org.springframework.data.rest.core.event.RepositoryEvent
 
RepositoryEventHandler - Annotation Type in org.springframework.data.rest.core.annotation
Advertises classes annotated with this that they are event handlers.
RepositoryInvocationInformation - Interface in org.springframework.data.rest.core.invoke
Meta-information about the methods a repository exposes.
RepositoryInvoker - Interface in org.springframework.data.rest.core.invoke
 
RepositoryInvokerFactory - Interface in org.springframework.data.rest.core.invoke
Interface for a factory to create RepositoryInvoker instances for repositories managing a particular domain type.
RepositoryRelProvider - Class in org.springframework.data.rest.core.support
A RelProvider based on the ResourceMappings for the registered repositories.
RepositoryRelProvider(ObjectFactory<ResourceMappings>) - Constructor for class org.springframework.data.rest.core.support.RepositoryRelProvider
Creates a new RepositoryRelProvider for the given ResourceMappings.
RepositoryResourceMappings - Class in org.springframework.data.rest.core.mapping
Central abstraction obtain ResourceMetadata and ResourceMapping instances for domain types and repositories.
RepositoryResourceMappings(RepositoryRestConfiguration, Repositories) - Constructor for class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
RepositoryResourceMappings(RepositoryRestConfiguration, Repositories, RelProvider) - Constructor for class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
Creates a new RepositoryResourceMappings from the given RepositoryRestConfiguration, Repositories and RelProvider.
RepositoryRestConfiguration - Class in org.springframework.data.rest.core.config
 
RepositoryRestConfiguration() - Constructor for class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Creates a new default RepositoryRestConfiguration.
RepositoryRestConfiguration(ProjectionDefinitionConfiguration, MetadataConfiguration) - Constructor for class org.springframework.data.rest.core.config.RepositoryRestConfiguration
RepositoryRestResource - Annotation Type in org.springframework.data.rest.core.annotation
Annotate a Repository with this to customize export mapping and rels.
RepositoryRestResource.None - Class in org.springframework.data.rest.core.annotation
 
ResolvableResourceDescriptionSupport - Class in org.springframework.data.rest.core.mapping
Adapter class for the MessageSourceResolvable part of a ResourceDescription.
ResolvableResourceDescriptionSupport() - Constructor for class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
ResourceDescription - Interface in org.springframework.data.rest.core.mapping
A description of a resource.
ResourceMapping - Class in org.springframework.data.rest.core.config
Deprecated.
ResourceMapping() - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping(Class<?>) - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping(String, String) - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping(String, String, boolean) - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping - Interface in org.springframework.data.rest.core.mapping
Mapping information for components to be exported as REST resources.
ResourceMappingConfiguration - Class in org.springframework.data.rest.core.config
Manages the ResourceMapping configurations for any resources being exported.
ResourceMappingConfiguration() - Constructor for class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
ResourceMappings - Interface in org.springframework.data.rest.core.mapping
 
ResourceMappingUtils - Class in org.springframework.data.rest.core.support
Deprecated.
ResourceMappingUtils() - Constructor for class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
ResourceMetadata - Interface in org.springframework.data.rest.core.mapping
Interface for metadata of resources exposed throught the system.
ResourceStringUtils - Class in org.springframework.data.rest.core.support
Helper methods aiming at handling String representations of resources.
ResourceStringUtils() - Constructor for class org.springframework.data.rest.core.support.ResourceStringUtils
 
RestResource - Annotation Type in org.springframework.data.rest.core.annotation
Annotate a Repository with this to influence how it is exported and what the value of the rel attribute will be in links.

S

SearchResourceMappings - Class in org.springframework.data.rest.core.mapping
ResourceMapping for all search resources.
SearchResourceMappings(List<MethodResourceMapping>) - Constructor for class org.springframework.data.rest.core.mapping.SearchResourceMappings
Creates a new SearchResourceMappings from the given
setAlpsEnabled(boolean) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Configures whether to expose the ALPS resources.
setBaseUri(URI) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
setBaseUri(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
setDefaultMediaType(MediaType) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the MediaType to use as a default when none is specified.
setDefaultPageSize(int) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the default size of Pageables.
setExported(boolean) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
setLimitParamName(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates how many results to return at once.
setMaxPageSize(int) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the maximum size of pages.
setOmitUnresolvableDescriptionKeys(boolean) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Configures whether to omit documentation attributes for unresolvable resource bundle keys.
setPageParamName(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates what page to return.
setParameterName(String) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Configures the request parameter name to be used to accept the projection name to be returned.
setPath(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
setRel(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
setResourceMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
setResourceMappingForDomainType(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Start configuration a ResourceMapping for a specific domain type.
setResourceMappingForRepository(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Start configuration a ResourceMapping for a specific repository interface.
setReturnBodyOnCreate(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set whether to return a response body after creating an entity.
setReturnBodyOnUpdate(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Sets whether to return a response body after updating an entity.
setSortParamName(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates what direction to sort results.
setValidators(Map<String, Collection<Validator>>) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Assign a Map of Validators that are assigned to the various RepositoryEvents.
SimpleRelProvider - Class in org.springframework.data.rest.core.support
 
SimpleRelProvider() - Constructor for class org.springframework.data.rest.core.support.SimpleRelProvider
 
SimpleResourceDescription - Class in org.springframework.data.rest.core.mapping
 
SimpleResourceDescription(String, MediaType) - Constructor for class org.springframework.data.rest.core.mapping.SimpleResourceDescription
Creates a new SimpleResourceDescription with the given message and MediaType.
slash(String) - Method in class org.springframework.data.rest.core.Path
Appends the given String to the current Path.
slash(Path) - Method in class org.springframework.data.rest.core.Path
 
supports(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
supports(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 

T

toMap(MultiValueMap<K, V>) - Static method in class org.springframework.data.rest.core.util.MapUtils
Turns a MultiValueMap into its Map equivalent.
toMethodName() - Method in enum org.springframework.data.rest.core.invoke.CrudMethod
Turn this enum into a method name.
toString() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
toString() - Method in class org.springframework.data.rest.core.Path
 
TypedResourceDescription - Class in org.springframework.data.rest.core.mapping
SimpleResourceDescription that additionally captures a type to be able to potentially create a reasonable default message.

U

UriToEntityConverter - Class in org.springframework.data.rest.core
A GenericConverter that can convert a URI domain entity.
UriToEntityConverter(PersistentEntities, ConversionService) - Constructor for class org.springframework.data.rest.core.UriToEntityConverter
useHalAsDefaultJsonMediaType() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns whether HAL will be served as primary representation in case on application/json is requested.
useHalAsDefaultJsonMediaType(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Configures whether HAL will be served as primary representation in case on application/json is requested.
USER_METHODS - Static variable in class org.springframework.data.rest.core.support.Methods
 
UUIDConverter - Class in org.springframework.data.rest.core.util
For converting a UUID into a String.
UUIDConverter() - Constructor for class org.springframework.data.rest.core.util.UUIDConverter
 

V

ValidatingRepositoryEventListener - Class in org.springframework.data.rest.core.event
ApplicationListener implementation that dispatches RepositoryEvents to a specific Validator.
ValidatingRepositoryEventListener(ObjectFactory<Repositories>) - Constructor for class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Creates a new ValidatingRepositoryEventListener using the given repositories.
ValidationErrors - Class in org.springframework.data.rest.core
An Errors implementation for use in the events mechanism of Spring Data REST.
ValidationErrors(String, Object, PersistentEntity<?, ?>) - Constructor for class org.springframework.data.rest.core.ValidationErrors
 
valueOf(String) - Static method in enum org.springframework.data.rest.core.invoke.CrudMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.rest.core.support.DomainObjectMerger.NullHandlingPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.data.rest.core.invoke.CrudMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.rest.core.support.DomainObjectMerger.NullHandlingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P R S T U V 
Skip navigation links
Spring Data REST - Core

Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.