ControllerDecorator ⇐ Controller 

Decorator for page controllers. The decorator manages references to the meta attributes manager and other utilities so these can be easily provided to the decorated page controller when needed.

Kind: global class
Extends: Controller


new ControllerDecorator(controller, metaManager, router, dictionary, settings) 

Initializes the controller decorator.

Param Type Description
controller Controller The controller being decorated.
metaManager MetaManager The meta page attributes manager.
router Router The application router.
dictionary Dictionary Localization phrases dictionary.
settings Object.<string, \*> Application settings for the current application environment.

controllerDecorator._controller : Controller 

The controller being decorated.

Kind: instance property of ControllerDecorator


controllerDecorator._metaManager : MetaManager 

The meta page attributes manager.

Kind: instance property of ControllerDecorator


controllerDecorator._router : Router 

The application router.

Kind: instance property of ControllerDecorator


controllerDecorator._dictionary : Dictionary 

Localization phrases dictionary.

Kind: instance property of ControllerDecorator


controllerDecorator._settings : Object.<string, \*> 

Application settings for the current application environment.

Kind: instance property of ControllerDecorator


controllerDecorator.init() 

Kind: instance method of ControllerDecorator


controllerDecorator.destroy() 

Kind: instance method of ControllerDecorator


controllerDecorator.activate() 

Kind: instance method of ControllerDecorator


controllerDecorator.deactivate() 

Kind: instance method of ControllerDecorator


controllerDecorator.load() 

Kind: instance method of ControllerDecorator


controllerDecorator.update() 

Kind: instance method of ControllerDecorator


controllerDecorator.setReactiveView() 

Kind: instance method of ControllerDecorator


controllerDecorator.setState() 

Kind: instance method of ControllerDecorator


controllerDecorator.getState() 

Kind: instance method of ControllerDecorator


controllerDecorator.addExtension() 

Kind: instance method of ControllerDecorator


controllerDecorator.getExtensions() 

Kind: instance method of ControllerDecorator


controllerDecorator.setMetaParams() 

Kind: instance method of ControllerDecorator


controllerDecorator.setRouteParams() 

Kind: instance method of ControllerDecorator


controllerDecorator.getRouteParams() 

Kind: instance method of ControllerDecorator


controllerDecorator.setPageStateManager() 

Kind: instance method of ControllerDecorator


controllerDecorator.getHttpStatus() 

Kind: instance method of ControllerDecorator


controllerDecorator.getMetaManager() ⇒ MetaManager 

Returns the meta attributes manager configured by the decorated controller.

Kind: instance method of ControllerDecorator
Returns: MetaManager - The Meta attributes manager configured by the decorated controller.