Skip navigation links
SAP NetWeaver 7.50 SP 13 KMC

Package com.sapportals.wcm.repository.service.discussion

The Discussion Thread Repository Service is responsible for creating, deleting and keeping track of discussions.

See: Description

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

The Discussion Thread Repository Service is responsible for creating, deleting and keeping track of discussions.

Package Specification

Purpose

The Discussion Service provides a persistence layer for a threaded discussion.
A discussion is always bound to a specific resource. The Discussion Repository Service implements the IDiscussionManager interface. The following diagram shows the relations between the discussion interfaces:

Discussion Interfaces

Configuration

A Discussion Repository Service instance 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 configuraton framework.
For more information see the documentation Administering Content Management.

Parameters Required Description
rootpath yes collection where all discussions of this service are stored, e.g. /collaboration/discussion
class yes The Java class of the repository manager:
com.sapportals.wcm.repository.service.discussion.wcm.DiscussionManager
onlyFolderEnabled no Defines whether discussions can only be created for folders or any resource, possible values are "true" and "false".
If the parameter is missing in the configuration file the follwoing setting is assumed: "onlyFolderEnabled = false"

The following is a sample configuration entry:

repository.service.discussion.class                 = com.sapportals.wcm.repository.service.discussion.wcm.DiscussionManager
repository.service.discussion.rootpath = /collaboration/discussions
repository.service.discussion.onlyFolderEnabled = true

Implementation notes

Authorization

Users having read permission on a resource will have write permissions in a discussion.

User "anonymous" has only read permission in the discussion service.

Issues

The repository / collection where discussions are stored via the discussion service should be kept separately from the corresponding resource for which the discussion is created. 

Related Documentation

Skip navigation links
SAP NetWeaver 7.50 SP 13 KMC

Copyright 2018 SAP AG Complete Copyright Notice