SOA Governance and API Management : CentraSite Developers Guide : Pluggable Architecture : Customizing Content Pages : Extension Points : Append Root Node to Topic
Append Root Node to Topic
Usage
Append a root node to an existing topic.
Attributes
*point="com.centrasite.control.topicItems"
*id
*class
Interface
TopicItems
*boolean appliesTo (Topic)
*Collection getItems()
Abstract base class
AbstractTopicItems
Processing
For each topic whose implementation class is derived from a class named BaseTopic (true for all topics contributed by CentraSite Control) it is checked whether there are any extension for the topicItems extension point. Each extension whose appliesTo() method returns true, the collection of Item objects returned by getItems() is appended to the set of root nodes for the corresponding topic.
Provided by
CentraSite Control
Example
<extension point="com.centrasite.control.topicItems"
id="filesystem"
topic="com.centrasite.control.administration"
class="com.centrasite.control.ext.junit.
FileSystemTopicItems">
</extension>
Note:  
Here, the FileSystemTopicItems extension is an extension of the base class AbstractTopicItems whose appliesTo() method returns true if the value of the topic attribute matches the ID of the topic being passed.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback