Namespace: Consultingwerk.SmartFramework.Authorization
Class 
ParentGroupDatasetController Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartComponents.Interfaces.IDatasetController

File:ParentGroupDatasetController
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:24.06.2020 13:41:00
Notes:Conditionally implements the IDatasetController Interface
when the SmartComponentLibrary preprocessor option is set.

Consultingwerk.SmartFramework.Authorization.ParentGroupBusinessEntity
Consultingwerk.SmartFramework.Authorization.ParentGroupBusinessEntity



Top Method Summary
Options Name Purpose
+ AssignGroupToGroup (character, character) Assignes a user to a group
+ DeregisterConsumer (Object) Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter instances when detaching from the Dataset of the DatasetController. Allows event unsubscription etc.
+ FetchPotentialParentGroups (character, logical) Fetches potential parent groups for the given group
+ RegisterConsumer (Object) Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter instances when attaching to the Dataset of the DatasetController. Allows event subscription etc.
+ UnAssignGroupFromGroup () Unassignes a group from a group

Top Constructor Summary
Options Name Purpose
+ ParentGroupDatasetController () Constructor of the ParentGroupDatasetController class

Top Property Summary
Options Name Purpose
+ HANDLE AvailableGroupsTableHandle
+ HANDLE DatasetHandle


Method Detail
Top

PUBLIC AssignGroupToGroup (character, character)

Purpose: Assignes a user to a group
Notes:

Parameters:
pcSelectedGroupGuid CHARACTER
Unique identifier of the ePossibleAssignments row to be transfered to eSmartUserGroup
pcGroupGuid CHARACTER
The currently selected group
Top

PUBLIC DeregisterConsumer (Object)

Purpose: Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter
instances when detaching from the Dataset of the DatasetController.
Allows event unsubscription etc.
Notes: Interface IDatasetController member

Parameters:
poConsumer Progress.Lang.Object
The reference of the Object detaching from the Dataset Controller
Top

PUBLIC FetchPotentialParentGroups (character, logical)

Purpose: Fetches potential parent groups for the given group
Notes:

Parameters:
pcGroupGuid CHARACTER
The GUID of the Group to fetch potential parent groups for
plExcludeParentsOfSelectedParentGroups LOGICAL
Controls if (grand) parent groups of selected parent groups should be excluded
Top

PUBLIC RegisterConsumer (Object)

Purpose: Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter
instances when attaching to the Dataset of the DatasetController.
Allows event subscription etc.
Notes: Interface IDatasetController member

Parameters:
poConsumer Progress.Lang.Object
The reference of the Object attaching to the Dataset Controller
Top

PUBLIC UnAssignGroupFromGroup ()

Purpose: Unassignes a group from a group
Notes:



Constructor Detail
Top

PUBLIC ParentGroupDatasetController ()

Purpose: Constructor of the ParentGroupDatasetController class
Notes: Assigns the DatasetHandle property



Property Detail
Top

PUBLIC HANDLE AvailableGroupsTableHandle


Returns HANDLE
Top

PUBLIC HANDLE DatasetHandle


Returns HANDLE


Temp-Table Detail


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:04:09