C# Class Carrotware.CMS.Mvc.UI.Admin.Models.ContentPageModel

Inheritance: IValidatableObject
Show file Open project: ninianne98/CarrotCakeCMS-MVC Class Usage Examples

Public Methods

Method Description
ContentPageModel ( ) : System
GetPage ( System.Guid id, System.Guid versionid, System.Guid importid, string mode ) : ContentPage
GetPost ( System.Guid id, System.Guid versionid, System.Guid importid, string mode ) : ContentPage
RefreshWidgetList ( ) : void
SavePage ( ) : ContentPage
SavePost ( ) : ContentPage
SaveTextWidgets ( ) : void
SetPage ( ContentPage page ) : void
Validate ( System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : IEnumerable

Protected Methods

Method Description
InitSelections ( ) : void
OverrideCache ( ContentPage pageContents ) : void

Method Details

ContentPageModel() public method

public ContentPageModel ( ) : System
return System

GetPage() public method

public GetPage ( System.Guid id, System.Guid versionid, System.Guid importid, string mode ) : ContentPage
id System.Guid
versionid System.Guid
importid System.Guid
mode string
return Carrotware.CMS.Core.ContentPage

GetPost() public method

public GetPost ( System.Guid id, System.Guid versionid, System.Guid importid, string mode ) : ContentPage
id System.Guid
versionid System.Guid
importid System.Guid
mode string
return Carrotware.CMS.Core.ContentPage

InitSelections() protected method

protected InitSelections ( ) : void
return void

OverrideCache() protected method

protected OverrideCache ( ContentPage pageContents ) : void
pageContents Carrotware.CMS.Core.ContentPage
return void

RefreshWidgetList() public method

public RefreshWidgetList ( ) : void
return void

SavePage() public method

public SavePage ( ) : ContentPage
return Carrotware.CMS.Core.ContentPage

SavePost() public method

public SavePost ( ) : ContentPage
return Carrotware.CMS.Core.ContentPage

SaveTextWidgets() public method

public SaveTextWidgets ( ) : void
return void

SetPage() public method

public SetPage ( ContentPage page ) : void
page Carrotware.CMS.Core.ContentPage
return void

Validate() public method

public Validate ( System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : IEnumerable
validationContext System.ComponentModel.DataAnnotations.ValidationContext
return IEnumerable