public interface ResolvedTopicToTopicDao extends HibernateDao<ResolvedTopicToTopic>
Modifier and Type | Method and Description |
---|---|
int |
connect(Long parentTopicId,
Long childTopicId)
This method connects the both topics, means builds the needed structure.
|
int |
disconnect(Long topicId)
This method removes all connections for the given topic.
|
int |
disconnect(Long parentTopicId,
Long childTopicId)
This method removes the given child topic as child from the given parent topic.
|
boolean |
isChild(Long parentTopicId,
Long childTopicId) |
int connect(Long parentTopicId, Long childTopicId)
parentTopicId
- The parents topic id.childTopicId
- int disconnect(Long topicId)
topicId
- Id of the topic.int disconnect(Long parentTopicId, Long childTopicId)
parentTopicId
- Id of the parent topic.childTopicId
- Id of the child topic.Copyright © 2019 Communote team. All rights reserved.