Package io.goobi.viewer.model.viewer
Enum Class PageType
- All Implemented Interfaces:
Serializable
,Comparable<PageType>
,Constable
PageType class.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic PageType
determinePageType
(String docStructType, String mimeType, Boolean anchorOrGroup, Boolean hasImages, boolean pageResolverUrl) determinePageType.static PageType
getByName.Getter for the fieldhandling
.getLabel()
getName()
Getter for the fieldname
.static PageType
getPageTypeForDocStructType
(String docStructType) getPageTypeForDocStructType.getRawName.getTypesHandledByCms.boolean
boolean
isCmsPage.boolean
isDocumentPage.boolean
isHandledWithCms.boolean
matches.boolean
matches.static PageType
Returns the enum constant of this class with the specified name.static PageType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
viewImage
-
viewToc
-
viewThumbs
-
viewMetadata
-
viewFulltext
-
viewFullscreen
-
viewObject
-
viewCalendar
-
searchlist
-
searchCalendar
-
searchGeoMap
-
term
-
expandCollection
-
firstWorkInCollection
-
sitelinks
-
archives
-
archive
-
timematrix
-
user
-
userSearches
-
userContentUpload
-
admin
-
adminDashboard
-
adminUsers
-
adminUser
-
adminUserNew
-
adminUserEdit
-
adminUserGroups
-
adminUserGroupEdit
-
adminUserGroupNew
-
adminIpRanges
-
adminIpRange
-
adminIpRangeNew
-
adminLicenseTypes
-
adminLicenseType
-
adminRights
-
adminRight
-
adminRightsNew
-
adminUserComments
-
adminUserCommentGroups
-
adminUserCommentGroupAll
-
adminUserCommentGroupNew
-
adminUserCommentGroupEdit
-
adminUserTerms
-
adminCreateRecord
-
adminThemes
-
adminClients
-
adminClientsEdit
-
adminConfigEditor
-
adminMessageQueue
-
adminDeveloper
-
adminTranslations
-
adminTranslationsEdit
-
adminCms
-
adminCmsOverview
-
adminCmsSelectTemplate
-
adminCmsNewPage
-
adminCmsEditPage
-
adminCmsTemplatesNew
-
adminCmsTemplatesEdit
-
adminCmsSidebarWidgets
-
adminCmsWidgetsAdd
-
adminCmsWidgetsEdit
-
adminCmsCategories
-
adminCmsNewCategory
-
adminCmsEditCategory
-
adminCmsStaticPages
-
adminCmsMedia
-
adminCmsMenuItems
-
adminCmsCollections
-
adminCmsEditCollection
-
adminCmsGeoMaps
-
adminCmsGeoMapEdit
-
adminCmsGeoMapNew
-
adminCmsRecordNotes
-
adminCmsRecordNotesNew
-
adminCmsRecordNotesEdit
-
adminCmsHighlights
-
adminCmsHighlightsNew
-
adminCmsHighlightsEdit
-
adminCmsSliders
-
adminCmsSlidersNew
-
adminCmsSlidersEdit
-
adminCookieBanner
-
adminDisclaimer
-
cmsPageOfWork
-
cmsPage
-
adminCrowdsourcingAnnotations
-
adminCrowdsourcingCampaigns
-
adminCrowdsourcingCampaignsNew
-
adminCrowdsourcingCampaignsEdit
-
adminUserActivity
-
annotations
-
editContent
-
editOcr
-
editHistory
-
index
-
search
-
advancedSearch
-
browse
-
privacy
-
imprint
-
feedback
-
crowsourcingCampaigns
-
bookmarks
-
crowsourcingAnnotation
-
crowsourcingReview
-
other
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getHandling
Getter for the field
handling
.- Returns:
- a
PageType.PageTypeHandling
object.
-
getParent
-
isHandledWithCms
public boolean isHandledWithCms()isHandledWithCms.
- Returns:
- a boolean.
-
isCmsPage
public boolean isCmsPage()isCmsPage.
- Returns:
- a boolean.
-
isDocumentPage
public boolean isDocumentPage()isDocumentPage.
- Returns:
- a boolean.
-
getTypesHandledByCms
getTypesHandledByCms.
- Returns:
- a
List
object.
-
getByName
getByName.
-
getRawName
getRawName.
- Returns:
- a
String
object.
-
getName
Getter for the field
name
.- Returns:
- Mapped alternative name, if available; raw name otherwise
-
getLabel
-
getPageTypeForDocStructType
getPageTypeForDocStructType.
-
determinePageType
public static PageType determinePageType(String docStructType, String mimeType, Boolean anchorOrGroup, Boolean hasImages, boolean pageResolverUrl) determinePageType.
-
matches
matches.
- Parameters:
pagePath
- aString
object.- Returns:
- true if the given path equals either the intrinsic or configured name of this pageType Leading and trailing slashes are ignored. PageType other is never matched
-
matches
matches.
- Parameters:
pagePath
- aURI
object.- Returns:
- true if the given path starts with either the intrinsic or configured name of this pageType Leading and trailing slashes are ignored. PageType other is never matched
-
isAdminBackendPage
public boolean isAdminBackendPage()
-