C# 클래스 Hyves.Service.EventsService

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

공개 메소드들

메소드 설명
AddPresence ( string eventId, HyvesEventPrecenseVisibility visibility ) : bool

Adds user presence to event. This corresponds to the event.addPresence Hyves method.

GetEvents ( Collection eventIds ) : Collection

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.

GetEvents ( Collection eventIds, HyvesEventResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.

GetEventsByHub ( string hubId, bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetEventsByLoggedin ( bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired events from the loggedin user. This corresponds to the events.getByLoggedin Hyves method.

GetEventsByUserPresent ( string userId, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

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

GetPresence ( string eventId ) : Collection

Gets the desired information about the presence. This corresponds to the events.getPresence Hyves method.

GetPresenceForFriends ( string eventId ) : Collection

Gets the desired information about the presence. This corresponds to the events.getPresenceForFriends Hyves method.

비공개 메소드들

메소드 설명
ConvertResponsefieldsToString ( HyvesEventResponsefield responsefields ) : string
EventsService ( HyvesSession session ) : System

메소드 상세

AddPresence() 공개 메소드

Adds user presence to event. This corresponds to the event.addPresence Hyves method.
public AddPresence ( string eventId, HyvesEventPrecenseVisibility visibility ) : bool
eventId string The identifier of the event.
visibility HyvesEventPrecenseVisibility The visibility of the event presence.
리턴 bool

GetEvents() 공개 메소드

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.
public GetEvents ( Collection eventIds ) : Collection
eventIds Collection The requested eventIds.
리턴 Collection

GetEvents() 공개 메소드

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

GetEventsByHub() 공개 메소드

Gets the desired events from the specified hub. This corresponds to the events.getByHub Hyves method.
public GetEventsByHub ( string hubId, bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
hubId string The requested hub Id.
inFuture bool Select only events in the future.
responsefields HyvesEventResponsefield Get extra information from the requested event.
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

GetEventsByLoggedin() 공개 메소드

Gets the desired events from the loggedin user. This corresponds to the events.getByLoggedin Hyves method.
public GetEventsByLoggedin ( bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
inFuture bool Select only events in the future.
responsefields HyvesEventResponsefield Get extra information from the requested event.
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

GetEventsByUserPresent() 공개 메소드

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

GetPresence() 공개 메소드

Gets the desired information about the presence. This corresponds to the events.getPresence Hyves method.
public GetPresence ( string eventId ) : Collection
eventId string
리턴 Collection

GetPresenceForFriends() 공개 메소드

Gets the desired information about the presence. This corresponds to the events.getPresenceForFriends Hyves method.
public GetPresenceForFriends ( string eventId ) : Collection
eventId string
리턴 Collection