C# Class Bloom.web.controllers.AddOrChangePageApi

This API handles requests to add new pages and change existing pages to match some other layout.
Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
AddOrChangePageApi ( Bloom.Edit.TemplateInsertionCommand templateInsertionCommand, PageRefreshEvent pageRefreshEvent, PageSelection pageSelection, SourceCollectionsList sourceCollectionsList ) : System.Collections.Generic
RegisterWithServer ( EnhancedImageServer server ) : void

Private Methods

Method Description
GetPageTemplate ( ApiRequest request ) : IPage
HandleAddPage ( ApiRequest request ) : void
HandleChangeLayout ( ApiRequest request ) : void

Method Details

AddOrChangePageApi() public method

public AddOrChangePageApi ( Bloom.Edit.TemplateInsertionCommand templateInsertionCommand, PageRefreshEvent pageRefreshEvent, PageSelection pageSelection, SourceCollectionsList sourceCollectionsList ) : System.Collections.Generic
templateInsertionCommand Bloom.Edit.TemplateInsertionCommand
pageRefreshEvent PageRefreshEvent
pageSelection Bloom.Edit.PageSelection
sourceCollectionsList SourceCollectionsList
return System.Collections.Generic

RegisterWithServer() public method

public RegisterWithServer ( EnhancedImageServer server ) : void
server Bloom.Api.EnhancedImageServer
return void