C# 클래스 ODAF.Website.Controllers.HomeController

상속: Controller
파일 보기 프로젝트 열기: openlab/ODAF-OpenTurf

공개 메소드들

메소드 설명
AddCommentToSummary ( string Text, string CreatedBy, string SummaryId ) : System.Web.Mvc.ActionResult
AddRateToSummary ( string guid, string rate ) : string
AddTagToSummary ( string guid, string name ) : string
Callback ( string provider ) : System.Web.Mvc.ActionResult

Callback method for the Twitter Authentication

CreateLandmark ( string name, string description, string layerid, string latitude, string longitude, string createdby ) : System.Web.Mvc.ActionResult
DeleteSummary ( string guid, string userId ) : string
Feeds ( int Region_Index ) : System.Web.Mvc.ActionResult

Get the list of Feed for a Region

GetFeedUniqueId ( int Region_Index, int Feed_Index ) : string
GetPointsFeedUrl ( int Region_Index, int Feed_Index ) : string

Get the url to call to get the list of Point of a Feed

GetSharedLandmarks ( bool showlandmarks, bool showuserlandmarks, string userid ) : System.Web.Mvc.ActionResult
GetSummaryByGuid ( string guid, string name, string latitude, string longitude, string createdby, int Region_Index, int Feed_Index ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Default View + Load Region List

Regions ( ) : System.Web.Mvc.ActionResult

Get the list of available Regions

SignOut ( ) : System.Web.Mvc.ActionResult

Forget the connected twitter user

Twitter ( ) : System.Web.Mvc.ActionResult

Call the Twitter Authentication

비공개 메소드들

메소드 설명
CheckTwitterConnectedUser ( ) : void

User authentication check for Twitter

GetTwitterProfileImage ( string accessToken, string accessTokenSecret ) : string

Retreive the url of the Connected Twitter Users's profile picture

메소드 상세

AddCommentToSummary() 공개 메소드

public AddCommentToSummary ( string Text, string CreatedBy, string SummaryId ) : System.Web.Mvc.ActionResult
Text string
CreatedBy string
SummaryId string
리턴 System.Web.Mvc.ActionResult

AddRateToSummary() 공개 메소드

public AddRateToSummary ( string guid, string rate ) : string
guid string
rate string
리턴 string

AddTagToSummary() 공개 메소드

public AddTagToSummary ( string guid, string name ) : string
guid string
name string
리턴 string

Callback() 공개 메소드

Callback method for the Twitter Authentication
public Callback ( string provider ) : System.Web.Mvc.ActionResult
provider string Name of the authentication provider
리턴 System.Web.Mvc.ActionResult

CreateLandmark() 공개 메소드

public CreateLandmark ( string name, string description, string layerid, string latitude, string longitude, string createdby ) : System.Web.Mvc.ActionResult
name string
description string
layerid string
latitude string
longitude string
createdby string
리턴 System.Web.Mvc.ActionResult

DeleteSummary() 공개 메소드

public DeleteSummary ( string guid, string userId ) : string
guid string
userId string
리턴 string

Feeds() 공개 메소드

Get the list of Feed for a Region
public Feeds ( int Region_Index ) : System.Web.Mvc.ActionResult
Region_Index int Index of the Region
리턴 System.Web.Mvc.ActionResult

GetFeedUniqueId() 공개 메소드

public GetFeedUniqueId ( int Region_Index, int Feed_Index ) : string
Region_Index int
Feed_Index int
리턴 string

GetPointsFeedUrl() 공개 메소드

Get the url to call to get the list of Point of a Feed
public GetPointsFeedUrl ( int Region_Index, int Feed_Index ) : string
Region_Index int Index of the Region
Feed_Index int Index of the Feed
리턴 string

GetSharedLandmarks() 공개 메소드

public GetSharedLandmarks ( bool showlandmarks, bool showuserlandmarks, string userid ) : System.Web.Mvc.ActionResult
showlandmarks bool
showuserlandmarks bool
userid string
리턴 System.Web.Mvc.ActionResult

GetSummaryByGuid() 공개 메소드

public GetSummaryByGuid ( string guid, string name, string latitude, string longitude, string createdby, int Region_Index, int Feed_Index ) : System.Web.Mvc.ActionResult
guid string
name string
latitude string
longitude string
createdby string
Region_Index int
Feed_Index int
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

Default View + Load Region List
public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Regions() 공개 메소드

Get the list of available Regions
public Regions ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

SignOut() 공개 메소드

Forget the connected twitter user
public SignOut ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Twitter() 공개 메소드

Call the Twitter Authentication
public Twitter ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult