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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopicDetail()
Construct 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<UserContact>
getContactDetails()
Get a ContactDetail collection containing all the contacts in this topicCollection<Integer>
getNbContactByTopic()
Get a int collection containing the number of contacts of each sub topicsorg.silverpeas.core.node.model.NodeDetail
getNodeDetail()
Get the detail of this topicorg.silverpeas.core.node.model.NodePK
getNodePK()
Get the Topic nodePKCollection<org.silverpeas.core.node.model.NodeDetail>
getPath()
Get the pathvoid
setPath(Collection<org.silverpeas.core.node.model.NodeDetail> path)
Set the path
-
-
-
Field Detail
-
ROOT_ID
public static final String ROOT_ID
- See Also:
- Constant Field Values
-
BIN_ID
public static final String BIN_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
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:
ContactDetail
,Collection
-
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:
Collection
-
setPath
public void setPath(Collection<org.silverpeas.core.node.model.NodeDetail> path)
Set the path- Parameters:
path
- a NodeDetail Collection
-
-