Interface DataMappingToStringLocal


public interface DataMappingToStringLocal
The interface Data mapping to string local.
  • Field Details

    • JNDINAME

      static final String JNDINAME
      The constant JNDINAME "java:global/CometDataMapping/DataMappingToString!com.priint.pubserver.comet.bridge.datamapping.DataMappingToStringLocal".
      See Also:
    • MAPPED_NAME

      static final String MAPPED_NAME
      The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString".
      See Also:
  • Method Details

    • getPageIndexes

      List<String> getPageIndexes(List<CometTocEntry> tocEntries) throws CometException
      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 entries
      concatePageNumbers - the concate page numbers
      delimiter - the delimiter
      Returns:
      page numbers
      Throws:
      CometException - the comet exception
    • getPageNumbersIncludingPrefix

      List<String> getPageNumbersIncludingPrefix(List<CometTocEntry> tocEntries) throws CometException
      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