C# Class AppActs.API.DataMapper.EventMapper

Inheritance: NoSqlBase, IEventMapper
Exibir arquivo Open project: Appacts/mobile-analytics-server Class Usage Examples

Public Methods

Method Description
EventMapper ( MongoClient client, string databaseName ) : System
GetDateOfDeviceLastVisit ( System.Guid deviceId, System.Guid applicationId ) : Nullable
GetDeviceAppLastScreenOneBy ( System.Guid deviceId, System.Guid applicationId ) : DeviceAppLastScreen
Remove ( System.Guid deviceId, System.Guid applicationId ) : void
Save ( AppUsageDurationSummary entity ) : void
Save ( AppUsageSummary entity ) : void
Save ( ContentLoadSummary entity ) : void
Save ( DeviceAppLastScreen deviceAppLastScreen ) : void
Save ( Event entity ) : void
Save ( EventSummary entity ) : void
Save ( ScreenRouteSummary entity ) : void
Save ( ScreenSummary entity ) : void

Method Details

EventMapper() public method

public EventMapper ( MongoClient client, string databaseName ) : System
client MongoDB.Driver.MongoClient
databaseName string
return System

GetDateOfDeviceLastVisit() public method

public GetDateOfDeviceLastVisit ( System.Guid deviceId, System.Guid applicationId ) : Nullable
deviceId System.Guid
applicationId System.Guid
return Nullable

GetDeviceAppLastScreenOneBy() public method

public GetDeviceAppLastScreenOneBy ( System.Guid deviceId, System.Guid applicationId ) : DeviceAppLastScreen
deviceId System.Guid
applicationId System.Guid
return AppActs.API.Model.Event.DeviceAppLastScreen

Remove() public method

public Remove ( System.Guid deviceId, System.Guid applicationId ) : void
deviceId System.Guid
applicationId System.Guid
return void

Save() public method

public Save ( AppUsageDurationSummary entity ) : void
entity AppActs.API.Model.Event.AppUsageDurationSummary
return void

Save() public method

public Save ( AppUsageSummary entity ) : void
entity AppActs.API.Model.Event.AppUsageSummary
return void

Save() public method

public Save ( ContentLoadSummary entity ) : void
entity ContentLoadSummary
return void

Save() public method

public Save ( DeviceAppLastScreen deviceAppLastScreen ) : void
deviceAppLastScreen AppActs.API.Model.Event.DeviceAppLastScreen
return void

Save() public method

public Save ( Event entity ) : void
entity AppActs.API.Model.Event.Event
return void

Save() public method

public Save ( EventSummary entity ) : void
entity AppActs.API.Model.Event.EventSummary
return void

Save() public method

public Save ( ScreenRouteSummary entity ) : void
entity AppActs.API.Model.Event.ScreenRouteSummary
return void

Save() public method

public Save ( ScreenSummary entity ) : void
entity AppActs.API.Model.Event.ScreenSummary
return void