[This is preliminary documentation and is subject to change.]

Updates the Topic details into the Database.

Namespace:  OfficeClip.DBLayer.OfficePortal
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public ReturnStatus UpdateTopic(
	int topicId,
	string topicName,
	string topicDesc,
	string notifyOnReply,
	string docIdList,
	string remDocIdList,
	int groupId,
	int currentUserId,
	bool isCurrentUserAdmin
)
Visual Basic (Declaration)
Public Function UpdateTopic ( _
	topicId As Integer, _
	topicName As String, _
	topicDesc As String, _
	notifyOnReply As String, _
	docIdList As String, _
	remDocIdList As String, _
	groupId As Integer, _
	currentUserId As Integer, _
	isCurrentUserAdmin As Boolean _
) As ReturnStatus
Visual C++
public:
ReturnStatus UpdateTopic(
	int topicId, 
	String^ topicName, 
	String^ topicDesc, 
	String^ notifyOnReply, 
	String^ docIdList, 
	String^ remDocIdList, 
	int groupId, 
	int currentUserId, 
	bool isCurrentUserAdmin
)

Parameters

topicId
Type: System..::.Int32
The Id of the Topic to be deleted.
topicName
Type: System..::.String
The Name of the Topic.
topicDesc
Type: System..::.String
Topic Message.
notifyOnReply
Type: System..::.String
Flag to indicate that whether to notify the creator of the topic when threre is a new reply posted to this topic.
docIdList
Type: System..::.String
Comma delimited doument ids of the documents attached with this particular topic.
remDocIdList
Type: System..::.String
Comma delimited document ids of the documents to be removed from this particular topic.
groupId
Type: System..::.Int32
The unique id of the organization
currentUserId
Type: System..::.Int32
The unique id of the user
isCurrentUserAdmin
Type: System..::.Boolean
Is the current user an administrator

Return Value

Enumerated value Utils.ReturnStatus indicating if the operation succeeded or failed. OfficeClip.Utils..::.ReturnStatus

See Also