Interface DataMappingToStringLocal
public interface DataMappingToStringLocal
The interface Data mapping to string local.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant JNDINAME "java:global/CometDataMapping/DataMappingToString!com.priint.pubserver.comet.bridge.datamapping.DataMappingToStringLocal".static final StringThe constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString". -
Method Summary
Modifier and TypeMethodDescriptiongetPageIndexes(List<CometTocEntry> tocEntries) Get the page indexes from a list of toc entriesgetPageNumbers(List<CometTocEntry> tocEntries, String concatePageNumbers, String delimiter) Get the page numbers from a list of toc entriesgetPageNumbersIncludingPrefix(List<CometTocEntry> tocEntries) Get the page numbers including section prefix from a list of toc entries
-
Field Details
-
JNDINAME
The constant JNDINAME "java:global/CometDataMapping/DataMappingToString!com.priint.pubserver.comet.bridge.datamapping.DataMappingToStringLocal".- See Also:
-
MAPPED_NAME
The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString".- See Also:
-
-
Method Details
-
getPageIndexes
Get the page indexes from a list of toc entries- Parameters:
tocEntries- the toc entries- Returns:
- page indexes
- Throws:
CometException- the comet exception
-
getPageNumbers
List<String> getPageNumbers(List<CometTocEntry> tocEntries, String concatePageNumbers, String delimiter) throws CometException Get the page numbers from a list of toc entries- Parameters:
tocEntries- the toc entriesconcatePageNumbers- the concate page numbersdelimiter- the delimiter- Returns:
- page numbers
- Throws:
CometException- the comet exception
-
getPageNumbersIncludingPrefix
Get the page numbers including section prefix from a list of toc entries- Parameters:
tocEntries- the toc entries- Returns:
- page numbers including prefix
- Throws:
CometException- the comet exception
-