Documentation ¶
Index ¶
- type BindAbstract
- type BindAddContributor
- type BindAddContributorSuggest
- type BindConfirmCreateContributor
- type BindConfirmUpdateContributor
- type BindCreateContributor
- type BindDeleteAbstract
- type BindDeleteContributor
- type BindDeleteDepartment
- type BindDeleteLink
- type BindDeleteProject
- type BindDeletePublication
- type BindDepartment
- type BindDetails
- type BindEditContributor
- type BindEditContributorSuggest
- type BindLink
- type BindMessage
- type BindOrderContributors
- type BindProject
- type BindPublication
- type BindReviewerNote
- type BindReviewerTags
- type BindSuggestDepartments
- type BindSuggestProjects
- type BindSuggestPublications
- type BindUpdateContributor
- type Context
- type Handler
- func (h *Handler) AddAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddContributorSuggest(w http.ResponseWriter, r *http.Request, ctx Context)
- 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 (h *Handler) AddProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) AddPublication(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmCreateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDelete(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeleteContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- 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 (h *Handler) ConfirmDeleteProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmDeletePublication(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmPublish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmRepublish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmUpdateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) ConfirmWithdraw(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- 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 (h *Handler) CreateProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) CreatePublication(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Delete(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeleteContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- 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 (h *Handler) DeleteProject(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) DeletePublication(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditContributorSuggest(w http.ResponseWriter, r *http.Request, ctx Context)
- 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 (h *Handler) EditMessage(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditReviewerNote(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) EditReviewerTags(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Lock(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) OrderContributors(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Publish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) RefreshEditFileForm(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Republish(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) SuggestDepartments(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) SuggestProjects(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) SuggestPublications(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Unlock(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateAbstract(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateContributor(w http.ResponseWriter, r *http.Request, ctx Context)
- 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 (h *Handler) UpdateMessage(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateReviewerNote(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) UpdateReviewerTags(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Withdraw(w http.ResponseWriter, r *http.Request, ctx Context)
- func (h *Handler) Wrap(fn func(http.ResponseWriter, *http.Request, Context)) http.HandlerFunc
- type YieldAbstracts
- type YieldAddAbstract
- type YieldAddContributor
- type YieldAddContributorSuggest
- type YieldAddDepartment
- type YieldAddLink
- type YieldAddProject
- type YieldAddPublication
- type YieldConfirmCreateContributor
- type YieldConfirmDelete
- type YieldConfirmUpdateContributor
- type YieldContributors
- type YieldDeleteAbstract
- type YieldDeleteContributor
- type YieldDeleteDepartment
- type YieldDeleteLink
- type YieldDeleteProject
- type YieldDeletePublication
- type YieldDepartments
- type YieldDetails
- type YieldEditAbstract
- type YieldEditContributor
- type YieldEditContributorSuggest
- type YieldEditDetails
- type YieldEditLink
- type YieldEditMessage
- type YieldEditReviewerNote
- type YieldEditReviewerTags
- type YieldLinks
- type YieldLock
- type YieldProjects
- type YieldPublications
- type YieldPublish
- type YieldRepublish
- type YieldWithdraw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindAbstract ¶
type BindAddContributor ¶
type BindCreateContributor ¶
type BindDeleteAbstract ¶
type BindDeleteContributor ¶
type BindDeleteDepartment ¶
type BindDeleteLink ¶
type BindDeleteProject ¶
type BindDeletePublication ¶
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 BindMessage ¶
type BindMessage struct {
Message string `form:"message"`
}
type BindOrderContributors ¶
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 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 (*Handler) AddContributor ¶
func (*Handler) AddContributorSuggest ¶
func (*Handler) AddDepartment ¶
func (*Handler) AddProject ¶
func (*Handler) AddPublication ¶
func (*Handler) ConfirmCreateContributor ¶
func (*Handler) ConfirmDelete ¶
func (*Handler) ConfirmDeleteAbstract ¶
func (*Handler) ConfirmDeleteContributor ¶
func (*Handler) ConfirmDeleteDepartment ¶
func (*Handler) ConfirmDeleteLink ¶
func (*Handler) ConfirmDeleteProject ¶
func (*Handler) ConfirmDeletePublication ¶
func (*Handler) ConfirmPublish ¶
func (*Handler) ConfirmRepublish ¶
func (*Handler) ConfirmUpdateContributor ¶
func (*Handler) ConfirmWithdraw ¶
func (*Handler) CreateAbstract ¶
func (*Handler) CreateContributor ¶
func (*Handler) CreateDepartment ¶
func (*Handler) CreateLink ¶
func (*Handler) CreateProject ¶
func (*Handler) CreatePublication ¶
func (*Handler) DeleteAbstract ¶
func (*Handler) DeleteContributor ¶
func (*Handler) DeleteDepartment ¶
func (*Handler) DeleteLink ¶
func (*Handler) DeleteProject ¶
func (*Handler) DeletePublication ¶
func (*Handler) EditAbstract ¶
func (*Handler) EditContributor ¶
func (*Handler) EditContributorSuggest ¶
func (*Handler) EditDetails ¶
func (*Handler) EditMessage ¶
func (*Handler) EditReviewerNote ¶
func (*Handler) EditReviewerTags ¶
func (*Handler) OrderContributors ¶
func (*Handler) RefreshEditFileForm ¶
func (*Handler) SuggestDepartments ¶
func (*Handler) SuggestProjects ¶
func (*Handler) SuggestPublications ¶
func (*Handler) UpdateAbstract ¶
func (*Handler) UpdateContributor ¶
func (*Handler) UpdateDetails ¶
func (*Handler) UpdateLink ¶
func (*Handler) UpdateMessage ¶
func (*Handler) UpdateReviewerNote ¶
func (*Handler) UpdateReviewerTags ¶
func (*Handler) Wrap ¶
func (h *Handler) Wrap(fn func(http.ResponseWriter, *http.Request, Context)) http.HandlerFunc
type YieldAbstracts ¶
type YieldAbstracts struct {
Context
}
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 YieldAddProject ¶
type YieldAddProject struct { Context Hits []models.Completion }
type YieldAddPublication ¶
type YieldAddPublication struct { Context Hits *models.PublicationHits }
type YieldConfirmDelete ¶
type YieldContributors ¶
type YieldDeleteAbstract ¶
type YieldDeleteContributor ¶
type YieldDeleteDepartment ¶
type YieldDeleteLink ¶
type YieldDeleteProject ¶
type YieldDeletePublication ¶
type YieldDepartments ¶
type YieldDepartments struct {
Context
}
type YieldDetails ¶
type YieldEditAbstract ¶
type YieldEditContributor ¶
type YieldEditContributorSuggest ¶
type YieldEditContributorSuggest struct { Context Role string Position int Contributor *models.Contributor FirstName string LastName string Hits []*models.Contributor }
type YieldEditLink ¶
type YieldEditReviewerNote ¶
type YieldEditReviewerTags ¶
type YieldLinks ¶
type YieldLinks struct {
Context
}
type YieldProjects ¶
type YieldProjects struct {
Context
}
type YieldPublications ¶
type YieldPublications struct { Context RelatedPublications []*models.Publication }
type YieldPublish ¶
type YieldRepublish ¶
type YieldWithdraw ¶
Click to show internal directories.
Click to hide internal directories.