iid

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ARCHIVEPATH = "/hgkstore/minio/iid-archive/archive"
View Source
const FILEBASE = "file://ba14ns21403.fhnw.ch"
View Source
const IMAGEPATH = "/hgkstore/minio/iid-archive/public_html/cache"
View Source
const MEDIASERVER_COLLECTION = "iidarchiv"

Variables

This section is empty.

Functions

This section is empty.

Types

type Arbeit

type Arbeit struct {
	ID                                        int64
	Modulkennziffer                           string
	ModuleID                                  int64
	Titel                                     string
	Kurzbeschreibung, Abstract, Beschreibung  string
	Zusammenarbeit, Recherche, Auszeichnungen string
	BemerkungenArchiv                         string
	ExternesMaterial                          string
	Website                                   string
	Kontakt                                   string
	Genre                                     []string
	Techniken                                 []string
	Klassierung                               []string
	Mittel                                    []string
	Studiensemester                           []string
	Status                                    string
	Pfad                                      string
	Bild1, Bild2, Bild3                       string
	AdditionalDokumentation                   []Material
	Module                                    *Module
	ModDate                                   time.Time

	Persons []search.Person
	// contains filtered or unexported fields
}

func (*Arbeit) GetACL

func (a *Arbeit) GetACL() map[string][]string

func (*Arbeit) GetAbstract

func (a *Arbeit) GetAbstract() string

func (*Arbeit) GetCatalogs

func (a *Arbeit) GetCatalogs() []string

func (*Arbeit) GetCategories

func (a *Arbeit) GetCategories() []string

func (*Arbeit) GetCollectionTitle

func (a *Arbeit) GetCollectionTitle() string

func (*Arbeit) GetContentMime

func (a *Arbeit) GetContentMime() string

func (*Arbeit) GetContentString

func (a *Arbeit) GetContentString() string

func (*Arbeit) GetContentType

func (a *Arbeit) GetContentType() string

func (*Arbeit) GetDate

func (a *Arbeit) GetDate() string

func (*Arbeit) GetDateAdded

func (a *Arbeit) GetDateAdded() time.Time

func (*Arbeit) GetExtra

func (a *Arbeit) GetExtra() *search.Metalist

func (*Arbeit) GetLicense

func (a *Arbeit) GetLicense() string

func (*Arbeit) GetMedia

func (a *Arbeit) GetMedia() map[string]search.MediaList

func (*Arbeit) GetMeta

func (a *Arbeit) GetMeta() *search.Metalist

func (*Arbeit) GetNotes

func (a *Arbeit) GetNotes() []search.Note

func (*Arbeit) GetPersons

func (a *Arbeit) GetPersons() []search.Person

func (*Arbeit) GetPlace

func (a *Arbeit) GetPlace() string

func (*Arbeit) GetPoster

func (a *Arbeit) GetPoster() *search.Media

func (*Arbeit) GetPublisher

func (a *Arbeit) GetPublisher() string

func (*Arbeit) GetQueries

func (a *Arbeit) GetQueries() []search.Query

func (*Arbeit) GetReferences

func (a *Arbeit) GetReferences() []search.Reference

func (*Arbeit) GetRights

func (a *Arbeit) GetRights() string

func (*Arbeit) GetSeries

func (a *Arbeit) GetSeries() string

func (*Arbeit) GetSignature

func (a *Arbeit) GetSignature() string

func (*Arbeit) GetSignatureOriginal

func (a *Arbeit) GetSignatureOriginal() string

func (*Arbeit) GetSolrDoc

func (a *Arbeit) GetSolrDoc() *solr.Document

func (*Arbeit) GetSource

func (a *Arbeit) GetSource() string

func (*Arbeit) GetTags

func (a *Arbeit) GetTags() []string

func (*Arbeit) GetTitle

func (a *Arbeit) GetTitle() string

func (*Arbeit) GetUrl

func (a *Arbeit) GetUrl() string

func (*Arbeit) GetVars

func (a *Arbeit) GetVars() *search.Varlist

func (*Arbeit) Name

func (a *Arbeit) Name() string

func (*Arbeit) Scan

