Documentation ¶
Index ¶
- type GenericNoteHistoryBean
- type GenericNoteHistoryService
- type GenericNoteHistoryServiceImpl
- type GenericNoteService
- type GenericNoteServiceImpl
- func (impl *GenericNoteServiceImpl) GetGenericNotesForAppIds(appIds []int) (map[int]*bean.GenericNoteResponseBean, error)
- func (impl *GenericNoteServiceImpl) Save(tx *pg.Tx, req *repository.GenericNote, userId int32) (*bean.GenericNoteResponseBean, error)
- func (impl *GenericNoteServiceImpl) Update(req *repository.GenericNote, userId int32) (*bean.GenericNoteResponseBean, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericNoteHistoryBean ¶
type GenericNoteHistoryService ¶
type GenericNoteHistoryService interface {
Save(tx *pg.Tx, bean *GenericNoteHistoryBean, userId int32) (*GenericNoteHistoryBean, error)
}
type GenericNoteHistoryServiceImpl ¶
type GenericNoteHistoryServiceImpl struct {
// contains filtered or unexported fields
}
func NewGenericNoteHistoryServiceImpl ¶
func NewGenericNoteHistoryServiceImpl(repositoryHistory repository.GenericNoteHistoryRepository, logger *zap.SugaredLogger) *GenericNoteHistoryServiceImpl
func (*GenericNoteHistoryServiceImpl) Save ¶
func (impl *GenericNoteHistoryServiceImpl) Save(tx *pg.Tx, bean *GenericNoteHistoryBean, userId int32) (*GenericNoteHistoryBean, error)
type GenericNoteService ¶
type GenericNoteService interface { Save(tx *pg.Tx, bean *repository.GenericNote, userId int32) (*bean.GenericNoteResponseBean, error) Update(bean *repository.GenericNote, userId int32) (*bean.GenericNoteResponseBean, error) GetGenericNotesForAppIds(appIds []int) (map[int]*bean.GenericNoteResponseBean, error) }
type GenericNoteServiceImpl ¶
type GenericNoteServiceImpl struct {
// contains filtered or unexported fields
}
func NewGenericNoteServiceImpl ¶
func NewGenericNoteServiceImpl(genericNoteRepository repository.GenericNoteRepository, clusterNoteHistoryService GenericNoteHistoryService, userRepository repository2.UserRepository, logger *zap.SugaredLogger) *GenericNoteServiceImpl
func (*GenericNoteServiceImpl) GetGenericNotesForAppIds ¶
func (impl *GenericNoteServiceImpl) GetGenericNotesForAppIds(appIds []int) (map[int]*bean.GenericNoteResponseBean, error)
func (*GenericNoteServiceImpl) Save ¶
func (impl *GenericNoteServiceImpl) Save(tx *pg.Tx, req *repository.GenericNote, userId int32) (*bean.GenericNoteResponseBean, error)
func (*GenericNoteServiceImpl) Update ¶
func (impl *GenericNoteServiceImpl) Update(req *repository.GenericNote, userId int32) (*bean.GenericNoteResponseBean, error)
Click to show internal directories.
Click to hide internal directories.