Documentation ¶
Index ¶
- type Documents
- func (self *Documents) Create(document *t.Document) error
- func (self *Documents) CreateFile(part *multipart.Part) (string, error)
- func (self *Documents) Delete(id t.DocumentId) error
- func (self *Documents) Find(id t.DocumentId) (t.Document, error)
- func (self *Documents) FindAll(status t.DocumentStatus) (t.Documents, error)
- func (self *Documents) FindAllActive() (t.Documents, error)
- func (self *Documents) FindAllByPaymentId(paymentId t.PaymentId) (t.Documents, error)
- func (self *Documents) FindMulti(ids t.DocumentIds) (t.Documents, error)
- func (self *Documents) Update(document t.Document) (t.Document, error)
- type Storage
- func (self *Storage) Delete(id t.DocumentId) error
- func (self *Storage) Find(id t.DocumentId) (t.Document, error)
- func (self *Storage) FindAllActive() (t.Documents, error)
- func (self *Storage) FindAllByPaymentId(paymentId t.PaymentId) (t.Documents, error)
- func (self *Storage) FindAllByStatus(status t.DocumentStatus) (t.Documents, error)
- func (self *Storage) FindMulti(ids t.DocumentIds) (t.Documents, error)
- func (self *Storage) Save(document *t.Document) error
- func (self *Storage) SaveFile(part *multipart.Part) (string, error)
- func (self *Storage) Update(document t.Document) (t.Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Documents ¶
func NewDocuments ¶
func (*Documents) CreateFile ¶
func (*Documents) FindAllByPaymentId ¶
type Storage ¶
type Storage struct { AppEngineContext appengine.Context // contains filtered or unexported fields }
func NewStorage ¶
func (*Storage) FindAllByPaymentId ¶
func (*Storage) FindAllByStatus ¶
Click to show internal directories.
Click to hide internal directories.