Namespace: Consultingwerk.SmartFramework.System
Interface 
IDownloadAttachmentController Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:IDownloadAttachmentController
Purpose:Controller for the Consultingwerk.Web2.WebHandler.SmartAttachmentsHandler
and SmartAttachmentHandler classes. Allow custom evaluation
of attachment requests
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Feb 05 06:59:30 CET 2017
Purpose: Returns if the user is allowed to download the attachment (authorization)
Notes:



Top Method Summary
Options Name Purpose
+ LOGICAL CanDownloadAttachment (SmartAttachmentTableModel) Returns if the user is allowed to download the attachment (authorization)
+ Consultingwerk.SmartFramework.System.AttachmentKeyValueParameter GetAttachmentKeyValues (character, character) Returns the TableGUID and record key values required to query for attachments in the SmartDB


Method Detail
Top

PUBLIC LOGICAL CanDownloadAttachment (SmartAttachmentTableModel)

Purpose: Returns if the user is allowed to download the attachment (authorization)
Notes:

Parameters:
poAttachment Consultingwerk.SmartFramework.System.SmartAttachmentTableModel
The SmartAttachmentTableModel with the attachment record
Returns LOGICAL
Logical value indicating if the request is authorized
Top

PUBLIC Consultingwerk.SmartFramework.System.AttachmentKeyValueParameter GetAttachmentKeyValues (character, character)

Purpose: Returns the TableGUID and record key values required
to query for attachments in the SmartDB
Notes: Needs to translate the values provided by the requestor
into the key values stored in the SmartAttachment table

Parameters:
pcTable CHARACTER
The table name as provided by the requestor
pcKeyValues CHARACTER
The key values as provided by the requestor
Returns Consultingwerk.SmartFramework.System.AttachmentKeyValueParameter
The AttachmentKeyValueParameter instance with the SmartAttachment key values


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