C# Class Core.Web.Controllers.PagesController

Exibir arquivo Open project: coreframework/Core-Framework

Private Properties

Property Type Description
AddWidget System.Web.Mvc.ActionResult
AddWidget System.Web.Mvc.ActionResult
ApplyPagePermissions System.Web.Mvc.ActionResult
ApplyPagePermissions System.Web.Mvc.ActionResult
ApplyWidgetPermissions System.Web.Mvc.ActionResult
ApplyWidgetPermissions System.Web.Mvc.ActionResult
ChangeLanguage System.Web.Mvc.ActionResult
ChangeLanguage System.Web.Mvc.ActionResult
ChangeLayout System.Web.Mvc.ActionResult
ChangeLayout System.Web.Mvc.ActionResult
ChangePageMode System.Web.Mvc.ActionResult
ChangePageMode System.Web.Mvc.ActionResult
CreateNewPage System.Web.Mvc.ActionResult
Index System.Web.Mvc.ActionResult
Index System.Web.Mvc.ActionResult
IsPageOwner bool
PagesController System
RedirectToAction System.Web.Mvc.RedirectToRouteResult
RefreshWidget System.Web.Mvc.ActionResult
RefreshWidget System.Web.Mvc.ActionResult
RemovePage System.Web.Mvc.ActionResult
RemovePage System.Web.Mvc.ActionResult
RemovePageWidget System.Web.Mvc.ActionResult
RemovePageWidget System.Web.Mvc.ActionResult
SavePageCommonSettings System.Web.Mvc.ActionResult
SavePageCommonSettings System.Web.Mvc.ActionResult
Show System.Web.Mvc.ActionResult
Show System.Web.Mvc.ActionResult
ShowAvailableWidgets System.Web.Mvc.ActionResult
ShowChangeLayoutForm System.Web.Mvc.ActionResult
ShowLayoutSettingsForm System.Web.Mvc.ActionResult
ShowLayoutSettingsForm System.Web.Mvc.ActionResult
ShowPageCSS System.Web.Mvc.ActionResult
ShowPageCommonSettings System.Web.Mvc.ActionResult
ShowPageLookAndFeel System.Web.Mvc.ActionResult
ShowPagePermissions System.Web.Mvc.ActionResult
ShowSettings System.Web.Mvc.ActionResult
ShowWidgetCSS System.Web.Mvc.ActionResult
ShowWidgetLookAndFeel System.Web.Mvc.ActionResult
ShowWidgetPermissions System.Web.Mvc.ActionResult
Unlink System.Web.Mvc.ActionResult
Unlink System.Web.Mvc.ActionResult
UpdateLayoutSettingsForm System.Web.Mvc.ActionResult
UpdateLayoutSettingsForm System.Web.Mvc.ActionResult
UpdatePageCSS System.Web.Mvc.ActionResult
UpdatePageCSS System.Web.Mvc.ActionResult
UpdatePageCommonSettings System.Web.Mvc.ActionResult
UpdatePageCommonSettings System.Web.Mvc.ActionResult
UpdatePageLookAndFeel System.Web.Mvc.ActionResult
UpdatePageLookAndFeel System.Web.Mvc.ActionResult
UpdatePagePosition System.Web.Mvc.ActionResult
UpdatePagePosition System.Web.Mvc.ActionResult
UpdatePageWidgetInstance System.Web.Mvc.ActionResult
UpdatePageWidgetInstance System.Web.Mvc.ActionResult
UpdateWidgetCSS System.Web.Mvc.ActionResult
UpdateWidgetCSS System.Web.Mvc.ActionResult
UpdateWidgetLookAndFeel System.Web.Mvc.ActionResult
UpdateWidgetLookAndFeel System.Web.Mvc.ActionResult
UpdateWidgetsPositions System.Web.Mvc.ActionResult
UpdateWidgetsPositions System.Web.Mvc.ActionResult

Public Methods

Method Description
CreateNewPage ( long parentPageId ) : System.Web.Mvc.ActionResult

Creates the new page.

PagesController ( ) : System

Initializes a new instance of the PagesController class.

ShowAvailableWidgets ( long pageId, bool isTemplate ) : System.Web.Mvc.ActionResult

Shows the available widgets.

ShowChangeLayoutForm ( long pageId ) : System.Web.Mvc.ActionResult

