TTMSFNCPlannerAdapter Class
Abstract base class for custom data adapters that supply planner items for a given date/time period.
API unit family: TMSFNCPlanner
Inherits from: TTMSFNCCustomComponent
Syntax
TTMSFNCPlannerAdapter = class(TTMSFNCCustomComponent)
Properties
| Name | Description |
|---|---|
| Active | True activates the adapter and connects it to the planner; False disconnects it. Default: False. |
| Planner | The planner component this adapter is connected to. |
Methods
| Name | Description |
|---|---|
| AfterUpdateItem | Called after a planner item update is complete; override for any post-update processing. |
| DeleteItem | Called when a planner item is deleted; override to remove the corresponding record in the data source. |
| GetItems | Called by the planner when it needs items for the specified date/time range; override to supply items. |
| InsertItem | Called when a new planner item is inserted; override to persist it in the data source. |
| LoadItems | Triggers the adapter to load items for the planner's current visible period. |
| SelectItem | Called when a planner item is selected; override to react to selection in the data source. |
| UpdateItem | Called when a planner item is updated; override to persist the change in the data source. |
| UpdateItems | Refreshes all items by requesting a full reload from the data source for the current period. |