C# Class ChatterService.Web.ChatterProxyService

Inheritance: IChatterProxyService
Afficher le fichier Open project: CTSIatUCSF/gadgets

Méthodes publiques

Méthode Description
ChatterProxyService ( ) : System
CreateGroup ( Stream stream ) : CommonResult
Follow ( string viewerId, string ownerId, string accessToken ) : CommonResult
GetActivities ( int count, string mode ) : Activity[]
GetActivities ( Object stateInfo ) : void
GetUserActivities ( string userId, string mode, int count ) : Activity[]
HandleError ( Exception error, string key ) : bool
IsUserFollowing ( string viewerId, string ownerId, string accessToken ) : CommonResult
Unfollow ( string viewerId, string ownerId, string accessToken ) : CommonResult

Private Methods

Méthode Description
ValidateSignature ( ) : void
WriteLogToFile ( String msg ) : void
customXertificateValidation ( object sender, X509Certificate cert, X509Chain chain, System error ) : bool
getChatterRestService ( string accessToken ) : ChatterRestService
getChatterSoapService ( ) : ChatterSoapService
getSalesforceUserId ( ChatterSoapService soap, string nodeId ) : string
parseParameters ( Stream stream ) : NameValueCollection

Method Details

ChatterProxyService() public méthode

public ChatterProxyService ( ) : System
Résultat System

CreateGroup() public méthode

public CreateGroup ( Stream stream ) : CommonResult
stream Stream
Résultat CommonResult

Follow() public méthode

public Follow ( string viewerId, string ownerId, string accessToken ) : CommonResult
viewerId string
ownerId string
accessToken string
Résultat CommonResult

GetActivities() public méthode

public GetActivities ( int count, string mode ) : Activity[]
count int
mode string
Résultat Activity[]

GetActivities() public méthode

public GetActivities ( Object stateInfo ) : void
stateInfo Object
Résultat void

GetUserActivities() public méthode

public GetUserActivities ( string userId, string mode, int count ) : Activity[]
userId string
mode string
count int
Résultat Activity[]

HandleError() public méthode

public HandleError ( Exception error, string key ) : bool
error System.Exception
key string
Résultat bool

IsUserFollowing() public méthode

public IsUserFollowing ( string viewerId, string ownerId, string accessToken ) : CommonResult
viewerId string
ownerId string
accessToken string
Résultat CommonResult

Unfollow() public méthode

public Unfollow ( string viewerId, string ownerId, string accessToken ) : CommonResult
viewerId string
ownerId string
accessToken string
Résultat CommonResult