C# Class Frapid.WebApi.DataAccess.FilterRepository

Inheritance: Frapid.DbPolicy.DbAccess
Mostrar archivo Open project: frapid/frapid Class Usage Examples

Public Methods

Method Description
DeleteAsync ( string filterName ) : System.Threading.Tasks.Task

Deletes the row of the table "config.filters" against the supplied filter name.

FilterRepository ( string database, long loginId, int userId ) : System
GetWhereAsync ( long pageNumber, List filters ) : Task>
MakeDefaultAsync ( string objectName, string filterName ) : System.Threading.Tasks.Task
RecreateFiltersAsync ( string objectName, string filterName, List filters ) : System.Threading.Tasks.Task
RemoveDefaultAsync ( string objectName ) : System.Threading.Tasks.Task

Method Details

DeleteAsync() public method

Deletes the row of the table "config.filters" against the supplied filter name.
/// Thown when the application user does not have sufficient privilege to perform /// this action. ///
public DeleteAsync ( string filterName ) : System.Threading.Tasks.Task
filterName string The value of the column "filter_name" which will be deleted.
return System.Threading.Tasks.Task

FilterRepository() public method

public FilterRepository ( string database, long loginId, int userId ) : System
database string
loginId long
userId int
return System

GetWhereAsync() public method

public GetWhereAsync ( long pageNumber, List filters ) : Task>
pageNumber long
filters List
return Task>

MakeDefaultAsync() public method

public MakeDefaultAsync ( string objectName, string filterName ) : System.Threading.Tasks.Task
objectName string
filterName string
return System.Threading.Tasks.Task

RecreateFiltersAsync() public method

public RecreateFiltersAsync ( string objectName, string filterName, List filters ) : System.Threading.Tasks.Task
objectName string
filterName string
filters List
return System.Threading.Tasks.Task

RemoveDefaultAsync() public method

public RemoveDefaultAsync ( string objectName ) : System.Threading.Tasks.Task
objectName string
return System.Threading.Tasks.Task