Class CustomPageManager
Represents custom page manager.
Inheritance
System.Object
CustomPageManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Customization
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public sealed class CustomPageManager
Constructors
CustomPageManager()
Declaration
public CustomPageManager()
Methods
DeleteCustomPage(Guid)
Deletes the custom page.
Declaration
public static void DeleteCustomPage(Guid uid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The uid. |
GetCustomPage(Guid, Nullable<Guid>)
Gets the custom page.
Declaration
public static CustomPageEntity GetCustomPage(Guid uid, Guid? userId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The page uid. |
System.Nullable<System.Guid> | userId | The user id. |
Returns
Type | Description |
---|---|
CustomPageEntity |
ResetCustomPage(Guid, Nullable<Guid>)
Resets the custom page.
Declaration
public static void ResetCustomPage(Guid uid, Guid? userId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The page uid. |
System.Nullable<System.Guid> | userId | The user id. |
ResetUserSettings(Guid)
Resets the user settings
Declaration
public static void ResetUserSettings(Guid uid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The page uid. |
UpdateCustomPage(Guid, String, Guid, Nullable<Guid>)
Updates the custom page.
Declaration
public static void UpdateCustomPage(Guid uid, string jsonData, Guid templateUid, Guid? userId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The page uid. |
System.String | jsonData | The json data. |
System.Guid | templateUid | The template uid. |
System.Nullable<System.Guid> | userId | The user id. |
UpdateCustomPageProperty(Guid, String, Nullable<Guid>)
Updates the custom page property.
Declaration
public static void UpdateCustomPageProperty(Guid uid, string propertyJsonData, Guid? userId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uid | The uid. |
System.String | propertyJsonData | The property json data. |
System.Nullable<System.Guid> | userId | The user id. |