Class DetailsGroupService
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
The DetailsGroupService class providing methods for querying and saving the DetailsGroup data.
public class DetailsGroupService : ICacheStorage<int, DetailsGroup>, ICacheStorage<int>, ICacheStorage
- Inheritance
-
Details
Group Service
- Implements
- Inherited Members
Methods
ClearCache()
Clear details groups cache.
ClearCache(IEnumerable<int>)
Resets the specified keys to the default value for objects stored in the object cache
Parameters
keys
IEnumerable<int>Keys to reset
ClearCache(int)
Resets the specified key to the default value for objects stored in the object cache
Parameters
key
intKey to reset
Delete(IEnumerable<int>)
Delete the details groups.
Parameters
groupIds
IEnumerable<int>The details groups
Delete(int)
Delete the details group.
Parameters
groupId
intThe details group
DeleteTexts(IEnumerable<DetailsGroup>, string)
Delete the details group texts.
Parameters
groups
IEnumerable<DetailsGroup >The details groups
languageId
stringThe language id
GetById(int)
Gets the details group by id.
Parameters
groupId
intThe details group id
Returns
GetDetailExtensions()
Gets extensions alowed for details group
Returns
Remarks
The extensions stored in global settings by key Dynamicweb.
GetGroups()
Gets all details groups.
Returns
Save(DetailsGroup)
Saves the details group.
Parameters
group
DetailsGroup The details group
UpdateCategoryPrimaryImageRule(int)
Updates is primary image rule for specified details group id
Parameters
groupId
intGroup id
Remarks
If detail Id not set - updates all the detail groups so they are not default