C# 클래스 Hyves.Service.HubsService

Represents the service APIs that allow access to information on Hyves hubs.
파일 보기 프로젝트 열기: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3

공개 메소드들

메소드 설명
GetHub ( string hubId ) : Hub

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHub ( string hubId, HyvesHubResponsefield responsefield ) : Hub

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHub ( string hubId, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Hub

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHub ( string hubId, bool useFancyLayout ) : Hub

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHubByShortName ( string shortName ) : Hub

Gets the desired hub from the specified short name. This corresponds to the hubs.getByShortname Hyves method.

GetHubByShortName ( string shortName, bool useFancyLayout ) : Hub

Gets the desired hub from the specified short name. This corresponds to the hubs.getByShortname Hyves method.

GetHubByShortName ( string shortName, string hubType, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Hub

Gets the desired hub from the specified short name. This corresponds to the hubs.getByShortname Hyves method.

GetHubTypes ( ) : Collection

Gets the hub types. This corresponds to the hubs.getHubTypes Hyves method.

GetHubs ( Collection hubIds ) : Collection

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHubs ( Collection hubIds, HyvesHubResponsefield responsefield ) : Collection

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHubs ( Collection hubIds, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHubs ( Collection hubIds, bool useFancyLayout ) : Collection

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.

GetHubsByCategory ( string hubCategoryId, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired hubs from the specified category. This corresponds to the hubs.getByHubCategory Hyves method.

GetHubsByShortName ( Collection shortNames ) : Collection

Gets the desired hubs from the specified short names. This corresponds to the hubs.getByShortname Hyves method.

GetHubsByShortName ( Collection shortNames, bool useFancyLayout ) : Collection

Gets the desired hubs from the specified short names. This corresponds to the hubs.getByShortname Hyves method.

GetHubsByShortName ( Collection shortNames, string hubType, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired hubs from the specified short names. This corresponds to the hubs.getByShortname Hyves method.

GetHubsByUser ( string userId ) : Collection

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.

GetHubsByUser ( string userId, HyvesHubResponsefield responsefield ) : Collection

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.

GetHubsByUser ( string userId, HyvesHubResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.

GetHubsByUser ( string userId, bool useFancyLayout ) : Collection

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.

GetHubsByUser ( string userId, string hubType, Collection hubCategoryIds, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the hubs of an user. This corresponds to the hubs.getByUser Hyves method.

GetScraps ( string targetHubId, HyvesSortOrder sortOrder, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the scraps from the specified hub. This corresponds to the hubs.getScraps Hyves method.

Search ( string searchterms, string hubType, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection

Search for hubs based on basic queries (keywords like city, name). This corresponds to the hubs.search Hyves method.

SubscripeHub ( string hubId ) : HubStats

Subscribe the current user to a hub. This corresponds to the hubs.subscribe Hyves method.

Spam sensitive method (for trusted partners only).

UpdateHubMedia ( string hubId, string mediaId ) : void

Update the media associated with a hub. This corresponds to the hubs.updateMedia Hyves method.

비공개 메소드들

메소드 설명
ConvertResponsefieldsToString ( HyvesHubResponsefield responsefields ) : string
HubsService ( HyvesSession session ) : System

메소드 상세

GetHub() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHub ( string hubId ) : Hub
hubId string The requested hubId.
리턴 Hub

GetHub() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHub ( string hubId, HyvesHubResponsefield responsefield ) : Hub
hubId string The requested hubId.
responsefield HyvesHubResponsefield
리턴 Hub

GetHub() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHub ( string hubId, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Hub
hubId string The requested hubId.
responsefields HyvesHubResponsefield Get extra information from the hub.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Hub

GetHub() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHub ( string hubId, bool useFancyLayout ) : Hub
hubId string The requested hubId.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Hub

GetHubByShortName() 공개 메소드

Gets the desired hub from the specified short name. This corresponds to the hubs.getByShortname Hyves method.
public GetHubByShortName ( string shortName ) : Hub
shortName string The short name of the hub.
리턴 Hub

GetHubByShortName() 공개 메소드

Gets the desired hub from the specified short name. This corresponds to the hubs.getByShortname Hyves method.
public GetHubByShortName ( string shortName, bool useFancyLayout ) : Hub
shortName string The short name of the hub.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Hub

GetHubByShortName() 공개 메소드

Gets the desired hub from the specified short name. This corresponds to the hubs.getByShortname Hyves method.
public GetHubByShortName ( string shortName, string hubType, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Hub
shortName string The short name of the hub.
hubType string The tybe of hub to retrieve (leave empty for all hub types).
responsefields HyvesHubResponsefield Get extra information from the requested hub.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Hub

GetHubTypes() 공개 메소드

Gets the hub types. This corresponds to the hubs.getHubTypes Hyves method.
public GetHubTypes ( ) : Collection
리턴 Collection

GetHubs() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHubs ( Collection hubIds ) : Collection
hubIds Collection
리턴 Collection

GetHubs() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHubs ( Collection hubIds, HyvesHubResponsefield responsefield ) : Collection
hubIds Collection
responsefield HyvesHubResponsefield
리턴 Collection

GetHubs() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHubs ( Collection hubIds, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection
hubIds Collection
responsefields HyvesHubResponsefield Get extra information from the hub.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetHubs() 공개 메소드

Gets the desired information about the specified hub. This corresponds to the hubs.get Hyves method.
public GetHubs ( Collection hubIds, bool useFancyLayout ) : Collection
hubIds Collection
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetHubsByCategory() 공개 메소드

Gets the desired hubs from the specified category. This corresponds to the hubs.getByHubCategory Hyves method.
public GetHubsByCategory ( string hubCategoryId, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection
hubCategoryId string The identifier for the hub category.
responsefields HyvesHubResponsefield Get extra information from the requested hub.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetHubsByShortName() 공개 메소드

Gets the desired hubs from the specified short names. This corresponds to the hubs.getByShortname Hyves method.
public GetHubsByShortName ( Collection shortNames ) : Collection
shortNames Collection
리턴 Collection

GetHubsByShortName() 공개 메소드

Gets the desired hubs from the specified short names. This corresponds to the hubs.getByShortname Hyves method.
public GetHubsByShortName ( Collection shortNames, bool useFancyLayout ) : Collection
shortNames Collection
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetHubsByShortName() 공개 메소드

Gets the desired hubs from the specified short names. This corresponds to the hubs.getByShortname Hyves method.
public GetHubsByShortName ( Collection shortNames, string hubType, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection
shortNames Collection
hubType string The tybe of hub to retrieve (leave empty for all hub types).
responsefields HyvesHubResponsefield Get extra information from the requested hub.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetHubsByUser() 공개 메소드

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.
public GetHubsByUser ( string userId ) : Collection
userId string The requested user Id.
리턴 Collection

GetHubsByUser() 공개 메소드

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.
public GetHubsByUser ( string userId, HyvesHubResponsefield responsefield ) : Collection
userId string The requested user Id.
responsefield HyvesHubResponsefield
리턴 Collection

GetHubsByUser() 공개 메소드

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.
public GetHubsByUser ( string userId, HyvesHubResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
userId string The requested user Id.
responsefields HyvesHubResponsefield
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.
리턴 Collection

GetHubsByUser() 공개 메소드

Gets the desired hubs from the specified user. This corresponds to the hubs.getByUser Hyves method.
public GetHubsByUser ( string userId, bool useFancyLayout ) : Collection
userId string The requested user Id.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetHubsByUser() 공개 메소드

Gets the hubs of an user. This corresponds to the hubs.getByUser Hyves method.
public GetHubsByUser ( string userId, string hubType, Collection hubCategoryIds, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection
userId string The userId of the user.
hubType string The tybe of hub to retrieve (leave empty for all hub types).
hubCategoryIds Collection A list of identifiers for hub categories (leave empty for all hub categories).
responsefields HyvesHubResponsefield Get extra information from the requested hubs.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetScraps() 공개 메소드

Gets the scraps from the specified hub. This corresponds to the hubs.getScraps Hyves method.
public GetScraps ( string targetHubId, HyvesSortOrder sortOrder, bool useFancyLayout, int page, int resultsPerPage ) : Collection
targetHubId string The requested hub Id.
sortOrder HyvesSortOrder The sort order of the results.
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.
리턴 Collection

Search() 공개 메소드

Search for hubs based on basic queries (keywords like city, name). This corresponds to the hubs.search Hyves method.
public Search ( string searchterms, string hubType, HyvesHubResponsefield responsefields, bool useFancyLayout ) : Collection
searchterms string The searchterms to search for.
hubType string The tybe of hub to retrieve (leave empty for all hub types).
responsefields HyvesHubResponsefield Get extra information from the requested hubs.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

SubscripeHub() 공개 메소드

Subscribe the current user to a hub. This corresponds to the hubs.subscribe Hyves method.
Spam sensitive method (for trusted partners only).
public SubscripeHub ( string hubId ) : HubStats
hubId string The identifier for the hub.
리턴 HubStats

UpdateHubMedia() 공개 메소드

Update the media associated with a hub. This corresponds to the hubs.updateMedia Hyves method.
public UpdateHubMedia ( string hubId, string mediaId ) : void
hubId string The identifier for the hub.
mediaId string The identifier for the media.
리턴 void