C# 클래스 Hyves.Service.AlbumsService

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

공개 메소드들

메소드 설명
AddMediaToAlbum ( string albumId, Collection mediaIds ) : bool
CreateAlbum ( string title, HyvesVisibility visibility, HyvesVisibility printability, HyvesAlbumResponsefield responseFields ) : bool

Creates a new album. This corresponds to the albums.create Hyves method.

GetAlbums ( string userId ) : Collection

Gets the desired albums from a user. This corresponds to the albums.getByUser Hyves method.

GetAlbums ( string albumId, HyvesAlbumResponsefield responseFields, bool useFancyLayout ) : Collection

Gets the desired albums from the specified albums. This corresponds to the albums.get Hyves method.

GetAlbums ( string userId, bool useFancyLayout ) : Collection

Gets the desired albums from a user. This corresponds to the albums.getByUser Hyves method.

GetAlbumsByHub ( string hubId ) : Collection

Gets all visible albums of the specified hub. This corresponds to the albums.getByHub Hyves method.

GetAlbumsByHub ( string hubId, bool useFancyLayout ) : Collection

Gets all visible albums of the specified hub. This corresponds to the albums.getByHub Hyves method.

GetAlbumsByHub ( string hubId, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets all visible albums of the specified hub. This corresponds to the albums.getByHub Hyves method.

GetAlbumsByUser ( string userId, bool useFancyLayout ) : Collection

Gets all visible albums of the specified user. This corresponds to the albums.getByUser Hyves method.

GetAlbumsByUser ( string userId, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets all visible albums of the specified user. This corresponds to the albums.getByUser Hyves method.

GetBuiltinAlbums ( HyvesVisibility visibility, HyvesAlbumResponsefield responseFields, bool useFancyLayout ) : Collection

Gets the builtin albums from a user. This corresponds to the albums.getBuiltin Hyves method.

RemoveMediaFromAlbum ( string albumId, Collection mediaIds ) : bool

비공개 메소드들

메소드 설명
AlbumsService ( HyvesSession session ) : System
ConvertResponsefieldsToString ( HyvesAlbumResponsefield responsefields ) : string
ConvertResponsefieldsToString ( HyvesMediaResponsefield responsefields ) : string

메소드 상세

AddMediaToAlbum() 공개 메소드

public AddMediaToAlbum ( string albumId, Collection mediaIds ) : bool
albumId string
mediaIds Collection
리턴 bool

CreateAlbum() 공개 메소드

Creates a new album. This corresponds to the albums.create Hyves method.
public CreateAlbum ( string title, HyvesVisibility visibility, HyvesVisibility printability, HyvesAlbumResponsefield responseFields ) : bool
title string Title of the album.
visibility HyvesVisibility The visibility of the album.
printability HyvesVisibility The printability of the album.
responseFields HyvesAlbumResponsefield Get extra information from the created album.
리턴 bool

GetAlbums() 공개 메소드

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

GetAlbums() 공개 메소드

Gets the desired albums from the specified albums. This corresponds to the albums.get Hyves method.
public GetAlbums ( string albumId, HyvesAlbumResponsefield responseFields, bool useFancyLayout ) : Collection
albumId string The requested album ID.
responseFields HyvesAlbumResponsefield
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetAlbums() 공개 메소드

Gets the desired albums from a user. This corresponds to the albums.getByUser Hyves method.
public GetAlbums ( 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

GetAlbumsByHub() 공개 메소드

Gets all visible albums of the specified hub. This corresponds to the albums.getByHub Hyves method.
public GetAlbumsByHub ( string hubId ) : Collection
hubId string
리턴 Collection

GetAlbumsByHub() 공개 메소드

Gets all visible albums of the specified hub. This corresponds to the albums.getByHub Hyves method.
public GetAlbumsByHub ( 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

GetAlbumsByHub() 공개 메소드

Gets all visible albums of the specified hub. This corresponds to the albums.getByHub Hyves method.
public GetAlbumsByHub ( string hubId, bool useFancyLayout, int page, int resultsPerPage ) : 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.
page int The requested page.
resultsPerPage int The number of results per page.
리턴 Collection

GetAlbumsByUser() 공개 메소드

Gets all visible albums of the specified user. This corresponds to the albums.getByUser Hyves method.
public GetAlbumsByUser ( string userId, bool useFancyLayout ) : Collection
userId string The identifier for the requested user.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

GetAlbumsByUser() 공개 메소드

Gets all visible albums of the specified user. This corresponds to the albums.getByUser Hyves method.
public GetAlbumsByUser ( string userId, bool useFancyLayout, int page, int resultsPerPage ) : Collection
userId string The identifier for the requested user.
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

GetBuiltinAlbums() 공개 메소드

Gets the builtin albums from a user. This corresponds to the albums.getBuiltin Hyves method.
public GetBuiltinAlbums ( HyvesVisibility visibility, HyvesAlbumResponsefield responseFields, bool useFancyLayout ) : Collection
visibility HyvesVisibility The visibility of the albums.
responseFields HyvesAlbumResponsefield
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
리턴 Collection

RemoveMediaFromAlbum() 공개 메소드

public RemoveMediaFromAlbum ( string albumId, Collection mediaIds ) : bool
albumId string
mediaIds Collection
리턴 bool