Class: Persistence

Help4.controller.Persistence()

serialization handling for controller

Constructor

new Persistence()

Source:

Methods

(static) deserialize(controller, obj, config) → (nullable) {Object}

Parameters:
Name Type Description
controller Help4.controller.Controller
obj Object
config Help4.typedef.SystemConfiguration
Source:
Returns:
Type
Object

(static) getSerializedData(data, searchKey) → {*|null}

Parameters:
Name Type Description
data Object
searchKey string
Source:
Returns:
Type
* | null

(static) migrate(params) → {Object}

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Description
standard Object <nullable>
cmp3session Object <nullable>
cmp3local Object <nullable>
Source:
Returns:
Type
Object

(static) serialize(controller, paramsopt) → {Object}

Parameters:
Name Type Attributes Default Description
controller Help4.controller.Controller
params Object <optional>
{}
Properties
Name Type Attributes Default Description
full boolean <optional>
true whether full storage is enabled
Source:
Returns:
Type
Object

Type Definitions

Status

Type:
  • Object
Properties:
Name Type Description
announcementsAlways Array.<string>
announcementsOnce Array.<string>
callouts Array.<string>
hotspots Array.<string>
whatsnew Array.<string>
Source: