com.stratelia.webactiv.yellowpages.model
Class TopicDetail

java.lang.Object
  extended by com.stratelia.webactiv.yellowpages.model.TopicDetail
All Implemented Interfaces:
Serializable

public class TopicDetail
extends Object
implements Serializable

This object contains elements which are displayed in a yellowpages Topic

Version:
1.0
Author:
Nicolas Eysseric
See Also:
Serialized Form

Constructor Summary
TopicDetail()
          Construct an empty TopicDetail
TopicDetail(Collection<com.stratelia.webactiv.util.node.model.NodeDetail> path, com.stratelia.webactiv.util.node.model.NodeDetail nodeDetail, Collection<UserContact> contactDetails, Collection<Integer> nbContactByTopic)
          Create a new TopicDetail
 
Method Summary
 Collection<UserContact> getContactDetails()
          Get a ContactDetail collection containing all the contacts in this topic
 Collection<Integer> getNbContactByTopic()
          Get a int collection containing the number of contacts of each sub topics
 com.stratelia.webactiv.util.node.model.NodeDetail getNodeDetail()
          Get the detail of this topic
 com.stratelia.webactiv.util.node.model.NodePK getNodePK()
          Get the Topic nodePK
 Collection<com.stratelia.webactiv.util.node.model.NodeDetail> getPath()
          Get the path
 void setContactDetails(Collection<UserContact> pd)
          Set the contact details of each contact containing in this topic
 void setNbContactByTopic(Collection<Integer> nbContactByTopic)
          Set the number of contacts in each sub topics
 void setNodeDetail(com.stratelia.webactiv.util.node.model.NodeDetail nd)
          Set the detail of this topic
 void setPath(Collection<com.stratelia.webactiv.util.node.model.NodeDetail> path)
          Set the path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicDetail

public TopicDetail()
Construct an empty TopicDetail

Since:
1.0

TopicDetail

public TopicDetail(Collection<com.stratelia.webactiv.util.node.model.NodeDetail> path,
                   com.stratelia.webactiv.util.node.model.NodeDetail nodeDetail,
                   Collection<UserContact> contactDetails,
                   Collection<Integer> nbContactByTopic)
Create a new TopicDetail

Since:
1.0
Method Detail

getPath

public Collection<com.stratelia.webactiv.util.node.model.NodeDetail> getPath()
Get the path

Returns:
the path
Since:
1.0

getNodePK

public com.stratelia.webactiv.util.node.model.NodePK getNodePK()
Get the Topic nodePK

Returns:
the Topic nodePK
Since:
1.0
See Also:
NodePK

getNodeDetail

public com.stratelia.webactiv.util.node.model.NodeDetail getNodeDetail()
Get the detail of this topic

Returns:
the detail of this topic
Since:
1.0
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
Since:
1.0
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
Since:
1.0
See Also:
Collection

setPath

public void setPath(Collection<com.stratelia.webactiv.util.node.model.NodeDetail> path)
Set the path

Parameters:
path - a NodeDetail Collection
Since:
1.0

setNodeDetail

public void setNodeDetail(com.stratelia.webactiv.util.node.model.NodeDetail nd)
Set the detail of this topic

Parameters:
nd - the topic NodeDetail
Since:
1.0

setContactDetails

public void setContactDetails(Collection<UserContact> pd)
Set the contact details of each contact containing in this topic

Parameters:
pd - a ContactDetail Collection
Since:
1.0

setNbContactByTopic

public void setNbContactByTopic(Collection<Integer> nbContactByTopic)
Set the number of contacts in each sub topics

Parameters:
nbContactByTopic - a int Collection
Since:
1.0


Copyright © 2016 Silverpeas. All Rights Reserved.