Interface BlogViewerService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getArticles​(java.lang.String regexFilter)
      This method retrieves a map, which can be processed in a templates.
      java.util.List<java.util.Map<java.lang.String,​java.lang.String>> getContainerArticles​(java.lang.String blogId)
      This method retrieves a map, which can be processed in a templates.
      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getRelatedBlogs​(java.lang.String blogId, java.lang.String size)
      This method retrieves a map, which can be processed in a templates.
      boolean isContainerTypeEqualsTo​(java.lang.String blogId, java.lang.String type)
      This method does return boolean result.
    • Method Detail

      • getArticles

        java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getArticles​(java.lang.String regexFilter)
        This method retrieves a map, which can be processed in a templates.
        Parameters:
        regexFilter - regexp for a filtering by "_id" field of database entity
        Returns:
        map-representation of data
      • getContainerArticles

        java.util.List<java.util.Map<java.lang.String,​java.lang.String>> getContainerArticles​(java.lang.String blogId)
        This method retrieves a map, which can be processed in a templates.
        Parameters:
        blogId - identification for database entity which will be retrieved
        Returns:
        map-representation of data
      • getRelatedBlogs

        java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getRelatedBlogs​(java.lang.String blogId,
                                                                                               java.lang.String size)
        This method retrieves a map, which can be processed in a templates.
        Parameters:
        blogId - identification for database entity which will be retrieved
        size - the quantity of returned items
        Returns:
        map-representation of data
      • isContainerTypeEqualsTo

        boolean isContainerTypeEqualsTo​(java.lang.String blogId,
                                        java.lang.String type)
        This method does return boolean result.
        Parameters:
        blogId - identification for database entity which will be retrieved
        type - value to check
        Returns:
        value as boolean