Class TOCElement
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionTOCElement
(de.intranda.metadata.multilanguage.IMetadataValue label, String pageNo, String pageNoLabel, String iddoc, String logId, int level, String topStructPi, String thumbnailUrl, boolean accessPermissionPdf, boolean anchorOrGroup, boolean hasImages, String recordMimeType, String docStructType, String footerId) Constructor for TOCElement. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getContentServerPdfUrl.getFullscreenUrl.Getter for the fieldgroupIds
.int
getID()
getID.getIddoc()
Getter for the fieldiddoc
.getLabel()
Getter for the fieldlabel
.Getter for the fieldlabel
.Getter for the fieldlabel
.int
getLevel()
Getter for the fieldlevel
.getLogId()
gibt die logID aus der Mets Datei zurückGetter for the fieldmetadata
.getMetadataValue
(String key) getMetadataValue.Getter for the fieldpageNo
.Getter for the fieldpageNoLabel
.int
Getter for the fieldparentId
.Deprecated.renamed to fullscreenGetter for the fieldrecordMimeType
.Deprecated.Getter for the fieldthumbnailUrl
.getThumbnailUrl
(int width, int height) Getter for the fieldthumbnailUrl
.Getter for the fieldtopStructPi
.getUrl()
getUrl.Returns the URL for this element that links to the requested view type.int
hashCode()
boolean
Checks whether the current user has permissions to download a PDFs for this element.boolean
isEmpty()
isEmpty.boolean
isExpanded.boolean
isHasChild.boolean
isVisible.void
setExpanded
(boolean expanded) Setter for the fieldexpanded
.void
setGroupIds
(List<String> groupIds) Setter for the fieldgroupIds
.void
setHasChild
(boolean hasChild) Setter for the fieldhasChild
.void
setID
(int iD) setID.void
setParentId
(int parentId) Setter for the fieldparentId
.void
setVisible
(boolean visible) Setter for the fieldvisible
.
-
Constructor Details
-
TOCElement
public TOCElement(de.intranda.metadata.multilanguage.IMetadataValue label, String pageNo, String pageNoLabel, String iddoc, String logId, int level, String topStructPi, String thumbnailUrl, boolean accessPermissionPdf, boolean anchorOrGroup, boolean hasImages, String recordMimeType, String docStructType, String footerId) Constructor for TOCElement.
- Parameters:
label
- aIMetadataValue
object.pageNo
- aString
object.pageNoLabel
- aString
object.iddoc
- aString
object.logId
- aString
object.level
- a int.topStructPi
- aString
object.thumbnailUrl
- aString
object.accessPermissionPdf
- a boolean.anchorOrGroup
- a boolean.hasImages
- a boolean.recordMimeType
- aString
object.docStructType
- aString
object.footerId
- aString
object.
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getContentServerPdfUrl
getContentServerPdfUrl.
- Returns:
String
- Throws:
ViewerConfigurationException
- if any.
-
isAccessPermissionPdf
public boolean isAccessPermissionPdf()Checks whether the current user has permissions to download a PDFs for this element.- Returns:
- a boolean.
-
getThumbnailUrl
Getter for the field
thumbnailUrl
.- Returns:
- a
String
object.
-
getThumbnailUrl
Getter for the field
thumbnailUrl
.- Parameters:
width
- a int.height
- a int.- Returns:
- a
String
object.
-
getLabel
Getter for the field
label
.- Returns:
- the label
-
getLabel
Getter for the field
label
.- Parameters:
locale
- aLocale
object.- Returns:
- the label
-
getLabel
Getter for the field
label
.- Parameters:
locale
- aString
object.- Returns:
- the label
-
getMetadata
Getter for the field
metadata
.- Returns:
- the metadata
-
getMetadataValue
getMetadataValue.
-
getPageNo
Getter for the field
pageNo
.- Returns:
- the pageNo
-
getIddoc
Getter for the field
iddoc
.- Returns:
- the iddoc
-
getPageNoLabel
Getter for the field
pageNoLabel
.- Returns:
- the pageNoLabel
-
getTopStructPi
Getter for the field
topStructPi
.- Returns:
- the topStructPi
-
getLogId
gibt die logID aus der Mets Datei zurück- Returns:
- the logID
-
getLevel
public int getLevel()Getter for the field
level
.- Returns:
- a int.
-
getSubLabel
Deprecated.getSubLabel.
- Returns:
- the subLabel
-
getUrl
getUrl.
- Returns:
- a
String
object.
-
getUrl
Returns the URL for this element that links to the requested view type. -
getFullscreenUrl
getFullscreenUrl.
- Returns:
- the fullscreenUrl
-
getReadingModeUrl
Deprecated.renamed to fullscreengetReadingModeUrl.
- Returns:
- the fullscreenUrl
-
isVisible
public boolean isVisible()isVisible.
- Returns:
- a boolean.
-
setVisible
public void setVisible(boolean visible) Setter for the field
visible
.- Parameters:
visible
- a boolean.
-
getParentId
public int getParentId()Getter for the field
parentId
.- Returns:
- a int.
-
setParentId
public void setParentId(int parentId) Setter for the field
parentId
.- Parameters:
parentId
- a int.
-
getID
public int getID()getID.
- Returns:
- a int.
-
setID
public void setID(int iD) setID.
- Parameters:
iD
- a int.
-
isExpanded
public boolean isExpanded()isExpanded.
- Returns:
- a boolean.
-
setExpanded
public void setExpanded(boolean expanded) Setter for the field
expanded
.- Parameters:
expanded
- a boolean.
-
isHasChild
public boolean isHasChild()isHasChild.
- Returns:
- a boolean.
-
setHasChild
public void setHasChild(boolean hasChild) Setter for the field
hasChild
.- Parameters:
hasChild
- a boolean.
-
getGroupIds
Getter for the field
groupIds
.- Returns:
- the groupIds
-
setGroupIds
Setter for the field
groupIds
.- Parameters:
groupIds
- the groupIds to set
-
getRecordMimeType
Getter for the field
recordMimeType
.- Returns:
- the recordMimeType
-
isEmpty
public boolean isEmpty()isEmpty.
- Returns:
- true if label is null, empty or blank
-