Top Method Summary
Options Name Purpose
Consultingwerk.CommonUi.UiControl DeleteAllLocksOfUser (IToolClickEventHandlerParameter) Prompts for a user (defaulting to the current user) and deletes all SmartLock records of that user
Consultingwerk.CommonUi.UiControl DeleteSelectedLock () Deletes the currently selected SmartLock record
Consultingwerk.CommonUi.UiControl ExpireAllLocksOfUser (IToolClickEventHandlerParameter) Prompts for a user (defaulting to the current user) and expires all SmartLock records of that user
Consultingwerk.CommonUi.UiControl ExpireSelectedLock () Expires the currently selected SmartLock record
GetDataset (dataset-handle) Returns the handle of the dataset handled by this server-side event handler class
LOGICAL PromptForUser (UiControl, character, character) Shows an input prompt with a user lookup, defaulting to the current user
Consultingwerk.CommonUi.UiControl ToolClick (dataset, IToolClickEventHandlerParameter) Handles the ToolClick events of the SmartLock management screen toolbar buttons
VerifySmartLockAdminToken () Verifies that the "SmartLockAdmin" security token is not restricted for the current user


Method Detail
Top

Consultingwerk.CommonUi.UiControl DeleteAllLocksOfUser (IToolClickEventHandlerParameter)

Purpose: Prompts for a user (defaulting to the current user) and deletes
all SmartLock records of that user
Notes: Returns an input prompt with a user lookup on the first
invocation; performs the deletion once the prompt is answered

Parameters:
poEventArgs Consultingwerk.CommonUi.IToolClickEventHandlerParameter
The event handler parameter of the ToolClick event
Returns Consultingwerk.CommonUi.UiControl
The UiControl instance controlling the frontend behavior
Top

Consultingwerk.CommonUi.UiControl DeleteSelectedLock ()

Purpose: Deletes the currently selected SmartLock record
Notes: The frontend sends a copy of the selected record in the
dsLock dataset

Returns Consultingwerk.CommonUi.UiControl
The UiControl instance controlling the frontend behavior
Top

Consultingwerk.CommonUi.UiControl ExpireAllLocksOfUser (IToolClickEventHandlerParameter)

Purpose: Prompts for a user (defaulting to the current user) and expires
all SmartLock records of that user
Notes: Returns an input prompt with a user lookup on the first
invocation; performs the expiration once the prompt is answered

Parameters:
poEventArgs Consultingwerk.CommonUi.IToolClickEventHandlerParameter
The event handler parameter of the ToolClick event
Returns Consultingwerk.CommonUi.UiControl
The UiControl instance controlling the frontend behavior
Top

Consultingwerk.CommonUi.UiControl ExpireSelectedLock ()

Purpose: Expires the currently selected SmartLock record
Notes: The frontend sends a copy of the selected record in the
dsLock dataset; the expired record is later removed by the
DeleteExpiredLocksJobCommand

Returns Consultingwerk.CommonUi.UiControl
The UiControl instance controlling the frontend behavior
Top

GetDataset (dataset-handle)

Purpose: Returns the handle of the dataset handled by this
server-side event handler class
Notes: Called by the SmartComponent Library server-side event
handler infrastructure

Parameters:
phDataset DATASET-HANDLE
OUTPUT The handle of the dsLock dataset
Top

LOGICAL PromptForUser (UiControl, character, character)

Purpose: Shows an input prompt with a user lookup, defaulting to the
current user
Notes: Returns false while the prompt is not yet answered (the
UiControl then carries the input prompt to the frontend) or
when the prompt was cancelled

Parameters:
poUiControl Consultingwerk.CommonUi.UiControl
The UiControl instance carrying the input prompts
pcTitle CHARACTER
The title of the input prompt
pcUserGuid CHARACTER
OUTPUT The GUID of the selected user
Returns LOGICAL
True when the prompt has been answered with OK, else false
Top

Consultingwerk.CommonUi.UiControl ToolClick (dataset, IToolClickEventHandlerParameter)

Purpose: Handles the ToolClick events of the SmartLock management
screen toolbar buttons
Notes: Dispatches to the actual handler methods based on the key of
the clicked button; requires the "SmartLockAdmin" security
token - verified server-side

Parameters:
dsLock DATASET dsLock
INPUT-OUTPUT The dsLock dataset with the selected SmartLock record
poEventArgs Consultingwerk.CommonUi.IToolClickEventHandlerParameter
The event handler parameter of the ToolClick event
Returns Consultingwerk.CommonUi.UiControl
The UiControl instance controlling the frontend behavior
Top

VerifySmartLockAdminToken ()

Purpose: Verifies that the "SmartLockAdmin" security token is not
restricted for the current user
Notes: Throws a SmartException when the token is restricted



ProDataset Detail

ProDataset dsLock

Member tables: eSmartLock


Temp-Table Detail

Temp-Table eSmartLock

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       06.08.2026 11:35:48