C# 클래스 Hyves.Service.GadgetsService

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

공개 메소드들

메소드 설명
CreateGadget ( string specUrl, HyvesVisibility visibility, bool onProfilePage, bool onHomepage ) : Gadget

Create a gadget by XML (OpenSocial) for the current user. This corresponds to the gadgets.createByXML Hyves method.

CreateGadget ( string title, string html, HyvesVisibility visibility, bool mayCopy ) : Gadget

Create a gadget for the current user. This corresponds to the gadgets.create Hyves method.

CreateRespect ( string targetGadgetID, HyvesRespectType respectType ) : bool

Creates respect for an gadget. This corresponds to the gadgets.createRespect Hyves method.

GetComments ( string gadgetId ) : Collection

Gets the comments from the specified gadget. This corresponds to the gadgets.getComments Hyves method.

GetComments ( string gadgetId, bool useFancyLayout ) : Collection

Gets the comments from the specified gadget. This corresponds to the gadgets.getComments Hyves method.

GetGadget ( string gadgetId ) : Gadget

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadget ( string gadgetId, HyvesGadgetResponsefield responsefield ) : Gadget

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadget ( string gadgetId, HyvesGadgetResponsefield responsefields, bool useFancyLayout ) : Gadget

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadget ( string gadgetId, bool useFancyLayout ) : Gadget

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadgets ( Collection gadgetIds ) : Collection

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadgets ( Collection gadgetIds, HyvesGadgetResponsefield responsefield ) : Collection

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadgets ( Collection gadgetIds, HyvesGadgetResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadgets ( Collection gadgetIds, bool useFancyLayout ) : Collection

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.

GetGadgetsByHub ( string hubId ) : Collection

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.

GetGadgetsByHub ( string hubId, HyvesGadgetResponsefield responsefield ) : Collection

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.

GetGadgetsByHub ( string hubId, HyvesGadgetResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.

GetGadgetsByHub ( string hubId, bool useFancyLayout ) : Collection

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.

GetGadgetsByUser ( string userId ) : Collection

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

GetGadgetsByUser ( string userId, HyvesGadgetResponsefield responsefield ) : Collection

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

GetGadgetsByUser ( string userId, HyvesGadgetResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetGadgetsByUser ( string userId, bool useFancyLayout ) : Collection

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

GetRespects ( string gadgetId ) : Collection

Gets the respects from the specified gadget. This corresponds to the gadgets.getRespects Hyves method.

GetRespects ( string gadgetId, bool useFancyLayout ) : Collection

Gets the respects from the specified gadget. This corresponds to the gadgets.getRespects Hyves method.

비공개 메소드들

메소드 설명
ConvertResponsefieldsToString ( HyvesGadgetResponsefield responsefields ) : string
GadgetsService ( HyvesSession session ) : System

메소드 상세

CreateGadget() 공개 메소드

Create a gadget by XML (OpenSocial) for the current user. This corresponds to the gadgets.createByXML Hyves method.
public CreateGadget ( string specUrl, HyvesVisibility visibility, bool onProfilePage, bool onHomepage ) : Gadget
specUrl string Url where the gadget spec for the gadget can be found.
visibility HyvesVisibility The visibility of the gadget.
onProfilePage bool Show gadget on profilepage.
onHomepage bool Show gadget on the homepage.
리턴 Gadget

CreateGadget() 공개 메소드

Create a gadget for the current user. This corresponds to the gadgets.create Hyves method.
public CreateGadget ( string title, string html, HyvesVisibility visibility, bool mayCopy ) : Gadget
title string The title of the gadget.
html string The html of the gadget.
visibility HyvesVisibility The visibility of the gadget.
mayCopy bool Allow to copy this gadget.
리턴 Gadget

CreateRespect() 공개 메소드

Creates respect for an gadget. This corresponds to the gadgets.createRespect Hyves method.
public CreateRespect ( string targetGadgetID, HyvesRespectType respectType ) : bool
targetGadgetID string A single gadgetid.
respectType HyvesRespectType The type of the respect.
리턴 bool

GetComments() 공개 메소드

Gets the comments from the specified gadget. This corresponds to the gadgets.getComments Hyves method.
public GetComments ( string gadgetId ) : Collection
gadgetId string The requested gadget ID.
리턴 Collection

GetComments() 공개 메소드

Gets the comments from the specified gadget. This corresponds to the gadgets.getComments Hyves method.
public GetComments ( string gadgetId, bool useFancyLayout ) : Collection
gadgetId string The requested gadget ID.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetGadget() 공개 메소드

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.
public GetGadget ( string gadgetId ) : Gadget
gadgetId string The requested gadgetId.
리턴 Gadget

GetGadget() 공개 메소드

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.
public GetGadget ( string gadgetId, HyvesGadgetResponsefield responsefield ) : Gadget
gadgetId string The requested gadgetId.
responsefield HyvesGadgetResponsefield
리턴 Gadget

GetGadget() 공개 메소드

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.
public GetGadget ( string gadgetId, HyvesGadgetResponsefield responsefields, bool useFancyLayout ) : Gadget
gadgetId string The requested gadgetId.
responsefields HyvesGadgetResponsefield Get extra information from the gadget.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Gadget

GetGadget() 공개 메소드

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.
public GetGadget ( string gadgetId, bool useFancyLayout ) : Gadget
gadgetId string The requested gadgetId.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Gadget

GetGadgets() 공개 메소드

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.
public GetGadgets ( Collection gadgetIds ) : Collection
gadgetIds Collection
리턴 Collection

GetGadgets() 공개 메소드

Gets the desired information about the specified gadget. This corresponds to the gadgets.get Hyves method.
public GetGadgets ( Collection gadgetIds, HyvesGadgetResponsefield responsefield ) : Collection
gadgetIds Collection
responsefield HyvesGadgetResponsefield
리턴 Collection

GetGadgets() 공개 메소드

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

GetGadgets() 공개 메소드

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

GetGadgetsByHub() 공개 메소드

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.
public GetGadgetsByHub ( string hubId ) : Collection
hubId string The requested hub Id.
리턴 Collection

GetGadgetsByHub() 공개 메소드

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.
public GetGadgetsByHub ( string hubId, HyvesGadgetResponsefield responsefield ) : Collection
hubId string The requested hub Id.
responsefield HyvesGadgetResponsefield
리턴 Collection

GetGadgetsByHub() 공개 메소드

Gets the desired gadgets from the specified hub. This corresponds to the gadgets.getByHub Hyves method.
public GetGadgetsByHub ( string hubId, HyvesGadgetResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
hubId string The requested hub Id.
responsefields HyvesGadgetResponsefield
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

GetGadgetsByHub() 공개 메소드

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

GetGadgetsByUser() 공개 메소드

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

GetGadgetsByUser() 공개 메소드

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

GetGadgetsByUser() 공개 메소드

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

GetGadgetsByUser() 공개 메소드

Gets the desired gadgets from the specified user. This corresponds to the gadgets.getByUser Hyves method.
public GetGadgetsByUser ( 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

GetRespects() 공개 메소드

Gets the respects from the specified gadget. This corresponds to the gadgets.getRespects Hyves method.
public GetRespects ( string gadgetId ) : Collection
gadgetId string The requested gadget ID.
리턴 Collection

GetRespects() 공개 메소드

Gets the respects from the specified gadget. This corresponds to the gadgets.getRespects Hyves method.
public GetRespects ( string gadgetId, bool useFancyLayout ) : Collection
gadgetId string The requested gadget ID.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection