Namespace: Consultingwerk.SmartFramework.Repository
Class 
SmartRepositoryIntegrityCheckTask Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.OERA.IBusinessService, Consultingwerk.OERA.IBusinessTaskCatalogInfo

File:SmartRepositoryIntegrityCheckTask
Purpose:BusinessTask for integrity check of the repository
Author(s):Robert / Consultingwerk Ltd.
Created:Tue Sep 01 17:43:44 EEST 2020



Top Method Summary
Options Name Purpose
# CheckDesignTimeDataSources () Checks the DesignTimeDataSource table for orphan records
# CheckSmartAttribute () Checks SmartAttribute for orphan records
# CheckSmartAttributeValue () Checks SmartAttributeValue for orphan records
# CheckSmartCustomization () Checks SmartCustomization for orphan records
# CheckSmartEntityTableMapping () Checks SmartEntityTableMapping for orphan records
# CheckSmartLink () Checks SmartLink for orphan records
# CheckSmartModule () Checks SmartModule for orphan records
# CheckSmartObjectInstance () Checks SmartObjectInstance for orphan records
# CheckSmartObjectMaster () Checks SmartObjectMaster for orphan records
# CheckSmartObjectType () Checks SmartObjectType for orphan records
# CheckSmartPage () Checks SmartPage for orphan records
# CheckSmartSupportedInstanceObjectType () Checks SmartSupportedLink for orphan records
# CheckSmartSupportedLink () Checks SmartSupportedLink for orphan records
+ DeleteOrphanRecord (IntegrityCheckParameter) Deletes an orphan record
# DocumentOrphanRecord (character, character, character, character, character, character) Documents orphan records by writing them to ttOrphanedRecords
+ Consultingwerk.OERA.IBusinessTaskCatalogData GetCatalogData () Returns the JSDO catalog data to the caller
+ PerformIntegrityCheck (dataset, ISerializable) Executes all methods of the SmartRepositoryIntegrityCheckTask


Method Detail
Top

PROTECTED CheckDesignTimeDataSources ()

Purpose: Checks the DesignTimeDataSource table for orphan records
Notes:

Top

PROTECTED CheckSmartAttribute ()

Purpose: Checks SmartAttribute for orphan records
Notes: Parent: SmartAttributeGroup

Top

PROTECTED CheckSmartAttributeValue ()

Purpose: Checks SmartAttributeValue for orphan records
Notes: Parents: SmartAttribute, SmartObjectInstance, SmartObjectMaster, SmartObjectType

Top

PROTECTED CheckSmartCustomization ()

Purpose: Checks SmartCustomization for orphan records
Notes: Parents: SmartCustomizationResult, SmartCustomizationType

Top

PROTECTED CheckSmartEntityTableMapping ()

Purpose: Checks SmartEntityTableMapping for orphan records
Notes: Parent: SmartObjectMaster

Top

PROTECTED CheckSmartLink ()

Purpose: Checks SmartLink for orphan records
Notes: Parents: SmartObjectMaster, SmartObjectInstance (has 2 related fields)

Top

PROTECTED CheckSmartModule ()

Purpose: Checks SmartModule for orphan records
Notes: Parent: SmartProduct

Top

PROTECTED CheckSmartObjectInstance ()

Purpose: Checks SmartObjectInstance for orphan records
Notes: Parent: SmartPage

Top

PROTECTED CheckSmartObjectMaster ()

Purpose: Checks SmartObjectMaster for orphan records
Notes: Parent: SmartCustomizationResult, SmartObjectType, SmartModule, SmartObjectInstance

Top

PROTECTED CheckSmartObjectType ()

Purpose: Checks SmartObjectType for orphan records
Notes: Parent: SmartClassType

Top

PROTECTED CheckSmartPage ()

Purpose: Checks SmartPage for orphan records
Notes: Parent: SmartObjectMaster

Top

PROTECTED CheckSmartSupportedInstanceObjectType ()

Purpose: Checks SmartSupportedLink for orphan records
Notes:

Top

PROTECTED CheckSmartSupportedLink ()

Purpose: Checks SmartSupportedLink for orphan records
Notes:

Top

PUBLIC DeleteOrphanRecord (IntegrityCheckParameter)

Purpose: Deletes an orphan record
Notes:

Parameters:
poParameter Consultingwerk.SmartFramework.Repository.IntegrityCheckParameter
orhpan record to be deleted
Top

PROTECTED DocumentOrphanRecord (character, character, character, character, character, character)

Purpose: Documents orphan records by writing them to ttOrphanedRecords
Notes:

Parameters:
pcDatabaseTableName CHARACTER
Name of child table
pcDatabaseFieldName CHARACTER
Name of record in child table
pcRecordKeyValue CHARACTER
GUID record
pcRecordDescription CHARACTER
Meaningful field of the record
pcMissingTableName CHARACTER
Name of parent table
pcMissingKeyValue CHARACTER
Name of index table
Top

PUBLIC Consultingwerk.OERA.IBusinessTaskCatalogData GetCatalogData ()

Purpose: Returns the JSDO catalog data to the caller
Notes:

Returns Consultingwerk.OERA.IBusinessTaskCatalogData
The IBusinessTaskCatalogData instance describing the methods of the Business Task
Top

PUBLIC PerformIntegrityCheck (dataset, ISerializable)

Purpose: Executes all methods of the SmartRepositoryIntegrityCheckTask
Notes:

Parameters:
dsOrphanedRecords DATASET dsOrphanedRecords
INPUT-OUTPUT Dataset used for passing the data
poParameter Consultingwerk.ISerializable
The reference to the parameter object instance returned by the task


ProDataset Detail

ProDataset dsOrphanedRecords

Member tables: ttOrphanedRecords


Temp-Table Detail

Temp-Table ttOrphanedRecords

Defined in:


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