|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.nav2.portlets.pojos.RelatedTopics
public class RelatedTopics
PUBLIC: This component can produce a model representing the associations of a given topic.
Nested Class Summary | |
---|---|
class |
RelatedTopics.Association
|
class |
RelatedTopics.Heading
|
Field Summary | |
---|---|
static int |
ORDERING_ASC
PUBLIC: Flag used to indicated ascending ordering. |
static int |
ORDERING_DESC
PUBLIC: Flag used to indicated descending ordering. |
Constructor Summary | |
---|---|
RelatedTopics()
|
Method Summary | |
---|---|
java.util.List |
makeModel(TopicIF topic)
PUBLIC: Builds a model representing the associations of the given topic. |
void |
setAggregateAssociations(java.util.Set aggregateAssociations)
PUBLIC: Sets the association types to do hierarchy aggregation for. |
void |
setAggregateHierarchy(boolean aggregateHierarchy)
PUBLIC: Sets the flag indicating whether to do hierarchy aggregation or not. |
void |
setChildOrdering(int childOrdering)
PUBLIC: Sets the ordering direction to be used for children. |
void |
setChildOrderQuery(java.lang.String childOrderQueryString)
PUBLIC: Sets the query to use to get the sort key of each child topic. |
void |
setExcludeAssociationTypes(java.util.Set types)
PUBLIC: Set the set of association types which is not to be shown. |
void |
setExcludeRoleTypes(java.util.Set types)
PUBLIC: Set the set of near roles types which is not to be included. |
void |
setExcludeTopicTypes(java.util.Set types)
PUBLIC: Set the set of topic types which is not to be shown. |
void |
setFilterQuery(java.lang.String query)
PUBLIC: Sets a query to be used to filter topics shown as related. |
void |
setHeadingOrdering(int headingOrdering)
PUBLIC: Sets the ordering direction to be used for headings. |
void |
setHeadingOrderQuery(java.lang.String headingOrderQueryString)
PUBLIC: Sets the query to use to get the sort key of each heading topic. |
void |
setIncludeAssociationTypes(java.util.Set types)
PUBLIC: Set the set of association types which is to be shown. |
void |
setIncludeTopicTypes(java.util.Set types)
PUBLIC: Set the set of topic types which is to be shown. |
void |
setMaxChildren(int maxchildren)
PUBLIC: Sets the maximum number of children for a heading to show by default. |
void |
setTologContext(DeclarationContextIF tologctx)
PUBLIC: Passes in a tolog declaration context to be used when parsing tolog queries. |
void |
setUseOntopolyNames(boolean useOntopolyNames)
|
void |
setWeakAssociationTypes(java.util.Set weaktypes)
PUBLIC: Set the set of association types which is to be considered weak in the sense that associations of these types are to be listed under the heading for the topic type of the associated topics, and not under the association type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ORDERING_ASC
public static final int ORDERING_DESC
Constructor Detail |
---|
public RelatedTopics()
Method Detail |
---|
public void setWeakAssociationTypes(java.util.Set weaktypes)
public void setExcludeAssociationTypes(java.util.Set types)
public void setExcludeRoleTypes(java.util.Set types)
public void setExcludeTopicTypes(java.util.Set types)
public void setIncludeAssociationTypes(java.util.Set types)
public void setIncludeTopicTypes(java.util.Set types)
public void setFilterQuery(java.lang.String query)
public void setMaxChildren(int maxchildren)
public void setHeadingOrderQuery(java.lang.String headingOrderQueryString)
public void setHeadingOrdering(int headingOrdering)
public void setChildOrderQuery(java.lang.String childOrderQueryString)
public void setChildOrdering(int childOrdering)
public void setAggregateHierarchy(boolean aggregateHierarchy)
public void setAggregateAssociations(java.util.Set aggregateAssociations)
public void setTologContext(DeclarationContextIF tologctx)
public java.util.List makeModel(TopicIF topic)
public void setUseOntopolyNames(boolean useOntopolyNames)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |