Dynamicweb 8 Documentation
Group Class Methods


For a list of all members of this type, see Group members.

Public Methods
 NameDescription
Public MethodAddRelatedProductIdAdd default related product to relation group  
Public MethodAddSubgroupAdds the given Group as a subgroup to this Group. If the given Group or this does not exist in the database, then an ArgumentException will be thrown.  
Public Methodstatic (Shared in Visual Basic)ClearCache  
Public MethodClearOrderLineFieldCacheReset order line fields cache  
Public MethodCloneCreate in-memory copy of current group  
Public MethodCopyOverloaded. Create and save to database a copy of current group  
Public MethodDeleteOverloaded. Delete current group from database  
Public Methodstatic (Shared in Visual Basic)DeleteAllPrepare SQL statement to delete groups from provided collection and optionally execute this statement. Deletes appropriate relations between shops, other groups and products as well.  
Public MethodDeleteRelatedProductIdDelete related product from relation  
Public MethodDeleteRelatedProductsDelete related products from relation group  
Public MethodFillFill Group object with properties from provided DataReader  
Public Methodstatic (Shared in Visual Basic)GetAllGroupsGets all product groups sorted by name  
Public Methodstatic (Shared in Visual Basic)GetEmptyGroupDataSetReturns an empty dataset from the Group table - used for looking at the columns  
Public Methodstatic (Shared in Visual Basic)GetGroupByIDOverloaded. Gets the group by ID.  
Public Methodstatic (Shared in Visual Basic)GetGroupsByIDsOverloaded. Gets groups by provided group IDs  
Public Methodstatic (Shared in Visual Basic)GetGroupsByProductGet groups for given product  
Public Methodstatic (Shared in Visual Basic)GetGroupsBySearchWordOverloaded. Find topCounter groups using given keyword  
Public MethodGetRelatedProductIdsGet string with list of related products for relation group. Related products are used as default list of related products for child products  
Public MethodGetRelatedProductsGet list of related products for relation group. Related products are used as default list of related products for child products  
Public Methodstatic (Shared in Visual Basic)GetToplevelGroupsGets the toplevel groups.  
Public MethodHasProductsOverloaded. Has this group products or not  
Public MethodSaveOverloaded. Saves this instance.  
Public Methodstatic (Shared in Visual Basic)WhereClauseBuilderBuilds a comma seperated string of group ids, for where statements  
Top
Protected Methods
 NameDescription
Protected MethodClearInheritedOrderLineFieldsCacheReset order line fields cache for child groups that inherit from this group  
Top
See Also

Reference

Group Class
Dynamicweb.eCommerce.Products Namespace

Send Feedback