C# Class Universe.Services.DataService.LocalAbuseReportsConnector

Inheritance: IAbuseReportsConnector
Mostra file Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
AbuseReportCount ( ) : int

Gets the number of Abuse reports.

AddAbuseReport ( AbuseReport report ) : void

Adds a new abuse report to the database

Dispose ( ) : void
Enabled ( ) : bool
GetAbuseReport ( int Number ) : AbuseReport

Gets the abuse report associated with the number without authentication

GetAbuseReport ( int Number, string Password ) : AbuseReport

Gets the abuse report associated with the number and uses the pass to authenticate.

GetAbuseReports ( int start, int count, bool active ) : List
Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
UpdateAbuseReport ( AbuseReport report ) : void

Updates an abuse report without authentication

UpdateAbuseReport ( AbuseReport report, string Password ) : void

Updates an abuse report and authenticates with the password.

Method Details

AbuseReportCount() public method

Gets the number of Abuse reports.
public AbuseReportCount ( ) : int
return int

AddAbuseReport() public method

Adds a new abuse report to the database
public AddAbuseReport ( AbuseReport report ) : void
report Universe.Framework.Services.AbuseReport
return void

Dispose() public method

public Dispose ( ) : void
return void

Enabled() public method

public Enabled ( ) : bool
return bool

GetAbuseReport() public method

Gets the abuse report associated with the number without authentication
public GetAbuseReport ( int Number ) : AbuseReport
Number int
return Universe.Framework.Services.AbuseReport

GetAbuseReport() public method

Gets the abuse report associated with the number and uses the pass to authenticate.
public GetAbuseReport ( int Number, string Password ) : AbuseReport
Number int
Password string
return Universe.Framework.Services.AbuseReport

GetAbuseReports() public method

public GetAbuseReports ( int start, int count, bool active ) : List
start int
count int
active bool
return List

Initialize() public method

public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
GenericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
return void

UpdateAbuseReport() public method

Updates an abuse report without authentication
public UpdateAbuseReport ( AbuseReport report ) : void
report Universe.Framework.Services.AbuseReport
return void

UpdateAbuseReport() public method

Updates an abuse report and authenticates with the password.
public UpdateAbuseReport ( AbuseReport report, string Password ) : void
report Universe.Framework.Services.AbuseReport
Password string
return void