A TagGraphWriter is created using a Spring bean with the following attributes:
Attribute | Value | Description |
---|---|---|
id | User-defined | A unique ID for the bean. |
parent | alfresco.rdf.tagGraphWriter.mappings.abstract | The parent bean. |
The TagGraphWriter bean takes the following properties:
Property | Type | Mandatory | Description |
---|---|---|---|
mappings | Map <QName,QName> | Required | Map defining how predicates should be mapped to Alfresco properties. Use a fully-qualified name with Clark notation as the key of the entry. |
<bean id="samples.tagGraphWriter.mappings" parent="alfresco.rdf.tagGraphWriter.mappings.abstract"> <property name="mappings"> <map> <entry key="{http://www.componize.com/model/samples/troubleshooting/1.0/}tsResponseRoleLabel" value="{http://www.alfresco.org/model/content/1.0}taggable" /> </map> </property> </bean>
To debug your TagGraphWriter, add the following entry to your
log4j.properties
file:
com.componize.alfresco.repo.rdf.CategoryGraphWriter=trace