Interface PathSegmentService

    • Method Detail

      • generatePathSegment

        String generatePathSegment​(DocumentModel doc)
        Generate the path segment to use for a DocumentModel that's about to be created.
        Parameters:
        doc - the document
        Returns:
        the path segment, which must not contain any / character
      • generatePathSegment

        String generatePathSegment​(String s)
        Generate the path segment to use from a string.
        Parameters:
        s - the string
        Returns:
        the path segment, which must not contain any / character
        Since:
        5.9.2
      • getMaxSize

        int getMaxSize()
        Return the path segment max size
        Since:
        7.4