datasetediting

package
v1.0.55 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindAbstract

type BindAbstract struct {
	AbstractID string `path:"abstract_id"`
	Text       string `form:"text"`
	Lang       string `form:"lang"`
}

type BindAddContributor

type BindAddContributor struct {
	Role      string `path:"role"`
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}

type BindAddContributorSuggest

type BindAddContributorSuggest struct {
	Role      string `path:"role"`
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}

type BindConfirmCreateContributor

type BindConfirmCreateContributor struct {
	Role      string `path:"role"`
	ID        string `query:"id"`
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}

type BindConfirmUpdateContributor

type BindConfirmUpdateContributor struct {
	Role      string `path:"role"`
	Position  int    `path:"position"`
	ID        string `query:"id"`
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}

type BindCreateContributor

type BindCreateContributor struct {
	Role      string `path:"role"`
	ID        string `form:"id"`
	FirstName string `form:"first_name"`
	LastName  string `form:"last_name"`
	AddNext   bool   `form:"add_next"`
}

type BindDeleteAbstract

type BindDeleteAbstract struct {
	AbstractID string `path:"abstract_id"`
	SnapshotID string `path:"snapshot_id"`
}

type BindDeleteContributor

type BindDeleteContributor struct {
	Role     string `path:"role"`
	Position int    `path:"position"`
}

type BindDeleteDepartment

type BindDeleteDepartment struct {
	DepartmentID string `path:"department_id"`
	SnapshotID   string `path:"snapshot_id"`
}
type BindDeleteLink struct {
	LinkID     string `path:"link_id"`
	SnapshotID string `path:"snapshot_id"`
}

type BindDeleteProject

type BindDeleteProject struct {
	ProjectID  string `path:"project_id"`
	SnapshotID string `path:"snapshot_id"`
}

type BindDeletePublication

type BindDeletePublication struct {
	PublicationID string `path:"publication_id"`
	SnapshotID    string `path:"snapshot_id"`
}

type BindDepartment

type BindDepartment struct {
	DepartmentID string `form:"department_id"`
}

type BindDetails

type BindDetails struct {
	AccessLevel             string   `form:"access_level"`
	AccessLevelAfterEmbargo string   `form:"access_level_after_embargo"`
	EmbargoDate             string   `form:"embargo_date"`
	Format                  []string `form:"format"`
	Identifier              string   `form:"identifier"`
	IdentifierType          string   `form:"identifier_type"`
	Keyword                 []string `form:"keyword"`
	Language                []string `form:"language"`
	License                 string   `form:"license"`
	OtherLicense            string   `form:"other_license"`
	Publisher               string   `form:"publisher"`
	Title                   string   `form:"title"`
	Year                    string   `form:"year"`
}

type BindEditContributor

type BindEditContributor struct {
	Role      string `path:"role"`
	Position  int    `path:"position"`
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}

type BindEditContributorSuggest

type BindEditContributorSuggest struct {
	Role      string `path:"role"`
	Position  int    `path:"position"`
	FirstName string `query:"first_name"`
	LastName  string `query:"last_name"`
}
type BindLink struct {
	LinkID      string `path:"link_id"`
	URL         string `form:"url"`
	Relation    string `form:"relation"`
	Description string `form:"description"`
}

type BindMessage

type BindMessage struct {
	Message string `form:"message"`
}

type BindOrderContributors

type BindOrderContributors struct {
	Role      string `path:"role"`
	Positions []int  `form:"position"`
}

type BindProject

type BindProject struct {
	ProjectID string `form:"project_id"`
}

type BindPublication

type BindPublication struct {
	PublicationID string `form:"publication_id"`
}

type BindReviewerNote

type BindReviewerNote struct {
	ReviewerNote string `form:"reviewer_note"`
}

type BindReviewerTags

type BindReviewerTags struct {
	ReviewerTags []string `form:"reviewer_tags"`
}

type BindSuggestDepartments

type BindSuggestDepartments struct {
	Query string `query:"q"`
}

type BindSuggestProjects

type BindSuggestProjects struct {
	Query string `query:"q"`
}

type BindSuggestPublications

type BindSuggestPublications struct {
	Query string `query:"q"`
}

type BindUpdateContributor

