public class EntityContext
extends java.lang.Object
Constructor and Description |
---|
EntityContext(com.fasterxml.classmate.TypeResolver typeResolver,
org.springframework.data.rest.core.config.RepositoryRestConfiguration configuration,
org.springframework.data.repository.core.RepositoryInformation repository,
java.lang.Object repositoryInstance,
org.springframework.data.rest.core.mapping.ResourceMetadata resource,
org.springframework.data.rest.core.mapping.ResourceMappings mappings,
org.springframework.data.mapping.context.PersistentEntities entities,
org.springframework.data.rest.webmvc.mapping.Associations associations,
RequestHandlerExtractorConfiguration extractorConfiguration) |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
basePath() |
org.springframework.data.repository.core.CrudMethods |
crudMethods() |
org.springframework.data.mapping.PersistentEntity<?,?> |
entity() |
java.util.Collection<EntityAssociationOperationsExtractor> |
getAssociationExtractors() |
org.springframework.data.rest.webmvc.mapping.Associations |
getAssociations() |
org.springframework.data.rest.core.config.RepositoryRestConfiguration |
getConfiguration() |
java.lang.String |
getName() |
java.lang.Object |
getRepositoryInstance() |
org.springframework.data.repository.core.RepositoryMetadata |
getRepositoryMetadata() |
com.fasterxml.classmate.TypeResolver |
getTypeResolver() |
org.springframework.data.rest.core.Path |
resourcePath() |
org.springframework.data.rest.core.mapping.SearchResourceMappings |
searchMappings() |
public EntityContext(com.fasterxml.classmate.TypeResolver typeResolver, org.springframework.data.rest.core.config.RepositoryRestConfiguration configuration, org.springframework.data.repository.core.RepositoryInformation repository, java.lang.Object repositoryInstance, org.springframework.data.rest.core.mapping.ResourceMetadata resource, org.springframework.data.rest.core.mapping.ResourceMappings mappings, org.springframework.data.mapping.context.PersistentEntities entities, org.springframework.data.rest.webmvc.mapping.Associations associations, RequestHandlerExtractorConfiguration extractorConfiguration)
public java.lang.String getName()
public org.springframework.data.mapping.PersistentEntity<?,?> entity()
public org.springframework.data.repository.core.CrudMethods crudMethods()
public java.lang.Object getRepositoryInstance()
public java.net.URI basePath()
public org.springframework.data.rest.core.Path resourcePath()
public com.fasterxml.classmate.TypeResolver getTypeResolver()
public org.springframework.data.repository.core.RepositoryMetadata getRepositoryMetadata()
public org.springframework.data.rest.core.config.RepositoryRestConfiguration getConfiguration()
public org.springframework.data.rest.core.mapping.SearchResourceMappings searchMappings()
public org.springframework.data.rest.webmvc.mapping.Associations getAssociations()
public java.util.Collection<EntityAssociationOperationsExtractor> getAssociationExtractors()