Namespace: Consultingwerk.SmartFramework.System
Class 
SmartAttachment Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartFramework.System.SmartAttachment_Generated

File:SmartAttachment
Author(s):Mike Fechner
Created:13.01.2013 11:21:58
Purpose: Constructor of the SmartAttachment class
Notes:



Top Method Summary
Options Name Purpose
# A AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
Overrides Consultingwerk.SmartFramework.System.SmartAttachment_Generated:AssignFromBuffer (handle)
# A AssignToBuffer (handle) Copies the entity table's properties to the buffer values
Overrides Consultingwerk.SmartFramework.System.SmartAttachment_Generated:AssignToBuffer (handle)
# HANDLE GetChildRecord (handle, character) Returns the first (and typically only) child record of a to-one relation
Inherited from Consultingwerk.OERA.EntityTable
# GetChildRecords (handle, character, Object, character) Populates a List of child records
Inherited from Consultingwerk.OERA.EntityTable
+ InitializeNewRow () Initializes a New row
Inherited from Consultingwerk.OERA.EntityTable
# OnAttachmentDataChanged (EventArgs) Raises the AttachmentDataChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnAttachmentFolderChanged (EventArgs) Raises the AttachmentFolderChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnAttachmentGUIDChanged (EventArgs) Raises the AttachmentGUIDChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnAttachmentNameChanged (EventArgs) Raises the AttachmentNameChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnAttachmentRoleGUIDChanged (EventArgs) Raises the AttachmentRoleGUIDChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnAttachmentRoleNameChanged (EventArgs) Raises the AttachmentRoleNameChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnAttachmentThumbnailChanged (EventArgs) Raises the AttachmentThumbnailChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnCommentDataChanged (EventArgs) Raises the CommentDataChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnCommentRoleGUIDChanged (EventArgs) Raises the CommentRoleGUIDChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnLanguageGuidChanged (EventArgs) Raises the LanguageGuidChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnRecordKeyValueChanged (EventArgs) Raises the RecordKeyValueChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
# OnTableGUIDChanged (EventArgs) Raises the TableGUIDChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ PopulateList (handle, character, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
+ PopulateList (handle, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
# SetModified () Set's the current row to modified
Inherited from Consultingwerk.OERA.EntityTable

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

Top Event Summary
Options Name Purpose
+ AttachmentDataChanged (Object, EventArgs) Raised when the AttachmentData property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ AttachmentFolderChanged (Object, EventArgs) Raised when the AttachmentFolder property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ AttachmentGUIDChanged (Object, EventArgs) Raised when the AttachmentGUID property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ AttachmentNameChanged (Object, EventArgs) Raised when the AttachmentName property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ AttachmentRoleGUIDChanged (Object, EventArgs) Raised when the AttachmentRoleGUID property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ AttachmentRoleNameChanged (Object, EventArgs) Raised when the AttachmentRoleName property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ AttachmentThumbnailChanged (Object, EventArgs) Raised when the AttachmentThumbnail property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CommentDataChanged (Object, EventArgs) Raised when the CommentData property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CommentRoleGUIDChanged (Object, EventArgs) Raised when the CommentRoleGUID property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ LanguageGuidChanged (Object, EventArgs) Raised when the LanguageGuid property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ RecordKeyValueChanged (Object, EventArgs) Raised when the RecordKeyValue property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ TableGUIDChanged (Object, EventArgs) Raised when the TableGUID property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Top Property Summary
Options Name Purpose
+ MEMPTR AttachmentData
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER AttachmentFolder
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER AttachmentGUID
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER AttachmentName
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER AttachmentRoleGUID
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER AttachmentRoleName
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ MEMPTR AttachmentThumbnail
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ LONGCHAR CommentData
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER CommentRoleGUID
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER LanguageGuid
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ CHARACTER RecordKeyValue
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
+ RowStateEnum RowState
Inherited from Consultingwerk.OERA.EntityTable
+ CHARACTER TableGUID
Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Overrides Consultingwerk.SmartFramework.System.SmartAttachment_Generated:AssignFromBuffer (handle)
Purpose: Copies the buffer values to the entity table's properties
Notes:

Parameters:
phBuffer HANDLE
The handle of the source buffer
Top

PROTECTED AssignToBuffer (handle)

Overrides Consultingwerk.SmartFramework.System.SmartAttachment_Generated:AssignToBuffer (handle)
Purpose: Copies the entity table's properties to the buffer values
Notes:

Parameters:
phBuffer HANDLE
The handle of the target buffer
Top

PROTECTED HANDLE GetChildRecord (handle, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Returns the first (and typically only) child record of a to-one
relation
Notes:

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
Returns HANDLE
The handle of the child record, already located to the first record (if any)
Top

PROTECTED GetChildRecords (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List of child records
Notes: As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
poList Progress.Lang.Object
The List to populate
pcClassName CHARACTER
The name of the ChildClass
Top

PUBLIC InitializeNewRow ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Initializes a New row
Notes: Provides a method to provide initial values when records are added to
differentiate from the Constructor usage when Rows are populate based
on existing DB records
Override this method to provide initial values

Top

PROTECTED OnAttachmentDataChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentDataChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnAttachmentFolderChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentFolderChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnAttachmentGUIDChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentGUIDChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnAttachmentNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnAttachmentRoleGUIDChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentRoleGUIDChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnAttachmentRoleNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentRoleNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnAttachmentThumbnailChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the AttachmentThumbnailChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnCommentDataChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the CommentDataChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnCommentRoleGUIDChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the CommentRoleGUIDChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnLanguageGuidChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the LanguageGuidChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnRecordKeyValueChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the RecordKeyValueChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnTableGUIDChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raises the TableGUIDChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC PopulateList (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes: Selects the buffer records using an optional Query string
As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
pcQueryString CHARACTER
The QueryString to use while populating the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PUBLIC PopulateList (handle, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes:

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PROTECTED SetModified ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Set's the current row to modified
Notes: When the RowState is Add or Deleted it will not be changed



Constructor Detail
Top

PUBLIC SmartAttachment ()

Purpose: Constructor of the SmartAttachment class
Notes:

Top

PUBLIC SmartAttachment (handle)

Purpose: Constructor of the SmartAttachment class
Notes:

Parameters:
phBuffer HANDLE
A source buffer to copy the values from


Event Detail
Top

PUBLIC AttachmentDataChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentData property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC AttachmentFolderChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentFolder property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC AttachmentGUIDChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentGUID property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC AttachmentNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC AttachmentRoleGUIDChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentRoleGUID property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC AttachmentRoleNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentRoleName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC AttachmentThumbnailChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the AttachmentThumbnail property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC CommentDataChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the CommentData property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC CommentRoleGUIDChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the CommentRoleGUID property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC LanguageGuidChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the LanguageGuid property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC RecordKeyValueChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the RecordKeyValue property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC TableGUIDChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated
Purpose: Raised when the TableGUID property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event


Property Detail
Top

PUBLIC MEMPTR AttachmentData

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns MEMPTR
Top

PUBLIC CHARACTER AttachmentFolder

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER AttachmentGUID

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER AttachmentName

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER AttachmentRoleGUID

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER AttachmentRoleName

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC MEMPTR AttachmentThumbnail

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns MEMPTR
Top

PUBLIC LONGCHAR CommentData

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns LONGCHAR
Top

PUBLIC CHARACTER CommentRoleGUID

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER LanguageGuid

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER RecordKeyValue

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER
Top

PUBLIC RowStateEnum RowState

Inherited from Consultingwerk.OERA.EntityTable

Returns RowStateEnum
Top

PUBLIC CHARACTER TableGUID

Inherited from Consultingwerk.SmartFramework.System.SmartAttachment_Generated

Returns CHARACTER


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