C# Class StarryEyes.Models.Databases.StatusProxy

Exibir arquivo Open project: karno/StarryEyes

Public Methods

Method Description
AddFavoritor ( long statusId, long userId ) : void
AddRetweeter ( long statusId, long userId ) : void
FetchStatuses ( bool>.Func predicate, string sql, long maxId = null, int count = null, bool applyMuteBlockFilter = true ) : Task>
FindFromInReplyToAsync ( long inReplyTo ) : Task>
GetCountAsync ( ) : Task
GetInReplyToAsync ( long id ) : Task
GetRetweetedStatusIds ( long originalId ) : Task>
GetStatusAsync ( long id ) : Task
IsStatusExistsAsync ( long id ) : Task
RemoveFavoritor ( long statusId, long userId ) : void
RemoveRetweeter ( long statusId, long userId ) : void
RemoveStatusAsync ( long statusId ) : Task>

Remove statuses

StoreStatus ( [ status ) : void

Enqueue store status

SyncStatusActivityAsync ( TwitterStatus status ) : Task

Private Methods

Method Description
FindCache ( bool>.Func predicate, long maxId = null, bool applyMuteBlockFilter = true ) : Task>
LoadDirectMessageAsync ( [ dbstatus ) : Task
LoadPublicStatusAsync ( [ dbstatus ) : Task
LoadStatusAsync ( [ dbstatus ) : Task
LoadStatusesAsync ( [ dbstatus ) : Task>
StatusProxy ( ) : System
StoreStatusesAsync ( IEnumerable statuses ) : System.Threading.Tasks.Task

Method Details

AddFavoritor() public static method

public static AddFavoritor ( long statusId, long userId ) : void
statusId long
userId long
return void

AddRetweeter() public static method

public static AddRetweeter ( long statusId, long userId ) : void
statusId long
userId long
return void

FetchStatuses() public static method

public static FetchStatuses ( bool>.Func predicate, string sql, long maxId = null, int count = null, bool applyMuteBlockFilter = true ) : Task>
predicate bool>.Func
sql string
maxId long
count int
applyMuteBlockFilter bool
return Task>

FindFromInReplyToAsync() public static method

public static FindFromInReplyToAsync ( long inReplyTo ) : Task>
inReplyTo long
return Task>

GetCountAsync() public static method

public static GetCountAsync ( ) : Task
return Task

GetInReplyToAsync() public static method

public static GetInReplyToAsync ( long id ) : Task
id long
return Task

GetRetweetedStatusIds() public static method

public static GetRetweetedStatusIds ( long originalId ) : Task>
originalId long
return Task>

GetStatusAsync() public static method

public static GetStatusAsync ( long id ) : Task
id long
return Task

IsStatusExistsAsync() public static method

public static IsStatusExistsAsync ( long id ) : Task
id long
return Task

RemoveFavoritor() public static method

public static RemoveFavoritor ( long statusId, long userId ) : void
statusId long
userId long
return void

RemoveRetweeter() public static method

public static RemoveRetweeter ( long statusId, long userId ) : void
statusId long
userId long
return void

RemoveStatusAsync() public static method

Remove statuses
public static RemoveStatusAsync ( long statusId ) : Task>
statusId long target status
return Task>

StoreStatus() public static method

Enqueue store status
public static StoreStatus ( [ status ) : void
status [
return void

SyncStatusActivityAsync() public static method

public static SyncStatusActivityAsync ( TwitterStatus status ) : Task
status StarryEyes.Anomaly.TwitterApi.DataModels.TwitterStatus
return Task