intenttemplates

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImpIntentTemplateEntityCache added in v0.1.2

type ImpIntentTemplateEntityCache struct {
	markup.Component `id:"IntentTemplateEntityCache"`

	DAO dao.IntentTemplateDAO `inject:"#IntentTemplateDAO"`
}

ImpIntentTemplateEntityCache ...

func (*ImpIntentTemplateEntityCache) ListTemplates added in v0.1.2

func (inst *ImpIntentTemplateEntityCache) ListTemplates() ([]*entity.IntentTemplate, error)

ListTemplates ...

type IntentTemplateController

type IntentTemplateController struct {
	markup.RestController `class:"rest-controller"`

	IntentTemplateService service.IntentTemplateService `inject:"#IntentTemplateService"`
	Responder             glass.MainResponder           `inject:"#glass-main-responder"`
}

IntentTemplateController IntentTemplate 控制器

func (*IntentTemplateController) Init

Init 初始化

type IntentTemplateDaoImpl

type IntentTemplateDaoImpl struct {
	markup.Component `id:"IntentTemplateDAO"`

	Agent          dbagent.GormDBAgent    `inject:"#GormDBAgent"`
	TrashService   service.TrashService   `inject:"#TrashService"`
	UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"`
}

IntentTemplateDaoImpl ...

func (*IntentTemplateDaoImpl) Find

Find ...

func (*IntentTemplateDaoImpl) Insert

Insert ...

func (*IntentTemplateDaoImpl) ListAll

func (inst *IntentTemplateDaoImpl) ListAll() ([]*entity.IntentTemplate, error)

ListAll ...

func (*IntentTemplateDaoImpl) ListBySelector added in v0.1.1

func (inst *IntentTemplateDaoImpl) ListBySelector(sel *entity.IntentTemplate) ([]*entity.IntentTemplate, error)

ListBySelector ...

func (*IntentTemplateDaoImpl) Remove

Remove ...

func (*IntentTemplateDaoImpl) Update

Update ...

type IntentTemplateServiceImpl

type IntentTemplateServiceImpl struct {
	markup.Component `id:"IntentTemplateService"`

	AC                  application.Context               `inject:"context"`
	IntentTempDAO       dao.IntentTemplateDAO             `inject:"#IntentTemplateDAO"`
	IntentFilterManager intents.FilterManager             `inject:"#wpm-intent-filter-manager"`
	PresetService       service.PresetService             `inject:"#PresetService"`
	TemplateCache       service.IntentTemplateEntityCache `inject:"#IntentTemplateEntityCache"`
}

IntentTemplateServiceImpl ...

func (*IntentTemplateServiceImpl) Find

Find ...

func (*IntentTemplateServiceImpl) ImportPreset

func (inst *IntentTemplateServiceImpl) ImportPreset(ctx context.Context) error

ImportPreset ...

func (*IntentTemplateServiceImpl) Insert

Insert ...

func (*IntentTemplateServiceImpl) ListAll

ListAll ...

func (*IntentTemplateServiceImpl) ListBySelector added in v0.1.1

func (inst *IntentTemplateServiceImpl) ListBySelector(ctx context.Context, sel *dto.IntentTemplate) ([]*dto.IntentTemplate, error)

ListBySelector ...

func (*IntentTemplateServiceImpl) ListMacroProperties

func (inst *IntentTemplateServiceImpl) ListMacroProperties(ctx context.Context) (map[string]string, error)

ListMacroProperties ...

func (*IntentTemplateServiceImpl) Remove

Remove ...

func (*IntentTemplateServiceImpl) Update

Update ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL