impldao

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleDaoImpl

type ExampleDaoImpl struct {
	markup.Component `id:"ExampleDAO"`

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

ExampleDaoImpl ...

func (*ExampleDaoImpl) Find

func (inst *ExampleDaoImpl) Find(id dxo.ExampleID) (*entity.Example, error)

Find ...

func (*ExampleDaoImpl) Insert

func (inst *ExampleDaoImpl) Insert(o *entity.Example) (*entity.Example, error)

Insert ...

func (*ExampleDaoImpl) ListAll

func (inst *ExampleDaoImpl) ListAll() ([]*entity.Example, error)

ListAll ...

func (*ExampleDaoImpl) Remove

func (inst *ExampleDaoImpl) Remove(id dxo.ExampleID) error

Remove ...

func (*ExampleDaoImpl) Update

func (inst *ExampleDaoImpl) Update(id dxo.ExampleID, o *entity.Example) (*entity.Example, error)

Update ....

type ExecutableDaoImpl

type ExecutableDaoImpl struct {
	markup.Component `id:"ExecutableDAO"`

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

ExecutableDaoImpl ...

func (*ExecutableDaoImpl) Find

Find ...

func (*ExecutableDaoImpl) FindByPath

func (inst *ExecutableDaoImpl) FindByPath(path string) (*entity.Executable, error)

FindByPath ...

func (*ExecutableDaoImpl) Insert

Insert ...

func (*ExecutableDaoImpl) ListAll

func (inst *ExecutableDaoImpl) ListAll() ([]*entity.Executable, error)

ListAll ...

func (*ExecutableDaoImpl) Remove

func (inst *ExecutableDaoImpl) Remove(id dxo.ExecutableID) error

Remove ...

func (*ExecutableDaoImpl) Update

Update ...

type GormDBAgent

type GormDBAgent interface {
	DB() *gorm.DB
}

GormDBAgent ...

type GormDBAgentImpl

type GormDBAgentImpl struct {
	markup.Component `id:"GormDBAgent" class:"life"`

	Sources datasource.SourceManager `inject:"#starter-gorm-source-manager"`
	// contains filtered or unexported fields
}

GormDBAgentImpl ...

func (*GormDBAgentImpl) DB

func (inst *GormDBAgentImpl) DB() *gorm.DB

DB ...

func (*GormDBAgentImpl) GetLifeRegistration

func (inst *GormDBAgentImpl) GetLifeRegistration() *application.LifeRegistration

GetLifeRegistration ...

type IntentTemplateDaoImpl

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

	Agent          GormDBAgent            `inject:"#GormDBAgent"`
	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) Remove

Remove ...

func (*IntentTemplateDaoImpl) Update

Update ...

type MediaDaoImpl

type MediaDaoImpl struct {
	markup.Component `id:"MediaDAO"`

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

MediaDaoImpl ...

func (*MediaDaoImpl) Find

func (inst *MediaDaoImpl) Find(id dxo.MediaID) (*entity.Media, error)

Find ...

func (*MediaDaoImpl) FindByPath

func (inst *MediaDaoImpl) FindByPath(path string) (*entity.Media, error)

FindByPath ...

func (*MediaDaoImpl) Insert

func (inst *MediaDaoImpl) Insert(o *entity.Media) (*entity.Media, error)

Insert ...

func (*MediaDaoImpl) ListAll

func (inst *MediaDaoImpl) ListAll() ([]*entity.Media, error)

ListAll ...

func (*MediaDaoImpl) Remove

func (inst *MediaDaoImpl) Remove(id dxo.MediaID) error

Remove ...

func (*MediaDaoImpl) Update

func (inst *MediaDaoImpl) Update(id dxo.MediaID, o *entity.Media) (*entity.Media, error)

Update ....

type ProjectDaoImpl

type ProjectDaoImpl struct {
	markup.Component `id:"ProjectDAO"`

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

ProjectDaoImpl ...

func (*ProjectDaoImpl) Find

func (inst *ProjectDaoImpl) Find(id dxo.ProjectID) (*entity.Project, error)

func (*ProjectDaoImpl) FindByOwnerRepository

func (inst *ProjectDaoImpl) FindByOwnerRepository(id dxo.LocalRepositoryID) ([]*entity.Project, error)

func (*ProjectDaoImpl) Insert

func (inst *ProjectDaoImpl) Insert(o *entity.Project) (*entity.Project, error)

func (*ProjectDaoImpl) ListAll

func (inst *ProjectDaoImpl) ListAll() ([]*entity.Project, error)

func (*ProjectDaoImpl) Remove

func (inst *ProjectDaoImpl) Remove(id dxo.ProjectID) error

func (*ProjectDaoImpl) Update

func (inst *ProjectDaoImpl) Update(id dxo.ProjectID, o *entity.Project) (*entity.Project, error)

type RepositoryDaoImpl

type RepositoryDaoImpl struct {
	markup.Component `id:"LocalRepositoryDAO"`

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

RepositoryDaoImpl ...

func (*RepositoryDaoImpl) Find

Find ...

func (*RepositoryDaoImpl) FindByDotGit

func (inst *RepositoryDaoImpl) FindByDotGit(path string) (*entity.LocalRepository, error)

FindByDotGit ...

func (*RepositoryDaoImpl) FindByName

func (inst *RepositoryDaoImpl) FindByName(name string) (*entity.LocalRepository, error)

FindByName ...

func (*RepositoryDaoImpl) FindByPath

func (inst *RepositoryDaoImpl) FindByPath(path string) (*entity.LocalRepository, error)

FindByPath ...

func (*RepositoryDaoImpl) FindByUUID

func (inst *RepositoryDaoImpl) FindByUUID(uuid dxo.UUID) (*entity.LocalRepository, error)

FindByUUID ...

func (*RepositoryDaoImpl) FindByWorkingDir

func (inst *RepositoryDaoImpl) FindByWorkingDir(path string) (*entity.LocalRepository, error)

FindByWorkingDir ...

func (*RepositoryDaoImpl) Insert

Insert ...

func (*RepositoryDaoImpl) ListAll

func (inst *RepositoryDaoImpl) ListAll() ([]*entity.LocalRepository, error)

ListAll ...

func (*RepositoryDaoImpl) Remove

func (inst *RepositoryDaoImpl) Remove(id dxo.LocalRepositoryID) error

Remove ...

func (*RepositoryDaoImpl) Update

Update ...

Jump to

Keyboard shortcuts

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