C# 클래스 Hyves.Service.BlogsService

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

공개 메소드들

메소드 설명
CreateBlog ( string title, string body, HyvesVisibility visibility ) : Blog

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

CreateBlog ( string title, string body, HyvesVisibility visibility, HyvesBlogResponsefield responsefields ) : Blog

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

CreateBlog ( string title, string body, HyvesVisibility visibility, float latitude, float longitude, Collection hubIds, HyvesBlogResponsefield responsefields ) : Blog

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

CreateRespect ( string targetBlogId, HyvesRespectType respectType ) : bool

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

GetBlog ( string blogId ) : Blog

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlog ( string blogId, HyvesBlogResponsefield responsefields ) : Blog

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlog ( string blogId, HyvesBlogResponsefield responsefields, bool useFancyLayout ) : Blog

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlog ( string blogId, bool useFancyLayout ) : Blog

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlogs ( Collection blogIds ) : Collection

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlogs ( Collection blogIds, HyvesBlogResponsefield responsefields ) : Collection

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlogs ( Collection blogIds, HyvesBlogResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlogs ( Collection blogIds, bool useFancyLayout ) : Collection

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.

GetBlogsByHub ( string hubId ) : Collection

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

GetBlogsByHub ( string hubId, HyvesBlogResponsefield responsefields ) : Collection

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

GetBlogsByHub ( string hubId, HyvesBlogResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetBlogsByHub ( string hubId, bool useFancyLayout ) : Collection

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

GetBlogsByTag ( string tag ) : Collection

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.

GetBlogsByTag ( string tag, HyvesBlogResponsefield responsefields ) : Collection

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.

GetBlogsByTag ( string tag, HyvesBlogResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.

GetBlogsByTag ( string tag, bool useFancyLayout ) : Collection

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.

GetBlogsByUser ( string userId ) : Collection

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

GetBlogsByUser ( string userId, HyvesBlogResponsefield responsefields ) : Collection

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

GetBlogsByUser ( string userId, HyvesBlogResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetBlogsByUser ( string userId, bool useFancyLayout ) : Collection

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

GetBlogsForFriends ( ) : Collection

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

GetBlogsForFriends ( HyvesBlogResponsefield responsefields ) : Collection

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

GetBlogsForFriends ( HyvesBlogResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetComments ( string blogId ) : Collection

Gets the comments from the specified blog. This corresponds to the blogs.getComments Hyves method.

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

Gets the comments from the specified blog. This corresponds to the blogs.getComments Hyves method.

GetPublicBlogs ( HyvesSortType sortType ) : Collection

Retrieve public blogs. This corresponds to the blogs.getPublic Hyves method.

GetPublicBlogs ( HyvesSortType sortType, HyvesTimeSpan timeSpan, HyvesBlogResponsefield responsefields, bool useFancyLayout ) : Collection

Retrieve public blogs. This corresponds to the blogs.getPublic Hyves method.

GetRespects ( string blogId ) : Collection

Gets the respects from the specified blog. This corresponds to the blogs.getRespects Hyves method.

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

Gets the respects from the specified blog. This corresponds to the blogs.getRespects Hyves method.

UpdateBlog ( string blogId, string title, string body, HyvesVisibility visibility, float latitude, float longitude, HyvesBlogResponsefield responsefields ) : Blog

Update a blog for the current user. This corresponds to the blog.update Hyves method.

비공개 메소드들

메소드 설명
BlogsService ( HyvesSession session ) : System
ConvertResponsefieldsToString ( HyvesBlogResponsefield responsefields ) : string

메소드 상세

CreateBlog() 공개 메소드

Create a new blog for the current user. This corresponds to the blog.create Hyves method.
public CreateBlog ( string title, string body, HyvesVisibility visibility ) : Blog
title string The title of the blog.
body string The body of the blog.
visibility HyvesVisibility The visibility of the blog.
리턴 Blog

CreateBlog() 공개 메소드

Create a new blog for the current user. This corresponds to the blog.create Hyves method.
public CreateBlog ( string title, string body, HyvesVisibility visibility, HyvesBlogResponsefield responsefields ) : Blog
title string The title of the blog.
body string The body of the blog.
visibility HyvesVisibility The visibility of the blog.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Blog

CreateBlog() 공개 메소드

Create a new blog for the current user. This corresponds to the blog.create Hyves method.
public CreateBlog ( string title, string body, HyvesVisibility visibility, float latitude, float longitude, Collection hubIds, HyvesBlogResponsefield responsefields ) : Blog
title string The title of the blog.
body string The body of the blog.
visibility HyvesVisibility The visibility of the blog.
latitude float Latitude of the geolocation.
longitude float Longitude of the geolocation.
hubIds Collection List of hubIds.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Blog

CreateRespect() 공개 메소드

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

GetBlog() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlog ( string blogId ) : Blog
blogId string The requested blogId.
리턴 Blog

GetBlog() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlog ( string blogId, HyvesBlogResponsefield responsefields ) : Blog
blogId string The requested blogId.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Blog

GetBlog() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlog ( string blogId, HyvesBlogResponsefield responsefields, bool useFancyLayout ) : Blog
blogId string The requested blogId.
responsefields HyvesBlogResponsefield Get extra information from the blog.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Blog

GetBlog() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlog ( string blogId, bool useFancyLayout ) : Blog
blogId string The requested blogId.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Blog

GetBlogs() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlogs ( Collection blogIds ) : Collection
blogIds Collection The requested blogIds.
리턴 Collection

GetBlogs() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlogs ( Collection blogIds, HyvesBlogResponsefield responsefields ) : Collection
blogIds Collection The requested blogIds.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Collection

GetBlogs() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlogs ( Collection blogIds, HyvesBlogResponsefield responsefields, bool useFancyLayout ) : Collection
blogIds Collection The requested blogIds.
responsefields HyvesBlogResponsefield Get extra information from the blog.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetBlogs() 공개 메소드

Gets the desired information about the specified blog. This corresponds to the blogs.get Hyves method.
public GetBlogs ( Collection blogIds, bool useFancyLayout ) : Collection
blogIds Collection The requested blogIds.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetBlogsByHub() 공개 메소드

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

GetBlogsByHub() 공개 메소드

Gets the desired blogs from the specified hub. This corresponds to the blogs.getByHub Hyves method.
public GetBlogsByHub ( string hubId, HyvesBlogResponsefield responsefields ) : Collection
hubId string The requested hub Id.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Collection

GetBlogsByHub() 공개 메소드

Gets the desired blogs from the specified hub. This corresponds to the blogs.getByHub Hyves method.
public GetBlogsByHub ( string hubId, HyvesBlogResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
hubId string The requested hub Id.
responsefields HyvesBlogResponsefield Get extra information from the blog.
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

GetBlogsByHub() 공개 메소드

Gets the desired blogs from the specified hub. This corresponds to the blogs.getByHub Hyves method.
public GetBlogsByHub ( 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

GetBlogsByTag() 공개 메소드

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.
public GetBlogsByTag ( string tag ) : Collection
tag string The requested tag.
리턴 Collection

GetBlogsByTag() 공개 메소드

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.
public GetBlogsByTag ( string tag, HyvesBlogResponsefield responsefields ) : Collection
tag string The requested tag.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Collection

GetBlogsByTag() 공개 메소드

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.
public GetBlogsByTag ( string tag, HyvesBlogResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
tag string The requested tag.
responsefields HyvesBlogResponsefield Get extra information from the blog.
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

GetBlogsByTag() 공개 메소드

Gets the desired blogs from the specified user by tag. This corresponds to the blogs.getByTag Hyves method.
public GetBlogsByTag ( string tag, bool useFancyLayout ) : Collection
tag string The requested tag.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetBlogsByUser() 공개 메소드

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

GetBlogsByUser() 공개 메소드

Gets the desired blogs from the specified user. This corresponds to the blogs.getByUser Hyves method.
public GetBlogsByUser ( string userId, HyvesBlogResponsefield responsefields ) : Collection
userId string The requested user Id.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Collection

GetBlogsByUser() 공개 메소드

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

GetBlogsByUser() 공개 메소드

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

GetBlogsForFriends() 공개 메소드

Retrieves the most recent blogs for the friends of the loggedin user. This corresponds to the blogs.getForFriends Hyves method.
public GetBlogsForFriends ( ) : Collection
리턴 Collection

GetBlogsForFriends() 공개 메소드

Retrieves the most recent blogs for the friends of the loggedin user. This corresponds to the blogs.getForFriends Hyves method.
public GetBlogsForFriends ( HyvesBlogResponsefield responsefields ) : Collection
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Collection

GetBlogsForFriends() 공개 메소드

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

GetComments() 공개 메소드

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

GetComments() 공개 메소드

Gets the comments from the specified blog. This corresponds to the blogs.getComments Hyves method.
public GetComments ( string blogId, bool useFancyLayout, int page, int resultsPerPage ) : Collection
blogId string The requested blog 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

GetPublicBlogs() 공개 메소드

Retrieve public blogs. This corresponds to the blogs.getPublic Hyves method.
public GetPublicBlogs ( HyvesSortType sortType ) : Collection
sortType HyvesSortType The sort type.
리턴 Collection

GetPublicBlogs() 공개 메소드

Retrieve public blogs. This corresponds to the blogs.getPublic Hyves method.
public GetPublicBlogs ( HyvesSortType sortType, HyvesTimeSpan timeSpan, HyvesBlogResponsefield responsefields, bool useFancyLayout ) : Collection
sortType HyvesSortType The sort type.
timeSpan HyvesTimeSpan The timespan to select from.
responsefields HyvesBlogResponsefield
useFancyLayout bool
리턴 Collection

GetRespects() 공개 메소드

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

GetRespects() 공개 메소드

Gets the respects from the specified blog. This corresponds to the blogs.getRespects Hyves method.
public GetRespects ( string blogId, bool useFancyLayout, int page, int resultsPerPage ) : Collection
blogId string The requested blog 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

UpdateBlog() 공개 메소드

Update a blog for the current user. This corresponds to the blog.update Hyves method.
public UpdateBlog ( string blogId, string title, string body, HyvesVisibility visibility, float latitude, float longitude, HyvesBlogResponsefield responsefields ) : Blog
blogId string
title string The title of the blog.
body string The body of the blog.
visibility HyvesVisibility The visibility of the blog.
latitude float Latitude of the geolocation.
longitude float Longitude of the geolocation.
responsefields HyvesBlogResponsefield Get extra information from the blog.
리턴 Blog