Shows the change layout form.

ShowPageCSS ( long pageId ) : System.Web.Mvc.ActionResult

Shows the page CSS.

ShowPageCommonSettings ( long pageId ) : System.Web.Mvc.ActionResult

Shows the page common settings.

ShowPageLookAndFeel ( long pageId ) : System.Web.Mvc.ActionResult

Shows the page look and feel.

ShowPagePermissions ( long pageId ) : System.Web.Mvc.ActionResult

Shows the page CSS.

ShowSettings ( long pageWidgetId ) : System.Web.Mvc.ActionResult

Shows the settings.

ShowWidgetCSS ( long pageWidgetId ) : System.Web.Mvc.ActionResult
ShowWidgetLookAndFeel ( long pageWidgetId ) : System.Web.Mvc.ActionResult

Shows the look and feel.

ShowWidgetPermissions ( long pageWidgetId ) : System.Web.Mvc.ActionResult

Shows the widget permissions.

Private Methods

Method Description
AddWidget ( ) : System.Web.Mvc.ActionResult
AddWidget ( long pageId, long widgetId ) : System.Web.Mvc.ActionResult
ApplyPagePermissions ( PermissionsModel model ) : System.Web.Mvc.ActionResult
ApplyPagePermissions ( ) : System.Web.Mvc.ActionResult
ApplyWidgetPermissions ( PermissionsModel model ) : System.Web.Mvc.ActionResult
ApplyWidgetPermissions ( ) : System.Web.Mvc.ActionResult
ChangeLanguage ( ) : System.Web.Mvc.ActionResult
ChangeLanguage ( long pageId, String culture ) : System.Web.Mvc.ActionResult
ChangeLayout ( ) : System.Web.Mvc.ActionResult
ChangeLayout ( long pageId, long layoutTemplateId ) : System.Web.Mvc.ActionResult
ChangePageMode ( PageMode pageMode ) : System.Web.Mvc.ActionResult
ChangePageMode ( ) : System.Web.Mvc.ActionResult
CreateNewPage ( ) : System.Web.Mvc.ActionResult
Index ( PageViewModel currentPage ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsPageOwner ( Page page ) : bool

Determines whether [is page owner] [the specified page].

PagesController ( Dummy d ) : System
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult
RefreshWidget ( ) : System.Web.Mvc.ActionResult
RefreshWidget ( long pageWidgetId ) : System.Web.Mvc.ActionResult
RemovePage ( ) : System.Web.Mvc.ActionResult
RemovePage ( long pageId ) : System.Web.Mvc.ActionResult
RemovePageWidget ( ) : System.Web.Mvc.ActionResult
RemovePageWidget ( long pageWidgetId ) : System.Web.Mvc.ActionResult
SavePageCommonSettings ( PageViewModel model ) : System.Web.Mvc.ActionResult
SavePageCommonSettings ( ) : System.Web.Mvc.ActionResult
Show ( String url ) : System.Web.Mvc.ActionResult
Show ( ) : System.Web.Mvc.ActionResult
ShowAvailableWidgets ( ) : System.Web.Mvc.ActionResult
ShowChangeLayoutForm ( ) : System.Web.Mvc.ActionResult
ShowLayoutSettingsForm ( ) : System.Web.Mvc.ActionResult
ShowLayoutSettingsForm ( long pageId ) : System.Web.Mvc.ActionResult
ShowPageCSS ( ) : System.Web.Mvc.ActionResult
ShowPageCommonSettings ( ) : System.Web.Mvc.ActionResult
ShowPageLookAndFeel ( ) : System.Web.Mvc.ActionResult
ShowPagePermissions ( ) : System.Web.Mvc.ActionResult
ShowSettings ( ) : System.Web.Mvc.ActionResult
ShowWidgetCSS ( ) : System.Web.Mvc.ActionResult
ShowWidgetLookAndFeel ( ) : System.Web.Mvc.ActionResult
ShowWidgetPermissions ( ) : System.Web.Mvc.ActionResult
Unlink ( ) : System.Web.Mvc.ActionResult
Unlink ( long pageId ) : System.Web.Mvc.ActionResult
UpdateLayoutSettingsForm ( LayoutSettingsModel layoutSettings ) : System.Web.Mvc.ActionResult
UpdateLayoutSettingsForm ( ) : System.Web.Mvc.ActionResult
UpdatePageCSS ( PageCSSModel model ) : System.Web.Mvc.ActionResult
UpdatePageCSS ( ) : System.Web.Mvc.ActionResult
UpdatePageCommonSettings ( PageLocaleViewModel model ) : System.Web.Mvc.ActionResult
UpdatePageCommonSettings ( ) : System.Web.Mvc.ActionResult
UpdatePageLookAndFeel ( PageLookAndFeelModel model ) : System.Web.Mvc.ActionResult
UpdatePageLookAndFeel ( ) : System.Web.Mvc.ActionResult
UpdatePagePosition ( ) : System.Web.Mvc.ActionResult
UpdatePagePosition ( long pageId, int orderNumber ) : System.Web.Mvc.ActionResult
UpdatePageWidgetInstance ( ) : System.Web.Mvc.ActionResult
UpdatePageWidgetInstance ( long pageWidgetId, long instanceId ) : System.Web.Mvc.ActionResult
UpdateWidgetCSS ( ) : System.Web.Mvc.ActionResult
UpdateWidgetCSS ( WidgetCSSModel model ) : System.Web.Mvc.ActionResult
UpdateWidgetLookAndFeel ( ) : System.Web.Mvc.ActionResult
UpdateWidgetLookAndFeel ( WidgetLookAndFeelModel model ) : System.Web.Mvc.ActionResult
UpdateWidgetsPositions ( ) : System.Web.Mvc.ActionResult
UpdateWidgetsPositions ( long widgetId, int pageSection, int columnNumber, int orderNumber ) : System.Web.Mvc.ActionResult

Method Details

CreateNewPage() public method

Creates the new page.
public CreateNewPage ( long parentPageId ) : System.Web.Mvc.ActionResult
parentPageId long The parent page id.
return System.Web.Mvc.ActionResult

PagesController() public method

Initializes a new instance of the PagesController class.
public PagesController ( ) : System
return System

ShowAvailableWidgets() public method

Shows the available widgets.
public ShowAvailableWidgets ( long pageId, bool isTemplate ) : System.Web.Mvc.ActionResult
pageId long The page id.
isTemplate bool if set to true [is template].
return System.Web.Mvc.ActionResult

ShowChangeLayoutForm() public method

Shows the change layout form.
public ShowChangeLayoutForm ( long pageId ) : System.Web.Mvc.ActionResult
pageId long The page id.
return System.Web.Mvc.ActionResult

ShowPageCSS() public method

Shows the page CSS.
public ShowPageCSS ( long pageId ) : System.Web.Mvc.ActionResult
pageId long The page id.
return System.Web.Mvc.ActionResult

ShowPageCommonSettings() public method

Shows the page common settings.
public ShowPageCommonSettings ( long pageId ) : System.Web.Mvc.ActionResult
pageId long The page id.
return System.Web.Mvc.ActionResult

ShowPageLookAndFeel() public method

Shows the page look and feel.
public ShowPageLookAndFeel ( long pageId ) : System.Web.Mvc.ActionResult
pageId long The page id.
return System.Web.Mvc.ActionResult

ShowPagePermissions() public method

Shows the page CSS.
public ShowPagePermissions ( long pageId ) : System.Web.Mvc.ActionResult
pageId long The page id.
return System.Web.Mvc.ActionResult

ShowSettings() public method

Shows the settings.
public ShowSettings ( long pageWidgetId ) : System.Web.Mvc.ActionResult
pageWidgetId long
return System.Web.Mvc.ActionResult

ShowWidgetCSS() public method

public ShowWidgetCSS ( long pageWidgetId ) : System.Web.Mvc.ActionResult
pageWidgetId long
return System.Web.Mvc.ActionResult

ShowWidgetLookAndFeel() public method

Shows the look and feel.
public ShowWidgetLookAndFeel ( long pageWidgetId ) : System.Web.Mvc.ActionResult
pageWidgetId long The page widget id.
return System.Web.Mvc.ActionResult

ShowWidgetPermissions() public method

Shows the widget permissions.
public ShowWidgetPermissions ( long pageWidgetId ) : System.Web.Mvc.ActionResult
pageWidgetId long The page widget id.
return System.Web.Mvc.ActionResult