@RepositoryRestController @RequestMapping(value="/{repository}") public class RepositoryEntityController extends BaseController
Response.ResourceConverterID_URI, logger, request| 构造器和说明 |
|---|
RepositoryEntityController() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
batchDestroy(RootResourceInformation resourceInformation,
java.lang.String... id) |
java.lang.Object |
create(RootResourceInformation resourceInformation,
PersistentEntityResource resource) |
java.lang.Object |
destroy(RootResourceInformation resourceInformation,
java.lang.String id) |
java.lang.Object |
index(RootResourceInformation resourceInformation,
org.springframework.data.domain.Pageable pageable,
boolean all) |
java.lang.Object |
searchMethod(RootResourceInformation resourceInformation,
org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object> parameters,
java.lang.String search,
org.springframework.data.domain.Pageable pageable) |
java.lang.Object |
show(RootResourceInformation resourceInformation,
java.lang.String id) |
java.lang.Object |
update(RootResourceInformation resourceInformation,
PersistentEntityResource resource,
java.lang.String id,
ETag eTag) |
getDefaultPageable, getDefaultPageable, getDeviceInfo, getRealPath, getText, getTextDefaultNull, getUserAgent, linkcreated, getBaseLinkBuilder, getId, getId, getPersistentEntity, noContent, ok, ok, updated@RequestMapping(value="/search/{search}",
method=GET)
public java.lang.Object searchMethod(RootResourceInformation resourceInformation,
@RequestParam
org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object> parameters,
@PathVariable
java.lang.String search,
org.springframework.data.domain.Pageable pageable)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException@RequestMapping(method=GET) public java.lang.Object index(RootResourceInformation resourceInformation, org.springframework.data.domain.Pageable pageable, boolean all)
@RequestMapping(value="/{id}",
method=GET)
public java.lang.Object show(RootResourceInformation resourceInformation,
@PathVariable
java.lang.String id)
@RequestMapping(method=POST) public java.lang.Object create(RootResourceInformation resourceInformation, PersistentEntityResource resource)
@RequestMapping(value="/{id}",
method=PUT)
public java.lang.Object update(RootResourceInformation resourceInformation,
PersistentEntityResource resource,
@PathVariable
java.lang.String id,
ETag eTag)
@RequestMapping(value="/{id}",
method=DELETE)
public java.lang.Object destroy(RootResourceInformation resourceInformation,
@PathVariable
java.lang.String id)
@RequestMapping(method=DELETE) public java.lang.Object batchDestroy(RootResourceInformation resourceInformation, java.lang.String... id) throws java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.InstantiationException