C# 클래스 Hyves.Service.ListenersService

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

공개 메소드들

메소드 설명
CreateListener ( HyvesListenerType type, string callback ) : Listener

Create a new listener for the ApiConsumer. This corresponds to the listener.create Hyves method.

DeleteListener ( string listenerId ) : bool

Deletes a listener for the ApiConsumer. This corresponds to the listener.create Hyves method.

GetAllListeners ( ) : Collection

Gets the desired listeners from the specified type. This corresponds to the listeners.getAll Hyves method.

GetListener ( string listenerId ) : Listener

Gets the desired information about the specified listener. This corresponds to the listeners.get Hyves method.

GetListeners ( Collection listenerIds ) : Collection

Gets the desired information about the specified listener. This corresponds to the listeners.get Hyves method.

GetListenersByType ( HyvesListenerType type ) : Collection

Gets the desired listeners from the specified type. This corresponds to the listeners.getByType Hyves method.

비공개 메소드들

메소드 설명
ListenersService ( HyvesSession session ) : System

메소드 상세

CreateListener() 공개 메소드

Create a new listener for the ApiConsumer. This corresponds to the listener.create Hyves method.
public CreateListener ( HyvesListenerType type, string callback ) : Listener
type HyvesListenerType Type of listener to create.
callback string Url to do the callback to.
리턴 Listener

DeleteListener() 공개 메소드

Deletes a listener for the ApiConsumer. This corresponds to the listener.create Hyves method.
public DeleteListener ( string listenerId ) : bool
listenerId string The requested listenerId.
리턴 bool

GetAllListeners() 공개 메소드

Gets the desired listeners from the specified type. This corresponds to the listeners.getAll Hyves method.
public GetAllListeners ( ) : Collection
리턴 Collection

GetListener() 공개 메소드

Gets the desired information about the specified listener. This corresponds to the listeners.get Hyves method.
public GetListener ( string listenerId ) : Listener
listenerId string The requested listenerId.
리턴 Listener

GetListeners() 공개 메소드

Gets the desired information about the specified listener. This corresponds to the listeners.get Hyves method.
public GetListeners ( Collection listenerIds ) : Collection
listenerIds Collection
리턴 Collection

GetListenersByType() 공개 메소드

Gets the desired listeners from the specified type. This corresponds to the listeners.getByType Hyves method.
public GetListenersByType ( HyvesListenerType type ) : Collection
type HyvesListenerType Type of listeners to retrieve.
리턴 Collection