Class ThreadEmotionRestController
java.lang.Object
com.bytedesk.core.base.BaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
com.bytedesk.service.thread_emotion.ThreadEmotionRestController
@RestController
@RequestMapping("/api/v1/thread/emotion")
@Description("Thread Emotion Controller - Conversation emotion generation and management APIs")
public class ThreadEmotionRestController
extends BaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>autoSummary(ThreadEmotionRequest request) org.springframework.http.ResponseEntity<?>create(ThreadEmotionRequest request) 通用的create实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>delete(ThreadEmotionRequest request) 通用的delete实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法export(ThreadEmotionRequest request, jakarta.servlet.http.HttpServletResponse response) exportorg.springframework.http.ResponseEntity<?>queryByOrg(ThreadEmotionRequest request) 通用的queryByOrg实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>queryByThreadUid(ThreadEmotionRequest request) org.springframework.http.ResponseEntity<?>queryByUid(ThreadEmotionRequest request) 通用的queryByUid实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>queryByUser(ThreadEmotionRequest request) 通用的queryByUser实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法org.springframework.http.ResponseEntity<?>update(ThreadEmotionRequest request) 通用的update实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法Methods inherited from class com.bytedesk.core.base.BaseRestController
deleteByOrgUid, exportTemplate, getService
-
Field Details
-
threadEmotionRestService
-
-
Constructor Details
-
ThreadEmotionRestController
public ThreadEmotionRestController()
-
-
Method Details
-
queryByOrg
Description copied from class:BaseRestController通用的queryByOrg实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
queryByOrgin classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
queryByUser
Description copied from class:BaseRestController通用的queryByUser实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
queryByUserin classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
queryByUid
Description copied from class:BaseRestController通用的queryByUid实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
queryByUidin classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
queryByThreadUid
@GetMapping("/query/thread/uid") public org.springframework.http.ResponseEntity<?> queryByThreadUid(ThreadEmotionRequest request) -
create
Description copied from class:BaseRestController通用的create实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
createin classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
update
Description copied from class:BaseRestController通用的update实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
updatein classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
delete
Description copied from class:BaseRestController通用的delete实现 减少子类重复代码 注意:由于泛型擦除,需要使用PageableRequest.class来查找方法- Overrides:
deletein classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService>
-
export
public Object export(ThreadEmotionRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from class:BaseRestControllerexport- Overrides:
exportin classBaseRestController<ThreadEmotionRequest,ThreadEmotionRestService> - Parameters:
request- role- Returns:
- json
-
autoSummary
@PostMapping("/auto") public org.springframework.http.ResponseEntity<?> autoSummary(@RequestBody ThreadEmotionRequest request)
-