C# Класс Hyves.Service.WwwsService

Represents the service APIs that allow access to information on Hyves www (Who What Where).
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateRespect ( string targetWwwId, HyvesRespectType respectType ) : bool

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

CreateWww ( string emotion, HyvesVisibility visibility, string hubId, string privateSpotId, string where, float latitude, float longitude ) : Www

Create a new www for the current user. This corresponds to the www.create Hyves method.

GetComments ( string wwwId ) : Collection

Gets the comments from the specified www. This corresponds to the wwws.getComments Hyves method.

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

Gets the comments from the specified www. This corresponds to the wwws.getComments Hyves method.

GetRespects ( string wwwId ) : Collection

Gets the respects from the specified www. This corresponds to the wwws.getRespects Hyves method.

GetRespects ( string wwwId, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the respects from the specified www. This corresponds to the wwws.getRespects Hyves method.

GetWww ( string wwwID ) : Www

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.

GetWww ( string wwwID, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Www

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.

GetWwws ( Collection wwwIDs ) : Collection

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.

GetWwws ( Collection wwwIDs, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.

GetWwwsByHub ( string hubId, HyvesWwwResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetWwwsByUser ( string userId ) : Collection

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

GetWwwsByUser ( string userId, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Collection

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

GetWwwsByUser ( string userId, HyvesWwwResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetWwwsForFriends ( HyvesWwwResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Retrieves the most recent wwws for the friends of the loggedin user. This corresponds to the wwws.getForFriends Hyves method.

GetWwwsForFriends ( bool useFancyLayout ) : Collection

Retrieves the most recent wwws for the friends of the loggedin user. This corresponds to the wwws.getForFriends Hyves method.

SearchPublic ( string searchterms, string scopeMinId, string scopeMaxId, int limit, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Collection

Search in public wwws. This corresponds to the wwws.searchPublic Hyves method.

Приватные методы

Метод Описание
ConvertResponsefieldsToString ( HyvesWwwResponsefield responsefields ) : string
WwwsService ( HyvesSession session ) : System

Описание методов

CreateRespect() публичный Метод

Creates respect for an www. This corresponds to the www.createRespect Hyves method.
public CreateRespect ( string targetWwwId, HyvesRespectType respectType ) : bool
targetWwwId string A single www id.
respectType HyvesRespectType The type of the respect.
Результат bool

CreateWww() публичный Метод

Create a new www for the current user. This corresponds to the www.create Hyves method.
public CreateWww ( string emotion, HyvesVisibility visibility, string hubId, string privateSpotId, string where, float latitude, float longitude ) : Www
emotion string The emotion of the www.
visibility HyvesVisibility The visibility of the www.
hubId string
privateSpotId string
where string The where of the www.
latitude float
longitude float
Результат Www

GetComments() публичный Метод

Gets the comments from the specified www. This corresponds to the wwws.getComments Hyves method.
public GetComments ( string wwwId ) : Collection
wwwId string The requested www ID.
Результат Collection

GetComments() публичный Метод

Gets the comments from the specified www. This corresponds to the wwws.getComments Hyves method.
public GetComments ( string wwwId, bool useFancyLayout, int page, int resultsPerPage ) : Collection
wwwId string The requested www 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.
Результат Collection

GetRespects() публичный Метод

Gets the respects from the specified www. This corresponds to the wwws.getRespects Hyves method.
public GetRespects ( string wwwId ) : Collection
wwwId string The requested www ID.
Результат Collection

GetRespects() публичный Метод

Gets the respects from the specified www. This corresponds to the wwws.getRespects Hyves method.
public GetRespects ( string wwwId, bool useFancyLayout, int page, int resultsPerPage ) : Collection
wwwId string The requested www 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.
Результат Collection

GetWww() публичный Метод

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.
public GetWww ( string wwwID ) : Www
wwwID string The requested wwwID.
Результат Www

GetWww() публичный Метод

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.
public GetWww ( string wwwID, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Www
wwwID string The requested wwwID.
responsefields HyvesWwwResponsefield Get extra information from the requested www.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Www

GetWwws() публичный Метод

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.
public GetWwws ( Collection wwwIDs ) : Collection
wwwIDs Collection The requested wwwIDs.
Результат Collection

GetWwws() публичный Метод

Gets the desired information about the specified www. This corresponds to the wwws.get Hyves method.
public GetWwws ( Collection wwwIDs, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Collection
wwwIDs Collection The requested wwwIDs.
responsefields HyvesWwwResponsefield Get extra information from the requested www.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetWwwsByHub() публичный Метод

Gets the desired wwws from the specified user. This corresponds to the wwws.getByUser Hyves method.
public GetWwwsByHub ( string hubId, HyvesWwwResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
hubId string The requested hub Id.
responsefields HyvesWwwResponsefield Get extra information from the requested www.
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

GetWwwsByUser() публичный Метод

Gets the desired wwws from the specified user. This corresponds to the wwws.getByUser Hyves method.
public GetWwwsByUser ( string userId ) : Collection
userId string The requested user Id.
Результат Collection

GetWwwsByUser() публичный Метод

Gets the desired wwws from the specified user. This corresponds to the wwws.getByUser Hyves method.
public GetWwwsByUser ( string userId, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Collection
userId string The requested user Id.
responsefields HyvesWwwResponsefield Get extra information from the requested www.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetWwwsByUser() публичный Метод

Gets the desired wwws from the specified user. This corresponds to the wwws.getByUser Hyves method.
public GetWwwsByUser ( string userId, HyvesWwwResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
userId string The requested user Id.
responsefields HyvesWwwResponsefield Get extra information from the requested www.
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

GetWwwsForFriends() публичный Метод

Retrieves the most recent wwws for the friends of the loggedin user. This corresponds to the wwws.getForFriends Hyves method.
public GetWwwsForFriends ( HyvesWwwResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
responsefields HyvesWwwResponsefield Get extra information from the requested www.
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

GetWwwsForFriends() публичный Метод

Retrieves the most recent wwws for the friends of the loggedin user. This corresponds to the wwws.getForFriends Hyves method.
public GetWwwsForFriends ( bool useFancyLayout ) : Collection
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

SearchPublic() публичный Метод

Search in public wwws. This corresponds to the wwws.searchPublic Hyves method.
public SearchPublic ( string searchterms, string scopeMinId, string scopeMaxId, int limit, HyvesWwwResponsefield responsefields, bool useFancyLayout ) : Collection
searchterms string The search terms.
scopeMinId string Only www's posted after this one will be received.
scopeMaxId string Only www's posted before this one will be received.
limit int The maximum number of results desired.
responsefields HyvesWwwResponsefield Get extra information from the requested www.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection