Ektron.Cms.Framework.Community.MicromessageManager

Micro Message Manager

Properties
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
ContentLanguage Gets or sets the current content language.
InPreviewMode Gets or sets the current Preview Mode. Returns true if the site is in site preview mode.
MicromessageManagerService returns an instance of the business objects micromessage manager service.
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
Method Description
MicromessageManager Constructor
MicromessageManager(ApiAccessMode) Constructor
GetList(MicroMessageCriteria) Gets data from the database using the criteria object.
GetUserMessageList(Int64,PagingInfo) Gets a list of messages that the user has sent.
GetPublicMessageList(PagingInfo) Gets a filtered list of messages that the requesting user can see. The list includes public and colleagues messages.
GetColleagueMessageList(PagingInfo) Gets a list of only colleagues Messages.
GetItem(Int64) Gets a single record from the database.
GetSearchList(String,PagingInfo) Gets the search results for test search.
IsFullTextSearchInstalled Checks if full text search is installed on the database.
Add(MicroMessageData) Adds a new message.
Delete(Int64) Deletes a record from the database.
GetReplyList(Int64) Gets a list of replies for a Message.
AddReply(Int64,String) Adds a new reply.
IsSpam(MicroMessageSpamControlType,Int32,MicroMessageData) Returns a boolean indicating wheather a message is IsSpam or not