World is now on Opti ID! Learn more

Interface ICustomColumnSettingsService

Services for custom column settings.

Namespace: EPiServer.Commerce.CustomColumnSetting.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public interface ICustomColumnSettingsService

Methods

GetCustomColumnSettings(Int32, String)

Gets the custom column settings.

Declaration
IEnumerable<CustomColumnSettings> GetCustomColumnSettings(int viewId, string userName)
Parameters
Type Name Description
System.Int32 viewId

The view id.

System.String userName

The username.

Returns
Type Description
System.Collections.Generic.IEnumerable<CustomColumnSettings>

A list of custom column settings.

SaveCustomColumnSettings(Int32, String, IEnumerable<CustomColumnSettings>)

Saves a list of custom column settings.

Declaration
void SaveCustomColumnSettings(int viewId, string userName, IEnumerable<CustomColumnSettings> customColumnSettings)
Parameters
Type Name Description
System.Int32 viewId

The view id.

System.String userName

The username.

System.Collections.Generic.IEnumerable<CustomColumnSettings> customColumnSettings

A list of custom column settings.