C# Class Hyves.Service.ThreadsService

Represents the service APIs that allow access to information on Hyves threads.
Datei anzeigen Open project: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3

Public Methods

Method Description
GetComments ( string threadId ) : Collection

Gets the comments from the specified thread. This corresponds to the threads.getComments Hyves method.

GetComments ( string threadId, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the comments from the specified thread. This corresponds to the threads.getComments Hyves method.

GetThreads ( Collection threadIds ) : Collection

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.

GetThreads ( Collection threadIds, HyvesThreadResponsefield responsefields ) : Collection

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.

GetThreads ( Collection threadIds, HyvesThreadResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.

GetThreads ( Collection threadIds, bool useFancyLayout ) : Collection

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.

GetThreadsByHub ( string hubId ) : Collection

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.

GetThreadsByHub ( string hubId, HyvesThreadResponsefield responsefields ) : Collection

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.

GetThreadsByHub ( string hubId, HyvesThreadResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.

GetThreadsByHub ( string hubId, bool useFancyLayout ) : Collection

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.

Private Methods

Method Description
ConvertResponsefieldsToString ( HyvesThreadResponsefield responsefields ) : string
ThreadsService ( HyvesSession session ) : System

Method Details

GetComments() public method

Gets the comments from the specified thread. This corresponds to the threads.getComments Hyves method.
public GetComments ( string threadId ) : Collection
threadId string The requested thread Id.
return Collection

GetComments() public method

Gets the comments from the specified thread. This corresponds to the threads.getComments Hyves method.
public GetComments ( string threadId, bool useFancyLayout, int page, int resultsPerPage ) : Collection
threadId string The requested thread Id.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
page int The requested page.
resultsPerPage int The number of results per page.
return Collection

GetThreads() public method

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.
public GetThreads ( Collection threadIds ) : Collection
threadIds Collection The requested threadIds.
return Collection

GetThreads() public method

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.
public GetThreads ( Collection threadIds, HyvesThreadResponsefield responsefields ) : Collection
threadIds Collection The requested threadIds.
responsefields HyvesThreadResponsefield Get extra information from the thread.
return Collection

GetThreads() public method

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.
public GetThreads ( Collection threadIds, HyvesThreadResponsefield responsefields, bool useFancyLayout ) : Collection
threadIds Collection The requested threadIds.
responsefields HyvesThreadResponsefield Get extra information from the thread.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
return Collection

GetThreads() public method

Gets the desired information about the specified thread. This corresponds to the threads.get Hyves method.
public GetThreads ( Collection threadIds, bool useFancyLayout ) : Collection
threadIds Collection The requested threadIds.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
return Collection

GetThreadsByHub() public method

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.
public GetThreadsByHub ( string hubId ) : Collection
hubId string The requested user Id.
return Collection

GetThreadsByHub() public method

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.
public GetThreadsByHub ( string hubId, HyvesThreadResponsefield responsefields ) : Collection
hubId string The requested user Id.
responsefields HyvesThreadResponsefield Get extra information from the thread.
return Collection

GetThreadsByHub() public method

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.
public GetThreadsByHub ( string hubId, HyvesThreadResponsefield responsefields, bool useFancyLayout ) : Collection
hubId string The requested user Id.
responsefields HyvesThreadResponsefield Get extra information from the thread.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
return Collection

GetThreadsByHub() public method

Gets the desired threads from the specified user. This corresponds to the threads.getByHub Hyves method.
public GetThreadsByHub ( string hubId, bool useFancyLayout ) : Collection
hubId string The requested user Id.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
return Collection