C# Class X.CoreLib.Shared.Services.AppDatabase

Inheritance: SumoNinjaMonkey.Framework.SqliteDatabase
Show file Open project: liquidboy/X Class Usage Examples

Public Methods

Method Description
AddAppState ( string name, string value ) : void
AddCacheCallResponse ( string url, string data, DateTime timeStamp ) : void
AddDashboardItem ( int slotId, int left, int top, int width, int height, string title, string description, int column, int row ) : void
AddFolderItem ( string title, int ordinal, string metroIcon ) : void
AddGroupsRequest ( GroupsRequest groupsRequest ) : void
AddMenuItem ( string title, int ordinal, string metroIcon, int groupId, string id1 ) : void
AddRoamingState ( string name, string value ) : void
AddSearchRequest ( SearchRequest searchRequest ) : void
AddUpdateProject ( Project project ) : void
AddUpdateScene ( Scene scene ) : void
AddUpdateSolution ( Solution solution ) : void
AddUpdateTwitterPersistedItem ( TwitterPersistedItem item ) : void
AddUpdateUIElementState ( string aggregateId, string scene, double left, double top, double width, double height, double scale, bool isRenderable, int layoutStyle, int layoutOrientation, bool sendAggregateUpdateMessage = true ) : void
AddUpdateYoutubeHistoryItem ( YoutubeHistoryItem item ) : void
AddUpdateYoutubePersistedItem ( YoutubePersistedItem item ) : void
CacheCallResponses ( ) : List
DeleteAppState ( int id ) : void
DeleteAppState ( string name ) : void
DeleteAppStates ( ) : void
DeleteCacheCallResponse ( int id ) : void
DeleteCacheCallResponses ( ) : void
DeleteDashboardItem ( int id ) : void
DeleteFolderItem ( int id ) : void
DeleteGroupsRequest ( int id ) : void
DeleteGroupsRequests ( ) : void
DeleteMenuItem ( int id ) : void
DeleteMenuItems ( ) : void
DeleteProject ( int id ) : void
DeleteProject ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
DeleteProjects ( string grouping1 ) : void
DeleteScene ( int id ) : void
DeleteScene ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
DeleteSearchRequest ( int id ) : void
DeleteSearchRequests ( ) : void
DeleteSolution ( int id ) : void
DeleteSolution ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
DeleteSolutions ( string grouping1 ) : void
DeleteTwitterPersistedItem ( int id ) : void
DeleteTwitterPersistedItem ( long twitterId ) : void
DeleteTwitterPersistedItems ( DateTime oldestTimespan ) : void
DeleteTwitterPersistedItems ( string grouping1 ) : void
DeleteUIElementState ( int id ) : void
DeleteUIElementState ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
DeleteYoutubeHistoryItems ( DateTime oldestTimespan ) : void
DeleteYoutubeHistoryItems ( string grouping ) : void
DeleteYoutubePersistedItems ( DateTime oldestTimespan ) : void
DeleteYoutubePersistedItems ( string grouping ) : void
DoesYouTubePersistedItemExist ( string UID ) : bool
DoesYoutubeHistoryItemExist ( string UID, string grouping ) : bool
GetEffectDetails ( ) : List
GetLayoutDetail ( int index ) : LayoutDetail
GetLayoutDetails ( ) : List
GetLayoutOrientation ( int index ) : LayoutOrientation
GetLayoutOrientations ( ) : List
LoadInstances ( ) : void
RecreateSystemData ( ) : void
RetrieveAppState ( int id ) : List
RetrieveAppState ( string name ) : List
RetrieveAppStates ( ) : List
RetrieveCacheCallResponse ( int id ) : List
RetrieveCacheCallResponse ( string url ) : List
RetrieveDashboard ( ) : List
RetrieveFolder ( int id ) : List
RetrieveFolders ( ) : List
RetrieveGroupsRequest ( int id ) : List
RetrieveGroupsRequest ( string term, int type ) : List
RetrieveGroupsRequests ( int limit ) : Task>
RetrieveInstanceAppState ( AppSystemDataEnums appSystemData ) : AppState
RetrieveMenuItems ( ) : List
RetrieveProject ( int id ) : List
RetrieveProject ( string aggregateId ) : List
RetrieveProjectsByGrouping ( string aggregateId ) : List
RetrieveRoamingState ( string name, string value ) : string
RetrieveScene ( int id ) : List
RetrieveScene ( string aggregateId ) : List
RetrieveScenesByGrouping ( string aggregateId ) : List
RetrieveSearchRequest ( int id ) : List
RetrieveSearchRequest ( string term, int type ) : List
RetrieveSearchRequests ( int limit ) : Task>
RetrieveSolution ( int id ) : List
RetrieveSolution ( string aggregateId ) : List
RetrieveSolutionsByGrouping ( string aggregateId ) : List
RetrieveTwitterByGrouping ( string grouping1 ) : List
RetrieveTwitterPersistedItem ( int id ) : List
RetrieveTwitterPersistedItem ( long twitterId ) : List
RetrieveUIElementState ( int id ) : List
RetrieveUIElementState ( string aggregateId ) : List
RetrieveUIElementStatesByGrouping ( string aggregateId ) : List
RetrieveUIElementStatesByScene ( string sceneAggregateId ) : List
RetrieveYouTubeByGrouping ( string grouping1 ) : List
RetrieveYouTubeHistoryByGrouping ( string grouping1 ) : List
RetrieveYoutubeHistoryItem ( DateTime timestamp ) : List
RetrieveYoutubeHistoryItem ( int id ) : List
RetrieveYoutubeHistoryItem ( string uniqueid ) : List
RetrieveYoutubeHistoryItemByGrouping ( string grouping ) : List
RetrieveYoutubeHistoryItemByID ( string id ) : List
RetrieveYoutubePersistedItem ( DateTime timestamp ) : List
RetrieveYoutubePersistedItem ( int id ) : List
RetrieveYoutubePersistedItem ( string uniqueid ) : List
RetrieveYoutubePersistedItemByGrouping ( string grouping ) : List
SaveAppState ( string name, string value ) : void
SaveCacheCallResponse ( string url, string data, DateTime timeStamp ) : void
SaveGroupsRequest ( GroupsRequest groupsRequest ) : void
SaveSearchRequest ( SearchRequest searchRequest ) : void
Unload ( ) : void
UpdateInstanceAppState ( AppSystemDataEnums appSystemData, string value ) : void
UpdateProjectField ( string aggregateId, string fieldName, object fieldValue, bool sendAggregateUpdateMessage = true ) : void
UpdateSceneField ( string aggregateId, string fieldName, object fieldValue, bool sendAggregateUpdateMessage = true ) : void
UpdateSolutionField ( string aggregateId, string fieldName, object fieldValue, bool sendAggregateUpdateMessage = true ) : void
UpdateTwitterPersistedItemField ( int id, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateTwitterPersistedItemField ( long twitterId, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateTwitterPersistedItemField ( string uid, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateUIElementStateField ( string aggregateId, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateYoutubeHistoryItemField ( int id, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateYoutubeHistoryItemField ( string uid, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateYoutubePersistedItemField ( int id, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
UpdateYoutubePersistedItemField ( string uid, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void

Private Methods

Method Description
AddUIElementState ( string aggregateId, string scene, double left, double top, double scale, double width, double height, bool isRenderable, int layoutStyle, int layoutOrientation ) : void
AppDatabase ( ) : System.Collections.Generic

Method Details

AddAppState() public method

public AddAppState ( string name, string value ) : void
name string
value string
return void

AddCacheCallResponse() public method

public AddCacheCallResponse ( string url, string data, DateTime timeStamp ) : void
url string
data string
timeStamp DateTime
return void

AddDashboardItem() public method

public AddDashboardItem ( int slotId, int left, int top, int width, int height, string title, string description, int column, int row ) : void
slotId int
left int
top int
width int
height int
title string
description string
column int
row int
return void

AddFolderItem() public method

public AddFolderItem ( string title, int ordinal, string metroIcon ) : void
title string
ordinal int
metroIcon string
return void

AddGroupsRequest() public method

public AddGroupsRequest ( GroupsRequest groupsRequest ) : void
groupsRequest GroupsRequest
return void

AddMenuItem() public method

public AddMenuItem ( string title, int ordinal, string metroIcon, int groupId, string id1 ) : void
title string
ordinal int
metroIcon string
groupId int
id1 string
return void

AddRoamingState() public method

public AddRoamingState ( string name, string value ) : void
name string
value string
return void

AddSearchRequest() public method

public AddSearchRequest ( SearchRequest searchRequest ) : void
searchRequest SearchRequest
return void

AddUpdateProject() public method

public AddUpdateProject ( Project project ) : void
project Project
return void

AddUpdateScene() public method

public AddUpdateScene ( Scene scene ) : void
scene Scene
return void

AddUpdateSolution() public method

public AddUpdateSolution ( Solution solution ) : void
solution Solution
return void

AddUpdateTwitterPersistedItem() public method

public AddUpdateTwitterPersistedItem ( TwitterPersistedItem item ) : void
item TwitterPersistedItem
return void

AddUpdateUIElementState() public method

public AddUpdateUIElementState ( string aggregateId, string scene, double left, double top, double width, double height, double scale, bool isRenderable, int layoutStyle, int layoutOrientation, bool sendAggregateUpdateMessage = true ) : void
aggregateId string
scene string
left double
top double
width double
height double
scale double
isRenderable bool
layoutStyle int
layoutOrientation int
sendAggregateUpdateMessage bool
return void

AddUpdateYoutubeHistoryItem() public method

public AddUpdateYoutubeHistoryItem ( YoutubeHistoryItem item ) : void
item YoutubeHistoryItem
return void

AddUpdateYoutubePersistedItem() public method

public AddUpdateYoutubePersistedItem ( YoutubePersistedItem item ) : void
item YoutubePersistedItem
return void

CacheCallResponses() public method

public CacheCallResponses ( ) : List
return List

DeleteAppState() public method

public DeleteAppState ( int id ) : void
id int
return void

DeleteAppState() public method

public DeleteAppState ( string name ) : void
name string
return void

DeleteAppStates() public method

public DeleteAppStates ( ) : void
return void

DeleteCacheCallResponse() public method

public DeleteCacheCallResponse ( int id ) : void
id int
return void

DeleteCacheCallResponses() public method

public DeleteCacheCallResponses ( ) : void
return void

DeleteDashboardItem() public method

public DeleteDashboardItem ( int id ) : void
id int
return void

DeleteFolderItem() public method

public DeleteFolderItem ( int id ) : void
id int
return void

DeleteGroupsRequest() public method

public DeleteGroupsRequest ( int id ) : void
id int
return void

DeleteGroupsRequests() public method

public DeleteGroupsRequests ( ) : void
return void

DeleteMenuItem() public method

public DeleteMenuItem ( int id ) : void
id int
return void

DeleteMenuItems() public method

public DeleteMenuItems ( ) : void
return void

DeleteProject() public method

public DeleteProject ( int id ) : void
id int
return void

DeleteProject() public method

public DeleteProject ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
aggregateId string
sendAggregateDeleteMessage bool
return void

DeleteProjects() public method

public DeleteProjects ( string grouping1 ) : void
grouping1 string
return void

DeleteScene() public method

public DeleteScene ( int id ) : void
id int
return void

DeleteScene() public method

public DeleteScene ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
aggregateId string
sendAggregateDeleteMessage bool
return void

DeleteSearchRequest() public method

public DeleteSearchRequest ( int id ) : void
id int
return void

DeleteSearchRequests() public method

public DeleteSearchRequests ( ) : void
return void

DeleteSolution() public method

public DeleteSolution ( int id ) : void
id int
return void

DeleteSolution() public method

public DeleteSolution ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
aggregateId string
sendAggregateDeleteMessage bool
return void

DeleteSolutions() public method

public DeleteSolutions ( string grouping1 ) : void
grouping1 string
return void

DeleteTwitterPersistedItem() public method

public DeleteTwitterPersistedItem ( int id ) : void
id int
return void

DeleteTwitterPersistedItem() public method

public DeleteTwitterPersistedItem ( long twitterId ) : void
twitterId long
return void

DeleteTwitterPersistedItems() public method

public DeleteTwitterPersistedItems ( DateTime oldestTimespan ) : void
oldestTimespan DateTime
return void

DeleteTwitterPersistedItems() public method

public DeleteTwitterPersistedItems ( string grouping1 ) : void
grouping1 string
return void

DeleteUIElementState() public method

public DeleteUIElementState ( int id ) : void
id int
return void

DeleteUIElementState() public method

public DeleteUIElementState ( string aggregateId, bool sendAggregateDeleteMessage = true ) : void
aggregateId string
sendAggregateDeleteMessage bool
return void

DeleteYoutubeHistoryItems() public method

public DeleteYoutubeHistoryItems ( DateTime oldestTimespan ) : void
oldestTimespan DateTime
return void

DeleteYoutubeHistoryItems() public method

public DeleteYoutubeHistoryItems ( string grouping ) : void
grouping string
return void

DeleteYoutubePersistedItems() public method

public DeleteYoutubePersistedItems ( DateTime oldestTimespan ) : void
oldestTimespan DateTime
return void

DeleteYoutubePersistedItems() public method

public DeleteYoutubePersistedItems ( string grouping ) : void
grouping string
return void

DoesYouTubePersistedItemExist() public method

public DoesYouTubePersistedItemExist ( string UID ) : bool
UID string
return bool

DoesYoutubeHistoryItemExist() public method

public DoesYoutubeHistoryItemExist ( string UID, string grouping ) : bool
UID string
grouping string
return bool

GetEffectDetails() public method

public GetEffectDetails ( ) : List
return List

GetLayoutDetail() public method

public GetLayoutDetail ( int index ) : LayoutDetail
index int
return LayoutDetail

GetLayoutDetails() public method

public GetLayoutDetails ( ) : List
return List

GetLayoutOrientation() public method

public GetLayoutOrientation ( int index ) : LayoutOrientation
index int
return LayoutOrientation

GetLayoutOrientations() public method

public GetLayoutOrientations ( ) : List
return List

LoadInstances() public method

public LoadInstances ( ) : void
return void

RecreateSystemData() public method

public RecreateSystemData ( ) : void
return void

RetrieveAppState() public method

public RetrieveAppState ( int id ) : List
id int
return List

RetrieveAppState() public method

public RetrieveAppState ( string name ) : List
name string
return List

RetrieveAppStates() public method

public RetrieveAppStates ( ) : List
return List

RetrieveCacheCallResponse() public method

public RetrieveCacheCallResponse ( int id ) : List
id int
return List

RetrieveCacheCallResponse() public method

public RetrieveCacheCallResponse ( string url ) : List
url string
return List

RetrieveDashboard() public method

public RetrieveDashboard ( ) : List
return List

RetrieveFolder() public method

public RetrieveFolder ( int id ) : List
id int
return List

RetrieveFolders() public method

public RetrieveFolders ( ) : List
return List

RetrieveGroupsRequest() public method

public RetrieveGroupsRequest ( int id ) : List
id int
return List

RetrieveGroupsRequest() public method

public RetrieveGroupsRequest ( string term, int type ) : List
term string
type int
return List

RetrieveGroupsRequests() public method

public RetrieveGroupsRequests ( int limit ) : Task>
limit int
return Task>

RetrieveInstanceAppState() public method

public RetrieveInstanceAppState ( AppSystemDataEnums appSystemData ) : AppState
appSystemData AppSystemDataEnums
return AppState

RetrieveMenuItems() public method

public RetrieveMenuItems ( ) : List
return List

RetrieveProject() public method

public RetrieveProject ( int id ) : List
id int
return List

RetrieveProject() public method

public RetrieveProject ( string aggregateId ) : List
aggregateId string
return List

RetrieveProjectsByGrouping() public method

public RetrieveProjectsByGrouping ( string aggregateId ) : List
aggregateId string
return List

RetrieveRoamingState() public method

public RetrieveRoamingState ( string name, string value ) : string
name string
value string
return string

RetrieveScene() public method

public RetrieveScene ( int id ) : List
id int
return List

RetrieveScene() public method

public RetrieveScene ( string aggregateId ) : List
aggregateId string
return List

RetrieveScenesByGrouping() public method

public RetrieveScenesByGrouping ( string aggregateId ) : List
aggregateId string
return List

RetrieveSearchRequest() public method

public RetrieveSearchRequest ( int id ) : List
id int
return List

RetrieveSearchRequest() public method

public RetrieveSearchRequest ( string term, int type ) : List
term string
type int
return List

RetrieveSearchRequests() public method

public RetrieveSearchRequests ( int limit ) : Task>
limit int
return Task>

RetrieveSolution() public method

public RetrieveSolution ( int id ) : List
id int
return List

RetrieveSolution() public method

public RetrieveSolution ( string aggregateId ) : List
aggregateId string
return List

RetrieveSolutionsByGrouping() public method

public RetrieveSolutionsByGrouping ( string aggregateId ) : List
aggregateId string
return List

RetrieveTwitterByGrouping() public method

public RetrieveTwitterByGrouping ( string grouping1 ) : List
grouping1 string
return List

RetrieveTwitterPersistedItem() public method

public RetrieveTwitterPersistedItem ( int id ) : List
id int
return List

RetrieveTwitterPersistedItem() public method

public RetrieveTwitterPersistedItem ( long twitterId ) : List
twitterId long
return List

RetrieveUIElementState() public method

public RetrieveUIElementState ( int id ) : List
id int
return List

RetrieveUIElementState() public method

public RetrieveUIElementState ( string aggregateId ) : List
aggregateId string
return List

RetrieveUIElementStatesByGrouping() public method

public RetrieveUIElementStatesByGrouping ( string aggregateId ) : List
aggregateId string
return List

RetrieveUIElementStatesByScene() public method

public RetrieveUIElementStatesByScene ( string sceneAggregateId ) : List
sceneAggregateId string
return List

RetrieveYouTubeByGrouping() public method

public RetrieveYouTubeByGrouping ( string grouping1 ) : List
grouping1 string
return List

RetrieveYouTubeHistoryByGrouping() public method

public RetrieveYouTubeHistoryByGrouping ( string grouping1 ) : List
grouping1 string
return List

RetrieveYoutubeHistoryItem() public method

public RetrieveYoutubeHistoryItem ( DateTime timestamp ) : List
timestamp DateTime
return List

RetrieveYoutubeHistoryItem() public method

public RetrieveYoutubeHistoryItem ( int id ) : List
id int
return List

RetrieveYoutubeHistoryItem() public method

public RetrieveYoutubeHistoryItem ( string uniqueid ) : List
uniqueid string
return List

RetrieveYoutubeHistoryItemByGrouping() public method

public RetrieveYoutubeHistoryItemByGrouping ( string grouping ) : List
grouping string
return List

RetrieveYoutubeHistoryItemByID() public method

public RetrieveYoutubeHistoryItemByID ( string id ) : List
id string
return List

RetrieveYoutubePersistedItem() public method

public RetrieveYoutubePersistedItem ( DateTime timestamp ) : List
timestamp DateTime
return List

RetrieveYoutubePersistedItem() public method

public RetrieveYoutubePersistedItem ( int id ) : List
id int
return List

RetrieveYoutubePersistedItem() public method

public RetrieveYoutubePersistedItem ( string uniqueid ) : List
uniqueid string
return List

RetrieveYoutubePersistedItemByGrouping() public method

public RetrieveYoutubePersistedItemByGrouping ( string grouping ) : List
grouping string
return List

SaveAppState() public method

public SaveAppState ( string name, string value ) : void
name string
value string
return void

SaveCacheCallResponse() public method

public SaveCacheCallResponse ( string url, string data, DateTime timeStamp ) : void
url string
data string
timeStamp DateTime
return void

SaveGroupsRequest() public method

public SaveGroupsRequest ( GroupsRequest groupsRequest ) : void
groupsRequest GroupsRequest
return void

SaveSearchRequest() public method

public SaveSearchRequest ( SearchRequest searchRequest ) : void
searchRequest SearchRequest
return void

Unload() public method

public Unload ( ) : void
return void

UpdateInstanceAppState() public method

public UpdateInstanceAppState ( AppSystemDataEnums appSystemData, string value ) : void
appSystemData AppSystemDataEnums
value string
return void

UpdateProjectField() public method

public UpdateProjectField ( string aggregateId, string fieldName, object fieldValue, bool sendAggregateUpdateMessage = true ) : void
aggregateId string
fieldName string
fieldValue object
sendAggregateUpdateMessage bool
return void

UpdateSceneField() public method

public UpdateSceneField ( string aggregateId, string fieldName, object fieldValue, bool sendAggregateUpdateMessage = true ) : void
aggregateId string
fieldName string
fieldValue object
sendAggregateUpdateMessage bool
return void

UpdateSolutionField() public method

public UpdateSolutionField ( string aggregateId, string fieldName, object fieldValue, bool sendAggregateUpdateMessage = true ) : void
aggregateId string
fieldName string
fieldValue object
sendAggregateUpdateMessage bool
return void

UpdateTwitterPersistedItemField() public method

public UpdateTwitterPersistedItemField ( int id, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
id int
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateTwitterPersistedItemField() public method

public UpdateTwitterPersistedItemField ( long twitterId, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
twitterId long
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateTwitterPersistedItemField() public method

public UpdateTwitterPersistedItemField ( string uid, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
uid string
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateUIElementStateField() public method

public UpdateUIElementStateField ( string aggregateId, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
aggregateId string
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateYoutubeHistoryItemField() public method

public UpdateYoutubeHistoryItemField ( int id, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
id int
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateYoutubeHistoryItemField() public method

public UpdateYoutubeHistoryItemField ( string uid, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
uid string
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateYoutubePersistedItemField() public method

public UpdateYoutubePersistedItemField ( int id, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
id int
fieldName string
value object
sendAggregateUpdateMessage bool
return void

UpdateYoutubePersistedItemField() public method

public UpdateYoutubePersistedItemField ( string uid, string fieldName, object value, bool sendAggregateUpdateMessage = true ) : void
uid string
fieldName string
value object
sendAggregateUpdateMessage bool
return void