C# Class Hyves.Service.HubCategoriesService

Represents the service APIs that allow access to information on Hyves hubCategories.
显示文件 Open project: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3

Public Methods

Method Description
GetChildren ( string hubCategoryId ) : Collection

Gets the hub categories by parent hub category. This corresponds to the hubCategories.getChildren Hyves method.

GetHubCategories ( Collection hubCategoryIds, bool useFancyLayout ) : Collection

Gets the desired information about the specified hubCategory. This corresponds to the hubCategories.get Hyves method.

GetHubCategoriesByHubType ( string hubType ) : Collection

Gets the hub categories by hub type. This corresponds to the hubCategories.getByHubType Hyves method.

Private Methods

Method Description
HubCategoriesService ( HyvesSession session ) : System

Method Details

GetChildren() public method

Gets the hub categories by parent hub category. This corresponds to the hubCategories.getChildren Hyves method.
public GetChildren ( string hubCategoryId ) : Collection
hubCategoryId string
return Collection

GetHubCategories() public method

Gets the desired information about the specified hubCategory. This corresponds to the hubCategories.get Hyves method.
public GetHubCategories ( Collection hubCategoryIds, bool useFancyLayout ) : Collection
hubCategoryIds Collection
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
return Collection

GetHubCategoriesByHubType() public method

Gets the hub categories by hub type. This corresponds to the hubCategories.getByHubType Hyves method.
public GetHubCategoriesByHubType ( string hubType ) : Collection
hubType string The tybe of hub to retrieve.
return Collection