Skip navigation links
SAP NetWeaver 7.50 SP 13 KMC

Package com.sapportals.wcm.repository.service.comment

Provides a service for handling comments related to resources.

See: Description

Package com.sapportals.wcm.repository.service.comment Description

Provides a service for handling comments related to resources.

Package Specification

Purpose

The comment service handles comments that users store for resources. It supports add and get methods.

Configuration

The comments service can be configured with the parameters shown in the table.
The parameters can be set with the help of the user interface of the Content Management configuration framework.
For more information see the documentation Administering Content Management.


The parameters in the table that are not required have default values that are used if no value is specified.

Parameter Required Description
class Yes/no The class that implements the comment service interface and is used for this system
Repository Yes Repository where comments are stored
Root Yes The root directory of the repository where comments are stored

The following is a sample configuration entry:

Parameter Value
class com.sapportals.wcm.repository.service.comment.CommentManager
Repository /collaboration
Root comment

An instance of the comment service must be configured for each repository where it is required.

Implementation Notes

Comments are stored as files. The files are locates in the root directory for comments as shown in the example:

 /collaboration/comment/<Unique ID of Resource>/comment.txt

A namespace filter is started with the service. This filter is responsible for determining access rights.
Only users with read access for a resource can view comments assigned to the resource.

Skip navigation links
SAP NetWeaver 7.50 SP 13 KMC

Copyright 2018 SAP AG Complete Copyright Notice