Package io.goobi.viewer.model.search
Class AdvancedSearchOrigin
java.lang.Object
io.goobi.viewer.model.search.AdvancedSearchOrigin
Holds information about the record from which an advanced search was triggered (e.g. from the TOC view).
Used to provide a back-link to the originating record on the search results page.
-
Constructor Summary
ConstructorsConstructorDescriptionAdvancedSearchOrigin(CMSPage cmsPage) AdvancedSearchOrigin(String pi, String label, String docstrct) -
Method Summary
-
Constructor Details
-
AdvancedSearchOrigin
- Parameters:
pi- Persistent identifier of the recordlabel- Display label of the recorddocstrct- Document structure type (e.g. "Newspaper", "Periodical")
-
AdvancedSearchOrigin
- Parameters:
cmsPage- the cms page originating the search
-
-
Method Details
-
getPi
-
getLabel
-
getDocstrct
-
getCmsPageId
-
isRecordOrigin
public boolean isRecordOrigin() -
isCmsPageOrigin
public boolean isCmsPageOrigin() -
getOriginUrl
-