Class UserProductsMacro
- Namespace
- Dynamicweb.Ecommerce.Indexing
- Assembly
- Dynamicweb.Ecommerce.dll
Represents user macro
public class UserProductsMacro : Macro
- Inheritance
-
UserProductsMacro
- Inherited Members
Properties
Name
Gets the name.
public override string Name { get; }
Property Value
- string
- The name.
- See Also
SupportedActions
Gets the supported actions.
public override IEnumerable<string> SupportedActions { get; }
Property Value
- IEnumerable<string>
- The supported actions.
- See Also
Methods
ClearDefaultFavoritesCache(int)
Clears the cache for default favorite list for user or group.
public static void ClearDefaultFavoritesCache(int userOrGroupId)
Parameters
userOrGroupId
int- User or group id
- See Also
ClearGroupUsersFavoriteCache(Group, int)
Clears the cache for all users in the group
public static void ClearGroupUsersFavoriteCache(Group group, int favoriteListId)
Parameters
- See Also
ClearUserDefaultFavoritesCache(User)
Clears the cache for default favorite list for user.
public static void ClearUserDefaultFavoritesCache(User user)
Parameters
user
User- The user
- See Also
ClearUserFavoritesCache(User, int)
Clears the cache for user
public static void ClearUserFavoritesCache(User user, int favoriteListId)
Parameters
- See Also
ClearUserFavoritesCache(int, int)
Clears the cache for user or group
public static void ClearUserFavoritesCache(int userOrGroupId, int favoriteListId)
Parameters
- See Also
Evaluate(string)
Evaluates the specified action.
public override object Evaluate(string action)
Parameters
action
string- The action.
Returns
- object
- The value of the action that was evaluated;
null
if the action did not evaluate to a specific value.
- See Also