func (a *Arbeit) Scan(rowX interface{}) error

type IID

type IID struct {
	BenutzerStmt        *MySQLReprepareStmt.Stmt
	TechnikenStmt       *MySQLReprepareStmt.Stmt
	KlassierungenStmt   *MySQLReprepareStmt.Stmt
	StudiensemesterStmt *MySQLReprepareStmt.Stmt
	MittelStmt          *MySQLReprepareStmt.Stmt
	StatiStmt           *MySQLReprepareStmt.Stmt
	// contains filtered or unexported fields
}

func NewIID

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

func (*IID) Close

func (iid *IID) Close() error

func (*IID) IterateArbeitenAll

func (iid *IID) IterateArbeitenAll(f func(item *Arbeit) error) error

func (*IID) IterateModulesAll

func (iid *IID) IterateModulesAll(f func(module *Module) error) error

func (*IID) LoadModule

func (iid *IID) LoadModule(id int64) (*Module, error)

func (*IID) PrepareStmt

func (iid *IID) PrepareStmt() error

type Material

type Material struct {
	Name, Klassierung, Dateiname string
}

type Module

type Module struct {
	ID           int64
	Semester     string
	Modultyp     string
	Modulart     string
	Kennziffer   string
	ModuleName   string
	Titel        string
	Abstract     string
	Beschreibung string
	Bild         string
	Website      string
	Uebergabe    time.Time
	Von          time.Time
	Bis          time.Time
	Deleted      bool

	IID *IID
}

func (*Module) GetACL

func (mod *Module) GetACL() map[string][]string

func (*Module) GetAbstract

func (mod *Module) GetAbstract() string

func (*Module) GetCatalogs

func (mod *Module) GetCatalogs() []string

func (*Module) GetCategories

func (mod *Module) GetCategories() []string

func (*Module) GetCollectionTitle

func (mod *Module) GetCollectionTitle() string

func (*Module) GetContentMime

func (mod *Module) GetContentMime() string

func (*Module) GetContentString

func (mod *Module) GetContentString() string

func (*Module) GetContentType

func (mod *Module) GetContentType() string

func (*Module) GetDate

func (mod *Module) GetDate() string

func (*Module) GetDateAdded

func (mod *Module) GetDateAdded() time.Time

func (*Module) GetExtra

func (mod *Module) GetExtra() *search.Metalist

func (*Module) GetLicense

func (mod *Module) GetLicense() string

func (*Module) GetMedia

func (mod *Module) GetMedia() map[string]search.MediaList

func (*Module) GetMeta

func (mod *Module) GetMeta() *search.Metalist

func (*Module) GetNotes

func (mod *Module) GetNotes() []search.Note

func (*Module) GetPersons

func (mod *Module) GetPersons() []search.Person

func (*Module) GetPlace

func (mod *Module) GetPlace() string

func (*Module) GetPoster

func (mod *Module) GetPoster() *search.Media

func (*Module) GetPublisher

func (mod *Module) GetPublisher() string

func (*Module) GetQueries

func (mod *Module) GetQueries() []search.Query

func (*Module) GetReferences

func (mod *Module) GetReferences() []search.Reference

func (*Module) GetRights

func (mod *Module) GetRights() string

func (*Module) GetSeries

func (mod *Module) GetSeries() string

func (*Module) GetSignature

func (mod *Module) GetSignature() string

func (*Module) GetSignatureOriginal

func (mod *Module) GetSignatureOriginal() string

func (*Module) GetSolrDoc

func (mod *Module) GetSolrDoc() *solr.Document

func (*Module) GetSource

func (mod *Module) GetSource() string

func (*Module) GetTags

func (mod *Module) GetTags() []string

func (*Module) GetTitle

func (mod *Module) GetTitle() string

func (*Module) GetUrl

func (mod *Module) GetUrl() string

func (*Module) GetVars

func (mod *Module) GetVars() *search.Varlist

func (*Module) IsDeleted

func (mod *Module) IsDeleted() bool

func (*Module) Name

func (mod *Module) Name() string

func (*Module) Scan

func (mod *Module) Scan(rowX interface{}) error

Jump to

Keyboard shortcuts

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