Interface SpaceService.SpaceContentFinder

  • All Known Implementing Classes:
    SpaceServiceImpl.SpaceContentImpl
    Enclosing interface:
    SpaceService

    public static interface SpaceService.SpaceContentFinder
    A finder interface to encapsulate finding content in a particular space
    • Method Detail

      • withDepth

        SpaceService.SpaceContentFinder withDepth​(Depth depth)
        Applies a depth filter the content in this space retrieved by the finder, presently only pages participate in the space content hierarchy, the depth filter has no effect on other content type
        Parameters:
        depth - - the depth to retrieve content at
        Returns:
        a page of content in this space at the given depth
        Throws:
        BadRequestException - if the requested depth is deeper than what can be provided