Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ControllerMemory<W>

Type parameters

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _callCallbacks

_callCallbacks: PlainObject<CallCallback>

Private _callId

_callId: number = 0

Private _callRequests

_callRequests: SMapMemory<CallRequest>

Private _callResults

_callResults: SMapMemory<unknown>

Private _constants

_constants: PlainObject

Protected _ctrlrs

Private _data

Private _dataEventHandlers

_dataEventHandlers: EventHandler[] = []

Private _dataHistoryHooks

_dataHistoryHooks: PlainObject<HistoryHook>

Private _dataNameToHandlerName

_dataNameToHandlerName: PlainObject<string>

Private _dynamicInfoHandlers

_dynamicInfoHandlers: PlainObject<DynamicInfoHandler>

Protected _events

_events: EventInfo | null = null

Private _hasHData

_hasHData: boolean = false

Private _hdata

Private _hnames

_hnames: string[] = []

Protected _isChanged

_isChanged: boolean = false

Private _isEventStopped

_isEventStopped: boolean = false

Protected _isInitialized

_isInitialized: boolean = false

Protected _lock

_lock: Lock

Private _name

_name: string

Private _pageActive

_pageActive: SStringMemory

Private _parent

_parent: ControllerMemory | null

Protected _properties

_properties: Properties

Private _triggerDirects

_triggerDirects: SClassMemory<TriggerRequest[]>

Private _triggerRequests

_triggerRequests: SMapMemory<TriggerRequest>

Private _triggerResults

_triggerResults: SMapMemory<unknown[]>

Private _type

Protected _visibility

_visibility: boolean = true

Private _wrapper

_wrapper: W

Methods

addDataEventHandler_

call_

  • call_(data: CallRequest, timeout: number, isAjaxMode: boolean): Promise<unknown>

Protected checkVisibility_

  • checkVisibility_(): void

Private createCallable_

Private createCallablesAndVariables_

Private createConstants_

  • createConstants_(constants: ArrayMap<unknown> | null | undefined): void

Private createController_

Private createControllers_

Private createTask_

Private destroyController_

  • destroyController_(): void

destroy_

  • destroy_(): void

Private eachConstant_

  • eachConstant_(iteratee: Iteratee<string, any, this>): boolean

Protected eachCtrlr_

eachDataAndCtrlrWrapper_

  • eachDataAndCtrlrWrapper_(iteratee: Iteratee<string, any, any>, thisArg?: unknown): boolean

Private eachData_

each_

  • each_(iteratee: Iteratee<string, any, any>, thisArg: unknown): boolean

getActivePageWrapper_

getActivePage_

Private getCallPath_

  • getCallPath_(): string[]

getCtrlrWrapper_

getCtrlrWrappers_

getCtrlr_

Private getDynamicInfoController_

Private getDynamicInfoData_

Protected getDynamicInfo_

  • getDynamicInfo_(senderId: number): DynamicInfo | null

getEventInfo_

Private getHistoryStateController_

  • getHistoryStateController_(): string

Private getHistoryStateData_

  • getHistoryStateData_(): string

Private getHistoryStatePage_

  • getHistoryStatePage_(): string

Private getHistoryStatePopup_

  • getHistoryStatePopup_(): string

Protected getHistoryState_

  • getHistoryState_(): string

Private getHistoryTitleCtrlr_

  • getHistoryTitleCtrlr_(separator: string): string

Private getHistoryTitlePage_

  • getHistoryTitlePage_(separator: string): string

Private getHistoryTitlePopup_

  • getHistoryTitlePopup_(separator: string): string

Protected getHistoryTitle_

  • getHistoryTitle_(separator: string): string

getName_

  • getName_(): string

getParent_

getServer_

getType_

getWrapper_

  • getWrapper_(): W

Protected handleEvents_

hideChild_

hide_

  • hide_(): void

Private initWrapper_

  • initWrapper_(wrapper: W): W

initialize_

  • initialize_(): void

Protected isApplicable_

