apply

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apply

type Apply struct {
	FormStmt *MySQLReprepareStmt.Stmt
	DataStmt *MySQLReprepareStmt.Stmt
	FileStmt *MySQLReprepareStmt.Stmt
	// contains filtered or unexported fields
}

func NewApply

func NewApply(logger zLogger.ZLogger, db *sql.DB, schema string, filePath string, ms mediaserver.Mediaserver, msCollection string) (*Apply, error)

func (*Apply) Close

func (apply *Apply) Close() error

func (*Apply) IterateFormsAll

func (apply *Apply) IterateFormsAll(f func(form *Form) error) error

func (*Apply) PrepareStmt

func (apply *Apply) PrepareStmt() error

type Form

type Form struct {
	Id           int64
	Link         string
	Changed      time.Time
	Files        []*FormFile
	Data         map[string]string
	Project      string
	ProjectTitel string

	Errors []string
	// contains filtered or unexported fields
}

func (*Form) GetACL

func (form *Form) GetACL() map[string][]string

func (*Form) GetAbstract

func (form *Form) GetAbstract() *translate.MultiLangString

func (*Form) GetAllMeta

func (form *Form) GetAllMeta() *search.Metalist

func (*Form) GetCatalogs

func (form *Form) GetCatalogs() []string

func (*Form) GetCategories

func (form *Form) GetCategories() []string

func (*Form) GetCollectionTitle

func (form *Form) GetCollectionTitle() string

func (*Form) GetContentMime

func (form *Form) GetContentMime() string

func (*Form) GetContentString

func (form *Form) GetContentString() string

func (*Form) GetContentType

func (form *Form) GetContentType() string

func (*Form) GetDate

func (form *Form) GetDate() string

func (*Form) GetDateAdded

func (form *Form) GetDateAdded() time.Time

func (*Form) GetExtra

func (form *Form) GetExtra() *search.Metalist

func (*Form) GetLicense

func (form *Form) GetLicense() string

func (*Form) GetMedia

func (form *Form) GetMedia() map[string]search.MediaList

func (*Form) GetMeta

func (form *Form) GetMeta() *search.Metalist

func (*Form) GetNotes

func (form *Form) GetNotes() []search.Note

func (*Form) GetPersons

func (form *Form) GetPersons() []search.Person

func (*Form) GetPlace

func (form *Form) GetPlace() string

func (*Form) GetPoster

func (form *Form) GetPoster() *search.Media

func (*Form) GetPublisher

func (form *Form) GetPublisher() string

func (*Form) GetQueries

func (form *Form) GetQueries() []search.Query

func (*Form) GetReferences

func (form *Form) GetReferences() []search.Reference

func (*Form) GetRights

func (form *Form) GetRights() string

func (*Form) GetSeries

func (form *Form) GetSeries() string

func (*Form) GetSignature

func (form *Form) GetSignature() string

func (*Form) GetSignatureOriginal

func (form *Form) GetSignatureOriginal() string

func (*Form) GetSolrDoc

func (form *Form) GetSolrDoc() *solr.Document

func (*Form) GetSource

func (form *Form) GetSource() string

func (*Form) GetTags

func (form *Form) GetTags() []string

func (*Form) GetTitle

func (form *Form) GetTitle() *translate.MultiLangString

func (*Form) GetUrl

func (form *Form) GetUrl() string

func (*Form) GetVars

func (form *Form) GetVars() *search.Varlist

func (*Form) Name

func (form *Form) Name() string

type FormData

type FormData struct {
	Key   string
	Value string
}

type FormFile

type FormFile struct {
	Id       int64
	Mimetype string
	Name     string
	Filename string
	Size     int64
}

Jump to

Keyboard shortcuts

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