Class TocFunctionality
java.lang.Object
io.goobi.viewer.model.cms.itemfunctionality.TocFunctionality
- All Implemented Interfaces:
Functionality
TocFunctionality class.
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorDescriptionTocFunctionality
(TocFunctionality blueprint) Constructor for TocFunctionality.Constructor for TocFunctionality. -
Method Summary
Modifier and TypeMethodDescriptiongetBannerUrl
(int width, int height) getBannerUrl.Getter for the fielddocStruct
.int
getPageNo.getPi()
Getter for the fieldpi
.getToc()
Getter for the fieldtoc
.void
setPageNo
(int pageNo) setPageNo.
-
Constructor Details
-
TocFunctionality
Constructor for TocFunctionality.
- Parameters:
pi
- aString
object.
-
TocFunctionality
Constructor for TocFunctionality.
- Parameters:
blueprint
- aTocFunctionality
object.
-
-
Method Details
-
getBannerUrl
public String getBannerUrl(int width, int height) throws IndexUnreachableException, PresentationException, DAOException, ViewerConfigurationException getBannerUrl.
- Parameters:
width
- a int.height
- a int.- Returns:
- a
String
object. - Throws:
IndexUnreachableException
- if any.PresentationException
- if any.DAOException
- if any.ViewerConfigurationException
- if any.
-
getToc
public TOC getToc() throws PresentationException, IndexUnreachableException, DAOException, ViewerConfigurationExceptionGetter for the field
toc
.- Returns:
- a
TOC
object. - Throws:
PresentationException
- if any.IndexUnreachableException
- if any.DAOException
- if any.ViewerConfigurationException
- if any.
-
getDocStruct
Getter for the field
docStruct
.- Returns:
- a
StructElement
object. - Throws:
IndexUnreachableException
- if any.PresentationException
- if any.
-
getPi
Getter for the field
pi
.- Returns:
- the piPeriodical
-
setPageNo
public void setPageNo(int pageNo) setPageNo.
- Specified by:
setPageNo
in interfaceFunctionality
- Parameters:
pageNo
- a int.
-
getPageNo
public int getPageNo()getPageNo.
- Specified by:
getPageNo
in interfaceFunctionality
- Returns:
- a int.
-