Class TocFunctionality
java.lang.Object
io.goobi.viewer.model.cms.itemfunctionality.TocFunctionality
- All Implemented Interfaces:
Functionality
TocFunctionality class.
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorsConstructorDescriptionTocFunctionality(TocFunctionality blueprint) Constructor for TocFunctionality.Constructor for TocFunctionality. -
Method Summary
Modifier and TypeMethodDescriptiongetBannerUrl(int width, int height) getBannerUrl.Getter for the fielddocStruct.intgetPageNo.getPi()Getter for the fieldpi.getToc()Getter for the fieldtoc.voidsetPageNo(int pageNo) setPageNo.
-
Constructor Details
-
TocFunctionality
Constructor for TocFunctionality.
- Parameters:
pi- aStringobject.
-
TocFunctionality
Constructor for TocFunctionality.
- Parameters:
blueprint- aTocFunctionalityobject.
-
-
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
Stringobject. - 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
TOCobject. - Throws:
PresentationException- if any.IndexUnreachableException- if any.DAOException- if any.ViewerConfigurationException- if any.
-
getDocStruct
Getter for the field
docStruct.- Returns:
- a
StructElementobject. - 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:
setPageNoin interfaceFunctionality- Parameters:
pageNo- a int.
-
getPageNo
public int getPageNo()getPageNo.
- Specified by:
getPageNoin interfaceFunctionality- Returns:
- a int.
-