Package com.bytedesk.voc.comment
Class VocCommentRestController
java.lang.Object
com.bytedesk.core.base.BaseRestController<VocCommentRequest,VocCommentRestService>
com.bytedesk.voc.comment.VocCommentRestController
@RestController
@RequestMapping("/api/v1/voc/comment")
@Description("VocComment Management Controller - Content tag and categorization APIs")
public class VocCommentRestController
extends BaseRestController<VocCommentRequest,VocCommentRestService>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>create(VocCommentRequest request) 通用的create实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>delete(VocCommentRequest request) 通用的delete实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法export(VocCommentRequest request, jakarta.servlet.http.HttpServletResponse response) exportorg.springframework.http.ResponseEntity<?>queryByOrg(VocCommentRequest request) 通用的queryByOrg实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>queryByUid(VocCommentRequest request) 通用的queryByUid实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>queryByUser(VocCommentRequest request) 通用的queryByUser实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>update(VocCommentRequest request) 通用的update实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法Methods inherited from class com.bytedesk.core.base.BaseRestController
deleteByOrgUid, exportTemplate, getService
-
Field Details
-
commentRestService
-
-
Constructor Details
-
VocCommentRestController
public VocCommentRestController()
-
-
Method Details
-
queryByOrg
@ActionAnnotation(title="comment", action="\u7ec4\u7ec7\u67e5\u8be2", description="query comment by org") public org.springframework.http.ResponseEntity<?> queryByOrg(VocCommentRequest request) Description copied from class:BaseRestController通用的queryByOrg实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
queryByOrgin classBaseRestController<VocCommentRequest,VocCommentRestService>
-
queryByUser
@ActionAnnotation(title="comment", action="\u7528\u6237\u67e5\u8be2", description="query comment by user") public org.springframework.http.ResponseEntity<?> queryByUser(VocCommentRequest request) Description copied from class:BaseRestController通用的queryByUser实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
queryByUserin classBaseRestController<VocCommentRequest,VocCommentRestService>
-
queryByUid
@ActionAnnotation(title="comment", action="\u67e5\u8be2\u8be6\u60c5", description="query comment by uid") public org.springframework.http.ResponseEntity<?> queryByUid(VocCommentRequest request) Description copied from class:BaseRestController通用的queryByUid实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
queryByUidin classBaseRestController<VocCommentRequest,VocCommentRestService>
-
create
@ActionAnnotation(title="comment", action="\u65b0\u5efa", description="create comment") public org.springframework.http.ResponseEntity<?> create(VocCommentRequest request) Description copied from class:BaseRestController通用的create实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
createin classBaseRestController<VocCommentRequest,VocCommentRestService>
-
update
@ActionAnnotation(title="comment", action="\u66f4\u65b0", description="update comment") public org.springframework.http.ResponseEntity<?> update(VocCommentRequest request) Description copied from class:BaseRestController通用的update实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
updatein classBaseRestController<VocCommentRequest,VocCommentRestService>
-
delete
@ActionAnnotation(title="comment", action="\u5220\u9664", description="delete comment") public org.springframework.http.ResponseEntity<?> delete(VocCommentRequest request) Description copied from class:BaseRestController通用的delete实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
deletein classBaseRestController<VocCommentRequest,VocCommentRestService>
-
export
@ActionAnnotation(title="comment", action="\u5bfc\u51fa", description="export comment") @GetMapping("/export") public Object export(VocCommentRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from class:BaseRestControllerexport- Overrides:
exportin classBaseRestController<VocCommentRequest,VocCommentRestService> - Parameters:
request- role- Returns:
- json
-