Table of Contents

Class EndpointParameterService

Namespace
Dynamicweb.DataIntegration.EndpointManagement.Parameters
Assembly
Dynamicweb.DataIntegration.dll

Service for endpoint Parameter.

public class EndpointParameterService : ICacheStorage<int, List<EndpointParameter>>, ICacheStorage<int>, ICacheStorage
Inheritance
EndpointParameterService
Implements
Inherited Members

Constructors

EndpointParameterService()

Initializes a new instance of the EndpointParameterService class.

public EndpointParameterService()

Properties

Info

Information about the object cache

public CacheInformation Info { get; }

Property Value

CacheInformation

Methods

AddHeader(int, string, string)

public EndpointParameter AddHeader(int endpointId, string key, string value)

Parameters

endpointId int
key string
value string

Returns

EndpointParameter

ClearCache()

Resets all keys to the default value for objects stored in the object cache

public void ClearCache()

ClearCache(IEnumerable<int>)

Resets the specified keys to the default value for objects stored in the object cache

public void ClearCache(IEnumerable<int> keys)

Parameters

keys IEnumerable<int>

Keys to reset

ClearCache(int)

Resets the specified key to the default value for objects stored in the object cache

public void ClearCache(int key)

Parameters

key int

Key to reset

DeleteEndpointParameter(int)

Deletes the Endpoint Parameter.

public virtual void DeleteEndpointParameter(int id)

Parameters

id int

The identifier.

DeleteEndpointParameters(int)

Deletes the Endpoint Parameters.

public virtual void DeleteEndpointParameters(int endpointId)

Parameters

endpointId int

The identifier.

GetById(int)

public virtual EndpointParameter? GetById(int id)

Parameters

id int

Returns

EndpointParameter

GetById(int, EndpointParameterType)

public virtual EndpointParameter? GetById(int id, EndpointParameterType type)

Parameters

id int
type EndpointParameterType

Returns

EndpointParameter

GetEndpointParameters(int)

Gets the endpoint parameters.

public virtual IList<EndpointParameter> GetEndpointParameters(int endpointId)

Parameters

endpointId int

Returns

IList<EndpointParameter>

A collection of endpoint parameters.

GetEndpointParameters(int, EndpointParameterType)

Gets the endpoint parameters.

public virtual IList<EndpointParameter> GetEndpointParameters(int endpointId, EndpointParameterType type)

Parameters

endpointId int
type EndpointParameterType

Returns

IList<EndpointParameter>

A collection of endpoint parameters.

GetHeaderParameters(int)

Gets the endpoint header parameters.

public virtual IList<EndpointParameter> GetHeaderParameters(int endpointId)

Parameters

endpointId int

Returns

IList<EndpointParameter>

A collection of endpoint header parameters.

GetQueryParameters(int)

Gets the endpoint query parameters.

public virtual IList<EndpointParameter> GetQueryParameters(int endpointId)

Parameters

endpointId int

Returns

IList<EndpointParameter>

A collection of endpoint query parameters.

Save(EndpointParameter)

Saves the Endpoint Parameter.

public void Save(EndpointParameter endpointParameter)

Parameters

endpointParameter EndpointParameter

The Endpoint Parameter.

To top