Interface DataMappingToStringLocal


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String JNDINAME
      The constant JNDINAME "java:global/CometDataMapping/DataMappingToString!com.priint.pubserver.comet.bridge.datamapping.DataMappingToStringLocal".
      static java.lang.String MAPPED_NAME
      The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString".
    • Field Detail

      • JNDINAME

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

        static final java.lang.String MAPPED_NAME
        The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString".
        See Also:
        Constant Field Values
    • Method Detail

      • getPageIndexes

        java.util.List<java.lang.String> getPageIndexes​(java.util.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

        java.util.List<java.lang.String> getPageNumbers​(java.util.List<CometTocEntry> tocEntries,
                                                        java.lang.String concatePageNumbers,
                                                        java.lang.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

        java.util.List<java.lang.String> getPageNumbersIncludingPrefix​(java.util.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