Namespace: Consultingwerk.SmartFramework
Class 
RequestAuthorizationProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Authorization.IRequestAuthorizationProvider

File:RequestAuthorizationProvider
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Nov 24 20:23:06 CET 2012
Purpose: Constructror for the RequestAuthorizationProvider class
Notes:



Top Method Summary
Options Name Purpose
+ LOGICAL IsFetchDataRestricted (character, IFetchDataRequest) Provides Authorization for FetchData Requests
+ LOGICAL IsInvokeMethodRestricted (character, character, handle, Object) Provides Authorization for InvokeMethod Requests
+ LOGICAL IsInvokeTaskRestricted (character, character, integer, handle, handle, handle, handle, handle, Object) Provides Authorization for InvokeTask Requests
+ LOGICAL IsSaveChangesRestricted (character, handle) Provides Authorization for SaveChanges Requests

Top Constructor Summary
Options Name Purpose
+ RequestAuthorizationProvider () Constructror for the RequestAuthorizationProvider class


Method Detail
Top

PUBLIC LOGICAL IsFetchDataRestricted (character, IFetchDataRequest)

Purpose: Provides Authorization for FetchData Requests
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
poRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest instance with the parameter for the FetchData request
Returns LOGICAL
Logical value indicating if the FetchData request is restricted
Top

PUBLIC LOGICAL IsInvokeMethodRestricted (character, character, handle, Object)

Purpose: Provides Authorization for InvokeMethod Requests
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
pcMethodName CHARACTER
The name of the method to be executed
phDataset HANDLE
The Handle of the Dataset received
poParameter Progress.Lang.Object
The reference to the parameter object
Returns LOGICAL
Logical value indicating if the InvokeMethod request is restricted
Top

PUBLIC LOGICAL IsInvokeTaskRestricted (character, character, integer, handle, handle, handle, handle, handle, Object)

Purpose: Provides Authorization for InvokeTask Requests
Notes:

Parameters:
pcTaskName CHARACTER
The name of the Business Task
pcMethodName CHARACTER
The name of the method to be executed
piNumDatasets INTEGER
The count of the datasets passed to the InvokeTask Method
phDataset1 HANDLE
The Handle of the Dataset received
phDataset2 HANDLE
The Handle of the Dataset received
phDataset3 HANDLE
The Handle of the Dataset received
phDataset4 HANDLE
The Handle of the Dataset received
phDataset5 HANDLE
The Handle of the Dataset received
poParameter Progress.Lang.Object
The reference to the parameter object
Returns LOGICAL
Logical value indicating if the InvokeTask request is restricted
Top

PUBLIC LOGICAL IsSaveChangesRestricted (character, handle)

Purpose: Provides Authorization for SaveChanges Requests
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
phDataset HANDLE
The Handle of the Dataset received
Returns LOGICAL
Logical value indicating if the Save Changes request is restricted


Constructor Detail
Top

PUBLIC RequestAuthorizationProvider ()

Purpose: Constructror for the RequestAuthorizationProvider class
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:07:17