Class TopicDetail
java.lang.Object
org.silverpeas.components.yellowpages.model.TopicDetail
- All Implemented Interfaces:
Serializable
This object contains elements which are displayed in a yellow page Topic
- Version:
- 1.0
- Author:
- Nicolas Eysseric
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct an empty TopicDetailTopicDetail(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 Summary
Modifier and TypeMethodDescriptionGet a ContactDetail collection containing all the contacts in this topicGet a int collection containing the number of contacts of each sub topicsorg.silverpeas.core.node.model.NodeDetailGet the detail of this topicorg.silverpeas.core.node.model.NodePKGet the Topic nodePKCollection<org.silverpeas.core.node.model.NodeDetail>getPath()Get the pathvoidsetPath(Collection<org.silverpeas.core.node.model.NodeDetail> path) Set the path
-
Field Details
-
ROOT_ID
- See Also:
-
BIN_ID
- See Also:
-
-
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
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
Get a ContactDetail collection containing all the contacts in this topic- Returns:
- a ContactDetail collection containing all the contacts in this topic
- See Also:
-
ContactDetailCollection
-
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
Set the path- Parameters:
path- a NodeDetail Collection
-