Example usage for Java org.springframework.data.rest.core.config RepositoryRestConfiguration fields, constructors, methods, implement or subclass
The text is from its open source code.
List | exposeIdsFor |
RepositoryRestConfiguration(ProjectionDefinitionConfiguration projectionConfiguration, MetadataConfiguration metadataConfiguration, EnumTranslationConfiguration enumTranslationConfiguration) Creates a new RepositoryRestConfiguration with the given ProjectionDefinitionConfiguration . |
URI | getBaseUri() The base URI against which the exporter should calculate its links. |
RepositoryRestConfiguration | setBasePath(String basePath) Configures the base path to be used by Spring Data REST to expose repository resources. |
RepositoryRestConfiguration | setDefaultPageSize(int defaultPageSize) Set the default size of org.springframework.data.domain.Pageable s. |
RepositoryRestConfiguration | setLimitParamName(String limitParamName) Set the name of the URL query string parameter that indicates how many results to return at once. |
RepositoryRestConfiguration | setMaxPageSize(int maxPageSize) Set the maximum size of pages. |
RepositoryRestConfiguration | setPageParamName(String pageParamName) Set the name of the URL query string parameter that indicates what page to return. |
ResourceMapping | setResourceMappingForDomainType(Class> domainType) Start configuration a ResourceMapping for a specific domain type. |
ResourceMapping | setResourceMappingForRepository(Class> repositoryInterface) Start configuration a ResourceMapping for a specific repository interface. |
RepositoryRestConfiguration | setReturnBodyOnCreate(Boolean returnBody) Set whether to return a response body after creating an entity. |
RepositoryRestConfiguration | setReturnBodyOnUpdate(Boolean returnBodyOnUpdate) Set whether to return a response body after updating an entity. |
RepositoryRestConfiguration | setSortParamName(String sortParamName) Set the name of the URL query string parameter that indicates what direction to sort results. |
EntityLookupRegistrar | withEntityLookup() Returns the EntityLookupRegistrar to create custom EntityLookup instances registered in the configuration. |