accountrepository

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRepository

type AccountRepository struct {
	// contains filtered or unexported fields
}

func (*AccountRepository) Create

func (a *AccountRepository) Create(accountRepository *roles.AccountRepository, transaction SQL.InterfaceWrite) error

func (*AccountRepository) DeleteAccountRepository

func (a *AccountRepository) DeleteAccountRepository(accountID, repositoryID uuid.UUID) error

func (*AccountRepository) DeleteFromAllRepositories

func (a *AccountRepository) DeleteFromAllRepositories(accountID, companyID uuid.UUID) error

func (*AccountRepository) GetAccountRepository

func (a *AccountRepository) GetAccountRepository(accountID, repositoryID uuid.UUID) (
	*roles.AccountRepository, error)

func (*AccountRepository) GetOfAccount

func (a *AccountRepository) GetOfAccount(accountID uuid.UUID) (accountRepository []roles.AccountRepository, err error)

func (*AccountRepository) UpdateAccountRepository

func (a *AccountRepository) UpdateAccountRepository(accountRepository *roles.AccountRepository) error

type IAccountRepository

type IAccountRepository interface {
	GetAccountRepository(accountID, repositoryID uuid.UUID) (*roles.AccountRepository, error)
	Create(accountRepository *roles.AccountRepository, transaction SQL.InterfaceWrite) error
	UpdateAccountRepository(accountRepository *roles.AccountRepository) error
	GetOfAccount(accountID uuid.UUID) (accountRepository []roles.AccountRepository, err error)
	DeleteAccountRepository(accountID, repositoryID uuid.UUID) error
	DeleteFromAllRepositories(accountID, companyID uuid.UUID) error
}

func NewAccountRepositoryRepository

func NewAccountRepositoryRepository(
	databaseRead SQL.InterfaceRead, databaseWrite SQL.InterfaceWrite) IAccountRepository

Jump to

Keyboard shortcuts

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