forms2

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name     string
	Filename string
}

type Forms2

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

func NewForms2

func NewForms2(db *sql.DB, schema string, dataprefix string, ms mediaserver.Mediaserver) (*Forms2, error)

func (*Forms2) GetGroups

func (f2 *Forms2) GetGroups() ([]int64, error)

func (*Forms2) IterateItemsAll

func (f2 *Forms2) IterateItemsAll(year int64, f func(item *Item) error) error

type Item

type Item struct {
	Year              int64
	PersonName        string
	IDPerson          string
	Anlassnummer      string
	Anlassbezeichnung string
	Data              map[string]string
	File              map[int64]*File
	// contains filtered or unexported fields
}

func (*Item) GetACL

func (item *Item) GetACL() map[string][]string

func (*Item) GetAbstract

func (item *Item) GetAbstract() string

func (*Item) GetCatalogs

func (item *Item) GetCatalogs() []string

func (*Item) GetCategories

func (item *Item) GetCategories() []string

func (*Item) GetCollectionTitle

func (item *Item) GetCollectionTitle() string

func (*Item) GetContentMime

func (item *Item) GetContentMime() string

func (*Item) GetContentString

func (item *Item) GetContentString() string

func (*Item) GetContentType

func (item *Item) GetContentType() string

func (*Item) GetDate

func (item *Item) GetDate() string

func (*Item) GetDateAdded

func (item *Item) GetDateAdded() time.Time

func (*Item) GetExtra

func (item *Item) GetExtra() *search.Metalist

func (*Item) GetLicense

func (item *Item) GetLicense() string

func (*Item) GetMedia

func (item *Item) GetMedia() map[string]search.MediaList

func (*Item) GetMeta

func (item *Item) GetMeta() *search.Metalist

func (*Item) GetNotes

func (item *Item) GetNotes() []search.Note

func (*Item) GetPersons

func (item *Item) GetPersons() []search.Person

func (*Item) GetPlace

func (item *Item) GetPlace() string

func (*Item) GetPoster

func (item *Item) GetPoster() *search.Media

func (*Item) GetPublisher

func (item *Item) GetPublisher() string

func (*Item) GetQueries

func (item *Item) GetQueries() []search.Query

func (*Item) GetReferences

func (item *Item) GetReferences() []search.Reference

func (*Item) GetRights

func (item *Item) GetRights() string

func (*Item) GetSeries

func (item *Item) GetSeries() string

func (*Item) GetSignature

func (item *Item) GetSignature() string

func (*Item) GetSignatureOriginal

func (item *Item) GetSignatureOriginal() string

func (*Item) GetSolrDoc

func (item *Item) GetSolrDoc() *solr.Document

func (*Item) GetSource

func (item *Item) GetSource() string

func (*Item) GetTags

func (item *Item) GetTags() []string

func (*Item) GetTitle

func (item *Item) GetTitle() string

func (*Item) GetUrl

func (item *Item) GetUrl() string

func (*Item) GetVars

func (item *Item) GetVars() *search.Varlist

func (*Item) Name

func (item *Item) Name() string

Jump to

Keyboard shortcuts

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