Table of Contents

Class FieldDisplayGroupService

Namespace
Dynamicweb.Ecommerce.Products.FieldDisplayGroups
Assembly
Dynamicweb.Ecommerce.dll

The class FieldDisplayGroupService provids different methods for visible field presets.

public class FieldDisplayGroupService : ICacheStorage<int, FieldDisplayGroup>, ICacheStorage<int>, ICacheStorage
Inheritance
FieldDisplayGroupService
Implements
Inherited Members

Methods

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

Delete(IEnumerable<int>)

Delete the visible field preset.

public void Delete(IEnumerable<int> fieldPresetIds)

Parameters

fieldPresetIds IEnumerable<int>

The visible field presets

Delete(int)

Delete the visible field preset.

public void Delete(int fieldPresetId)

Parameters

fieldPresetId int

The visible field preset

DeleteTranslation(IEnumerable<int>, string)

Delete the visible field preset.

public void DeleteTranslation(IEnumerable<int> fieldPresetIds, string languageId)

Parameters

fieldPresetIds IEnumerable<int>

The visible field presets

languageId string

GetAll()

Gets all visible field presets sorted by index.

public IEnumerable<FieldDisplayGroup> GetAll()

Returns

IEnumerable<FieldDisplayGroup>

GetById(int)

Gets the visible field preset by id.

public FieldDisplayGroup GetById(int fieldPresetId)

Parameters

fieldPresetId int

The visible field preset id

Returns

FieldDisplayGroup

GetBySystemName(string)

Gets the visible field preset by system name.

public FieldDisplayGroup GetBySystemName(string fieldPresetSystemName)

Parameters

fieldPresetSystemName string

The visible field preset system name

Returns

FieldDisplayGroup

GetFrontendDisplayGroups()

Gets all visible field presets available in frontend.

public IEnumerable<FieldDisplayGroup> GetFrontendDisplayGroups()

Returns

IEnumerable<FieldDisplayGroup>

Save(FieldDisplayGroup)

Saves the visible field preset.

public void Save(FieldDisplayGroup fieldPreset)

Parameters

fieldPreset FieldDisplayGroup

The field preset

To top