Class CommentedPublicationInfo

    • Constructor Detail

      • CommentedPublicationInfo

        public CommentedPublicationInfo​(String publicationType,
                                        String publicationId,
                                        String componentId,
                                        int commentCount)
        Constructs a new CommentedPublicationInfo instance.
        Parameters:
        publicationType - type of the commented publication.
        publicationId - identifier of the commented publication.
        componentId - identifier of the Silverpeas component to which the publication belongs.
        commentCount - number of comments on the publucation.
    • Method Detail

      • getCommentCount

        public int getCommentCount()
        Gets the number of comments on the publication.
        Returns:
        the comments count.
      • getComponentId

        public String getComponentId()
        Gets the identifier of the Silverpeas component to which the publication belongs.
        Returns:
        the Silverpeas component instance identifier.
      • getPublicationType

        public String getPublicationType()
        Gets the type of the publication.
        Returns:
        the publication identifier.
      • getPublicationId

        public String getPublicationId()
        Gets the identifier of the publication.
        Returns:
        the publication identifier.