overviews

package
v0.0.0-...-6740b9f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Overviews

type Overviews struct {
	AppEngineContext appengine.Context
	Storage          *Storage
}

func NewOverviews

func NewOverviews(appEngineContext appengine.Context) *Overviews

func (*Overviews) Create

func (self *Overviews) Create(userOverview *t.UserOverview) error

func (*Overviews) Delete

func (self *Overviews) Delete(id t.UserOverviewId) error

func (*Overviews) Find

func (self *Overviews) Find(id t.UserOverviewId) (t.UserOverview, error)

func (*Overviews) FindAll

func (self *Overviews) FindAll(status t.UserOverviewStatus) (t.UserOverviews, error)

func (*Overviews) FindAllActive

func (self *Overviews) FindAllActive() (t.UserOverviews, error)

func (*Overviews) FindAllByOverviewId

func (self *Overviews) FindAllByOverviewId(overviewId t.OverviewId) (t.UserOverviews, error)

func (*Overviews) FindMulti

func (self *Overviews) FindMulti(ids t.UserOverviewIds) (t.UserOverviews, error)

func (*Overviews) Update

func (self *Overviews) Update(userOverview t.UserOverview) (t.UserOverview, error)

type Storage

type Storage struct {
	AppEngineContext appengine.Context
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(appEngineContext appengine.Context) *Storage

func (*Storage) Delete

func (self *Storage) Delete(id t.UserOverviewId) error

func (*Storage) Find

func (self *Storage) Find(id t.UserOverviewId) (t.UserOverview, error)

func (*Storage) FindAllActive

func (self *Storage) FindAllActive() (t.UserOverviews, error)

func (*Storage) FindAllByOverviewId

func (self *Storage) FindAllByOverviewId(overviewId t.OverviewId) (t.UserOverviews, error)

func (*Storage) FindAllByStatus

func (self *Storage) FindAllByStatus(status t.UserOverviewStatus) (t.UserOverviews, error)

func (*Storage) FindMulti

func (self *Storage) FindMulti(ids t.UserOverviewIds) (t.UserOverviews, error)

func (*Storage) Save

func (self *Storage) Save(userOverview *t.UserOverview) error

func (*Storage) Update

func (self *Storage) Update(userOverview t.UserOverview) (t.UserOverview, error)

Jump to

Keyboard shortcuts

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