Uses of Class
com.bytedesk.ai.robot_settings.RobotSettingsEntity
Packages that use RobotSettingsEntity
Package
Description
Robot package contains classes for managing AI robots/agents.
-
Uses of RobotSettingsEntity in com.bytedesk.ai.robot
Fields in com.bytedesk.ai.robot declared as RobotSettingsEntityModifier and TypeFieldDescriptionprivate RobotSettingsEntityRobotEntity.settingsConfiguration settings reference All settings are managed through the settings entity -
Uses of RobotSettingsEntity in com.bytedesk.ai.robot_settings
Methods in com.bytedesk.ai.robot_settings that return RobotSettingsEntityModifier and TypeMethodDescriptionprotected RobotSettingsEntityRobotSettingsRestService.doSave(RobotSettingsEntity entity) RobotSettingsRestService.getOrCreateDefault(String orgUid) Get or create default settings for organizationRobotSettingsRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, RobotSettingsEntity entity) Methods in com.bytedesk.ai.robot_settings that return types with arguments of type RobotSettingsEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<RobotSettingsEntity>RobotSettingsRestService.createSpecification(RobotSettingsRequest request) protected org.springframework.data.domain.Page<RobotSettingsEntity>RobotSettingsRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<RobotSettingsEntity> spec, org.springframework.data.domain.Pageable pageable) RobotSettingsRepository.findByOrgUid(String orgUid) RobotSettingsRepository.findByOrgUidAndEnabledTrue(String orgUid) RobotSettingsRepository.findByOrgUidAndIsDefaultTrue(String orgUid) RobotSettingsRepository.findDefaultForUpdate(String orgUid) 使用悲观锁读取默认配置,防止并发下出现多个默认static org.springframework.data.jpa.domain.Specification<RobotSettingsEntity>RobotSettingsSpecification.search(RobotSettingsRequest request, AuthService authService) Methods in com.bytedesk.ai.robot_settings with parameters of type RobotSettingsEntityModifier and TypeMethodDescriptionRobotSettingsRestService.convertToResponse(RobotSettingsEntity entity) protected RobotSettingsEntityRobotSettingsRestService.doSave(RobotSettingsEntity entity) private voidRobotSettingsRestService.ensureSingleDefault(String orgUid, RobotSettingsEntity target) 保证同一个 orgUid 下仅有一个 isDefault=true。RobotSettingsRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, RobotSettingsEntity entity) voidRobotSettingsEntityListener.onPostPersist(RobotSettingsEntity robotSettings) voidRobotSettingsEntityListener.onPostUpdate(RobotSettingsEntity robotSettings) Method parameters in com.bytedesk.ai.robot_settings with type arguments of type RobotSettingsEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<RobotSettingsEntity>RobotSettingsRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<RobotSettingsEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of RobotSettingsEntity in com.bytedesk.ai.robot_settings.event
Fields in com.bytedesk.ai.robot_settings.event declared as RobotSettingsEntityModifier and TypeFieldDescriptionprivate final RobotSettingsEntityRobotSettingsCreateEvent.robotSettingsprivate final RobotSettingsEntityRobotSettingsUpdateEvent.robotSettingsMethods in com.bytedesk.ai.robot_settings.event that return RobotSettingsEntityModifier and TypeMethodDescriptionRobotSettingsCreateEvent.getRobotSettings()RobotSettingsUpdateEvent.getRobotSettings()Constructors in com.bytedesk.ai.robot_settings.event with parameters of type RobotSettingsEntityModifierConstructorDescriptionRobotSettingsCreateEvent(Object source, RobotSettingsEntity robotSettings) RobotSettingsUpdateEvent(Object source, RobotSettingsEntity robotSettings)