Interface ProjectionReferencedApi<P>
- Type Parameters:
P
- The projection type
public interface ProjectionReferencedApi<P>
Marker interface for service API rest controller components. Generally used in combination with
the
EnableJpaTrackableFlows
annotations. Implementing a custom rest controller with this
interface will cause the system to back off and not try to dynamically generate an endpoint class
for the Trackable flow.- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(jakarta.servlet.http.HttpServletRequest request, ContextInfo context, P req) void
delete
(jakarta.servlet.http.HttpServletRequest request, ContextInfo context, String id) org.springframework.data.domain.Page<P>
readAll
(jakarta.servlet.http.HttpServletRequest request, ContextInfo context, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) readById
(jakarta.servlet.http.HttpServletRequest request, ContextInfo context, String id) replace
(jakarta.servlet.http.HttpServletRequest request, ContextInfo context, String id, P req) update
(jakarta.servlet.http.HttpServletRequest request, ContextInfo context, String id, P req)
-
Method Details
-
readAll
org.springframework.data.domain.Page<P> readAll(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(READ) ContextInfo context, @PageableDefault(size=50) org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) -
create
P create(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(CREATE) ContextInfo context, @RequestBody P req) -
readById
P readById(jakarta.servlet.http.HttpServletRequest request, @ContextOperation ContextInfo context, @PathVariable("id") String id) -
update
P update(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(UPDATE) ContextInfo context, @PathVariable("id") String id, @RequestBody P req) -
replace
P replace(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(UPDATE) ContextInfo context, @PathVariable("id") String id, @RequestBody P req) -
delete
void delete(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(DELETE) ContextInfo context, @PathVariable("id") String id)
-