type BindUpdateContributor struct {
	Role      string `path:"role"`
	Position  int    `path:"position"`
	ID        string `form:"id"`
	FirstName string `form:"first_name"`
	LastName  string `form:"last_name"`
	EditNext  bool   `form:"edit_next"`
}

type Context

type Context struct {
	handlers.BaseContext
	Dataset *models.Dataset
}

type Handler

type Handler struct {
	handlers.BaseHandler
	Repo                      *repositories.Repo
	ProjectSearchService      backends.ProjectSearchService
	ProjectService            backends.ProjectService
	PersonService             backends.PersonService
	PersonSearchService       backends.PersonSearchService
	OrganizationSearchService backends.OrganizationSearchService
	OrganizationService       backends.OrganizationService
	PublicationSearchIndex    backends.PublicationIndex
}

func (*Handler) AddAbstract

func (h *Handler) AddAbstract(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddContributor

func (h *Handler) AddContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddContributorSuggest

func (h *Handler) AddContributorSuggest(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddDepartment

func (h *Handler) AddDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
func (h *Handler) AddLink(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddProject

func (h *Handler) AddProject(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddPublication

func (h *Handler) AddPublication(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmCreateContributor

func (h *Handler) ConfirmCreateContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmDelete

func (h *Handler) ConfirmDelete(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmDeleteAbstract

func (h *Handler) ConfirmDeleteAbstract(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmDeleteContributor

func (h *Handler) ConfirmDeleteContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmDeleteDepartment

func (h *Handler) ConfirmDeleteDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
func (h *Handler) ConfirmDeleteLink(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmDeleteProject

func (h *Handler) ConfirmDeleteProject(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmDeletePublication

func (h *Handler) ConfirmDeletePublication(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmPublish

func (h *Handler) ConfirmPublish(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmRepublish

func (h *Handler) ConfirmRepublish(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmUpdateContributor

func (h *Handler) ConfirmUpdateContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmWithdraw

func (h *Handler) ConfirmWithdraw(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) CreateAbstract

func (h *Handler) CreateAbstract(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) CreateContributor

func (h *Handler) CreateContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) CreateDepartment

func (h *Handler) CreateDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
func (h *Handler) CreateLink(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) CreateProject

func (h *Handler) CreateProject(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) CreatePublication

func (h *Handler) CreatePublication(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Delete

func (h *Handler) Delete(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) DeleteAbstract

func (h *Handler) DeleteAbstract(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) DeleteContributor

func (h *Handler) DeleteContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) DeleteDepartment

func (h *Handler) DeleteDepartment(w http.ResponseWriter, r *http.Request, ctx Context)
func (h *Handler) DeleteLink(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) DeleteProject

func (h *Handler) DeleteProject(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) DeletePublication

func (h *Handler) DeletePublication(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditAbstract

func (h *Handler) EditAbstract(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditContributor

func (h *Handler) EditContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditContributorSuggest

func (h *Handler) EditContributorSuggest(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditDetails

func (h *Handler) EditDetails(w http.ResponseWriter, r *http.Request, ctx Context)
func (h *Handler) EditLink(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditMessage

func (h *Handler) EditMessage(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditReviewerNote

func (h *Handler) EditReviewerNote(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) EditReviewerTags

func (h *Handler) EditReviewerTags(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Lock

func (h *Handler) Lock(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) OrderContributors

func (h *Handler) OrderContributors(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Publish

func (h *Handler) Publish(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) RefreshEditFileForm

func (h *Handler) RefreshEditFileForm(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Republish

func (h *Handler) Republish(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) SuggestDepartments

func (h *Handler) SuggestDepartments(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) SuggestProjects

func (h *Handler) SuggestProjects(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) SuggestPublications

func (h *Handler) SuggestPublications(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Unlock

func (h *Handler) Unlock(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) UpdateAbstract

func (h *Handler) UpdateAbstract(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) UpdateContributor

func (h *Handler) UpdateContributor(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) UpdateDetails

func (h *Handler) UpdateDetails(w http.ResponseWriter, r *http.Request, ctx Context)
func (h *Handler) UpdateLink(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) UpdateMessage

func (h *Handler) UpdateMessage(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) UpdateReviewerNote

func (h *Handler) UpdateReviewerNote(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) UpdateReviewerTags

func (h *Handler) UpdateReviewerTags(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Withdraw

func (h *Handler) Withdraw(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Wrap

type YieldAbstracts

type YieldAbstracts struct {
	Context
}

type YieldAddAbstract

type YieldAddAbstract struct {
	Context
	Form     *form.Form
	Conflict bool
}

type YieldAddContributor

type YieldAddContributor struct {
	Context
	Role        string
	Contributor *models.Contributor
	Form        *form.Form
	Hits        []*models.Contributor
}

type YieldAddContributorSuggest

type YieldAddContributorSuggest struct {
	Context
	Role        string
	Contributor *models.Contributor
	Hits        []*models.Contributor
}

type YieldAddDepartment

type YieldAddDepartment struct {
	Context
	Hits []models.Completion
}
type YieldAddLink struct {
	Context
	Form     *form.Form
	Conflict bool
}

type YieldAddProject

type YieldAddProject struct {
	Context
	Hits []models.Completion
}

type YieldAddPublication

type YieldAddPublication struct {
	Context
	Hits *models.PublicationHits
}

type YieldConfirmCreateContributor

type YieldConfirmCreateContributor struct {
	Context
	Role        string
	Contributor *models.Contributor
	Active      bool
	Form        *form.Form
}

type YieldConfirmDelete

type YieldConfirmDelete struct {
	Context
	Dataset     *models.Dataset
	RedirectURL string
}

type YieldConfirmUpdateContributor

type YieldConfirmUpdateContributor struct {
	Context
	Role        string
	Position    int
	Contributor *models.Contributor
	Active      bool
	Form        *form.Form
	EditNext    bool
}

type YieldContributors

type YieldContributors struct {
	Context
	Role string
}

type YieldDeleteAbstract

type YieldDeleteAbstract struct {
	Context
	AbstractID string
	Conflict   bool
}

type YieldDeleteContributor

type YieldDeleteContributor struct {
	Context
	Role     string
	Position int
}

type YieldDeleteDepartment

type YieldDeleteDepartment struct {
	Context
	DepartmentID string
}
type YieldDeleteLink struct {
	Context
	LinkID string
}

type YieldDeleteProject

type YieldDeleteProject struct {
	Context
	ProjectID string
}

type YieldDeletePublication

type YieldDeletePublication struct {
	Context
	PublicationID string
}

type YieldDepartments

type YieldDepartments struct {
	Context
}

type YieldDetails

type YieldDetails struct {
	Context
	DisplayDetails *display.Display
}

type YieldEditAbstract

type YieldEditAbstract struct {
	Context
	AbstractID string
	Form       *form.Form
	Conflict   bool
}

type YieldEditContributor

type YieldEditContributor struct {
	Context
	Role        string
	Position    int
	Contributor *models.Contributor
	FirstName   string
	LastName    string
	Active      bool
	Hits        []*models.Contributor
	Form        *form.Form
}

type YieldEditContributorSuggest

type YieldEditContributorSuggest struct {
	Context
	Role        string
	Position    int
	Contributor *models.Contributor
	FirstName   string
	LastName    string
	Hits        []*models.Contributor
}

type YieldEditDetails

type YieldEditDetails struct {
	Context
	Form     *form.Form
	Conflict bool
}
type YieldEditLink struct {
	Context
	LinkID   string
	Form     *form.Form
	Conflict bool
}

type YieldEditMessage

type YieldEditMessage struct {
	Context
	Form     *form.Form
	Conflict bool
}

type YieldEditReviewerNote

type YieldEditReviewerNote struct {
	Context
	Form     *form.Form
	Conflict bool
}

type YieldEditReviewerTags

type YieldEditReviewerTags struct {
	Context
	Form     *form.Form
	Conflict bool
}
type YieldLinks struct {
	Context
}

type YieldLock

type YieldLock struct {
	Context
	RedirectURL string
}

type YieldProjects

type YieldProjects struct {
	Context
}

type YieldPublications

type YieldPublications struct {
	Context
	RelatedPublications []*models.Publication
}

type YieldPublish

type YieldPublish struct {
	Context
	RedirectURL string
}

type YieldRepublish

type YieldRepublish struct {
	Context
	RedirectURL string
}

type YieldWithdraw

type YieldWithdraw struct {
	Context
	RedirectURL string
}

Jump to

Keyboard shortcuts

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