PageFactory 

Factory for page.

Kind: global class


new PageFactory(oc) 

Factory used by page management classes.

Param Type
oc ObjectContainer

pageFactory._oc : ObjectContainer 

The current application object container.

Kind: instance property of PageFactory


pageFactory.createController(controller) ⇒ Controller 

Create new instance of {@linkcode Controller}.

Kind: instance method of PageFactory

Param Type
controller string | function

pageFactory.createView(view) ⇒ function 

Retrieves the specified react component class.

Kind: instance method of PageFactory
Returns: function - The react component class constructor.

Param Type Description
view string | function The namespace referring to a react component class, or a react component class constructor.

pageFactory.decorateController(controller) ⇒ Controller 

Returns decorated controller for ease setting seo params in controller.

Kind: instance method of PageFactory

Param Type
controller Controller

pageFactory.decoratePageStateManager(pageStateManager, allowedStateKeys) ⇒ PageStateManager 

Returns decorated page state manager for extension.

Kind: instance method of PageFactory

Param Type
pageStateManager PageStateManager
allowedStateKeys Array.<string>