Class UserProductsMacro
- Namespace
- Dynamicweb.Ecommerce.Indexing
- Assembly
- Dynamicweb.Ecommerce.dll
Represents user macro
- Inheritance
-
User
Products Macro
- Inherited Members
Properties
Name
Gets the name.
Property Value
- string
The name.
SupportedActions
Gets the supported actions.
Property Value
- IEnumerable<Macro
Action > The supported actions.
Methods
ClearCache()
Clears all the caches.
ClearDefaultFavoritesCache(int)
Clears the cache for default favorite list for user or group.
Parameters
userOrGroupIdintUser or group id
ClearGroupUsersFavoriteCache(UserGroup, int)
Clears the cache for all users in the group
Parameters
ClearUserDefaultFavoritesCache(User)
Clears the cache for default favorite list for user.
Parameters
userUserThe user
ClearUserFavoritesCache(User, int)
Clears the cache for user
Parameters
ClearUserFavoritesCache(int, int)
Clears the cache for user or group
Parameters
Evaluate(MacroAction)
Evaluates the specified action.
Parameters
actionMacroAction The action.
Returns
- object
The value of the action that was evaluated;
nullif the action did not evaluate to a specific value.