Click or drag to resize

FilterService Class

OFV Kjøretøydata service

This service delivers the possibility to store and retreive filters for an user.

All methods need an UserDTO as input - login user by using Login(UserDTO, TermsDTO, String) to get an UserDTO.

All methods need a format as input (json/xml) - result of request is delivered on format selected.

Inheritance Hierarchy
SystemObject
  OfvVehicleData.ServiceFilterService

Namespace:  OfvVehicleData.Service
Assembly:  OfvVehicleData.Service (in OfvVehicleData.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class FilterService

The FilterService type exposes the following members.

Constructors
  NameDescription
Public methodFilterService
Initializes a new instance of the FilterService class
Top
Methods
  NameDescription
Public methodRemoveFilter
Delete specific filter.
Public methodRetrieveFilter
Retrieve a specific filter.
Public methodRetrieveFilterList
Retrieve list of all available filter for given user.
Public methodStoreFilter
Store (NEW/UPDATE) filter.

- if id is 0 then new entry will be added in database, otherwise its threated as an update.

Top
Remarks
The purpose of this service is to expose methods that can be used to store and retreive searchfilters for an user. Filter that are stored is retreived on exact same format as they where stored.

THIS SERVICE IS PRETENTED TO BE USED BY OFV Kjøretøydata application ONLY!

See Also