isEventStopped_

  • isEventStopped_(): boolean

isHidden_

  • isHidden_(): boolean

isHistorical_

  • isHistorical_(): boolean

Protected isHistoryChanged_

  • isHistoryChanged_(eventInfo: EventInfo): boolean

isInitialized_

  • isInitialized_(): boolean

isLocal_

  • isLocal_(): boolean

isLocked_

  • isLocked_(): boolean

isNonNull_

  • isNonNull_(): boolean

isReadOnly_

  • isReadOnly_(): boolean

isShown_

  • isShown_(): boolean

lock_

  • lock_(): void

Private makeCallableWrapper_

Private makeTaskWrapper_

  • makeTaskWrapper_<RESULT, ARGUMENTS>(memory: TaskMemory<RESULT, ARGUMENTS>): TaskWrapper<RESULT, ARGUMENTS, this>

Private onCallResultChange_

  • onCallResultChange_(key: string, result: unknown): void

Private onCallResultsChange_

Private onHide_

  • onHide_(): void

Private onPageActiveChange_

  • onPageActiveChange_(newValue: string, oldValue: string): void

Private onShow_

  • onShow_(): void

Private onTriggerRequestChange_

Private onTriggerRequestsChange_

onUnlock_

  • onUnlock_(): void

Protected pushEvent_

  • pushEvent_(name: string, type: string[] | null, args: unknown[] | null): void

pushHistory_

  • pushHistory_(): void

putDataHistoryHook_

  • putDataHistoryHook_(name: string, hook: HistoryHook): void

putData_

putDynamicInfoHandlerDataName_

  • putDynamicInfoHandlerDataName_(dataName: string, handlerName: string): void

putDynamicInfoHandler_

putHistoricalData_

Private resetAuthorizedRevisionController_

  • resetAuthorizedRevisionController_(): void

Private resetAuthorizedRevisionData_

  • resetAuthorizedRevisionData_(): void

Protected resetAuthorizedRevision_

  • resetAuthorizedRevision_(): void

Private setAuthorizedRevisionController_

  • setAuthorizedRevisionController_(senderIds: number[]): void

Private setAuthorizedRevisionData_

  • setAuthorizedRevisionData_(senderIds: number[]): void

Protected setAuthorizedRevision_

  • setAuthorizedRevision_(senderIds: number[]): void

Private setDynamicInfoController_

  • setDynamicInfoController_(nameToInfo: DynamicInfoMap | null | undefined): void

Private setDynamicInfoData_

Protected setDynamicInfo_

Private setHistoricalData__

  • setHistoricalData__(index: number, parts: string[]): number

Private setHistoryStateController_

  • setHistoryStateController_(index: number, parts: string[]): number

Private setHistoryStateData_

  • setHistoryStateData_(index: number, parts: string[]): number

Private setHistoryStatePage_

  • setHistoryStatePage_(index: number, parts: string[]): number

Private setHistoryStatePopup_

  • setHistoryStatePopup_(index: number, parts: string[]): number

Protected setHistoryState_

  • setHistoryState_(index: number, parts: string[]): number

setPartialDynamicInfo_

  • setPartialDynamicInfo_(senderId: number, dynamicInfo: DynamicInfo): void

Private setSContainerDynamicInfoController_

Private setSContainerDynamicInfoData_

Protected setSContainerDynamicInfo_

showChild_

show_

  • show_(): void

startEvent_

  • startEvent_(): this

stopEvent_

  • stopEvent_(): this

toJson_

  • toJson_(): unknown

toString_

  • toString_(): string

Private triggerDirectUnpack_

Private triggerEventsCtrlr_

  • triggerEventsCtrlr_(nameToInfo: EventInfoMap | null | undefined): boolean

Private triggerEventsData_

Private triggerEventsSelf_

Protected triggerEvents_

  • triggerEvents_(eventInfo: EventInfo): boolean

uninitialize_

  • uninitialize_(): void

unlock_

  • unlock_(): void

update_

  • update_(): void

Generated using TypeDoc