Class DynamicStructureService
- Namespace
- Dynamicweb.Ecommerce.Products.DynamicStructuring
- Assembly
- Dynamicweb.Ecommerce.dll
The class
DynamicStructureService
provids different methods for querying and saving the dynamic structures.[Obsolete("Use Dynamicweb.Indexing.DynamicStructuring.DynamicStructureService instead")]
public class DynamicStructureService
- Inheritance
-
DynamicStructureService
- Inherited Members
Methods
Delete(IEnumerable<Guid>)
Delete the dynamic structure.
public void Delete(IEnumerable<Guid> dynamicStructureIds)
Parameters
dynamicStructureIds
IEnumerable<Guid>- The dynamic structures
Delete(IEnumerable<string>)
Delete the dynamic structure.
public void Delete(IEnumerable<string> dynamicStructureIds)
Parameters
dynamicStructureIds
IEnumerable<string>- The dynamic structures
Delete(Guid)
Delete the dynamic structure.
public void Delete(Guid dynamicStructureId)
Parameters
dynamicStructureId
Guid- The dynamic structure
Delete(string)
Delete the dynamic structure.
public void Delete(string dynamicStructureId)
Parameters
dynamicStructureId
string- The dynamic structure
GetAll()
Gets all dynamic structures.
public IEnumerable<DynamicStructure> GetAll()
Returns
GetById(Guid)
Gets the dynamic structure by id.
public DynamicStructure GetById(Guid dynamicStructureId)
Parameters
dynamicStructureId
Guid- The dynamic structure id
Returns
GetById(string)
Gets the dynamic structure by id.
public DynamicStructure GetById(string dynamicStructureId)
Parameters
dynamicStructureId
string- The dynamic structure id
Returns
Save(DynamicStructure)
Saves the dynamic structure.
public void Save(DynamicStructure dynamicStructure)
Parameters
dynamicStructure
DynamicStructure- The dynamic structure