Class TopicDetail

java.lang.Object
org.silverpeas.components.yellowpages.model.TopicDetail
All Implemented Interfaces:
Serializable

public class TopicDetail extends Object implements Serializable
This object contains elements which are displayed in a yellow page Topic
Version:
1.0
Author:
Nicolas Eysseric
See Also:
  • Field Details

  • Constructor Details

    • TopicDetail

      public TopicDetail()
      Construct an empty TopicDetail
    • TopicDetail

      public TopicDetail(Collection<org.silverpeas.core.node.model.NodeDetail> path, org.silverpeas.core.node.model.NodeDetail nodeDetail, Collection<UserContact> contactDetails, Collection<Integer> nbContactByTopic)
      Create a new TopicDetail
  • Method Details

    • getPath

      public Collection<org.silverpeas.core.node.model.NodeDetail> getPath()
      Get the path
      Returns:
      the path
    • getNodePK

      public org.silverpeas.core.node.model.NodePK getNodePK()
      Get the Topic nodePK
      Returns:
      the Topic nodePK
      See Also:
      • NodePK
    • getNodeDetail

      public org.silverpeas.core.node.model.NodeDetail getNodeDetail()
      Get the detail of this topic
      Returns:
      the detail of this topic
      See Also:
      • NodeDetail
    • getContactDetails

      public Collection<UserContact> getContactDetails()
      Get a ContactDetail collection containing all the contacts in this topic
      Returns:
      a ContactDetail collection containing all the contacts in this topic
      See Also:
    • getNbContactByTopic

      public Collection<Integer> getNbContactByTopic()
      Get a int collection containing the number of contacts of each sub topics
      Returns:
      a int collection containing the number of contacts of each sub topics
      See Also:
    • setPath

      public void setPath(Collection<org.silverpeas.core.node.model.NodeDetail> path)
      Set the path
      Parameters:
      path - a NodeDetail Collection