Class NewsList

    • Constructor Detail

      • NewsList

        public NewsList​(List<org.silverpeas.components.quickinfo.model.News> someNews,
                        String uniqueAppId)
    • Method Detail

      • limitNews

        public void limitNews​(int size)
      • isEmpty

        public boolean isEmpty()
      • withTaxonomyButtons

        public void withTaxonomyButtons()
      • getImageSize

        public String getImageSize()
        Gets the image size the image of news MUST be displayed.

        Format MUST be "WxH" (W = width and H = height in pixels)

        Returns:
        the image size (width x height) as string.
      • setImageSize

        public void setImageSize​(String imageSize)
        Sets the image size the image of news MUST be displayed.

        Format MUST be "WxH" (W = width and H = height in pixels)

        Parameters:
        imageSize - the image size (width x height) as string.