Click or drag to resize

SearchGroupHandlerE, S Class

This class abstracts SeachGroup handling when the content is coming from custom source. Can be used with any custom extension.
Inheritance Hierarchy
SystemObject
  CTExtensions.ExportCore.EXTsEventExtension
    CTExtensions.ExportCore.EXTsEventExtensionE
      CTExtensions.ExportCore.CTObjectDataCTObjectDataHandlerE, CTDBSearchGroup, S
        CTExtensions.ExportCore.EXTsSearchGroupHandlerE, S

Namespace: CTExtensions.ExportCore.EXTs
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public abstract class SearchGroupHandler<E, S> : CTObjectDataHandler<E, CTDBSearchGroup, S>
where E : CTExtension
where S : new(), SearchGroupSettings

Type Parameters

E
Your Extension's type, inheritant of CTExtension directly or indirectly.
S
You extended LookupList settings that derive from SearchGroupSettings

The SearchGroupHandlerE, S type exposes the following members.

Constructors
 NameDescription
Protected methodSearchGroupHandlerE, SInitializes a new instance of the SearchGroupHandlerE, S class
Top
Properties
 NameDescription
Protected propertyType This is ctEditGuardObjectTypeSearchGroup.
(Overrides CTObjectDataHandlerE, O, SType)
Top
Methods
 NameDescription
Protected methodCreateNewCTObject Creates new custom sourced CTDBSearchGroup.
(Overrides CTObjectDataHandlerE, O, SCreateNewCTObject(String))
Public methodDeleteObject Deletes the given Search Group from CT Database
(Overrides CTObjectDataHandlerE, O, SDeleteObject(O))
Protected methodGetAllFromCTAPI Queries all CTDBSearchGroups from CT API.
(Overrides CTObjectDataHandlerE, O, SGetAllFromCTAPI)
Protected methodGetExtenionData Gets extension data from search group
(Overrides CTObjectDataHandlerE, O, SGetExtenionData(O))
Public methodHook Hook to events that query SearchGroup data and columns
(Overrides EventExtensionHook(CTInterface))
Protected methodOnCustomListGetColumns Event handler for OnCustomListGetColumns
Protected methodOnExecuteSearchGroupSearch Handler for OnExecuteSearchGroupSearch
Public methodRenameObject Renames the given Search Group in CT database with given name. The name must be unique!
(Overrides CTObjectDataHandlerE, O, SRenameObject(O, String))
Public methodSearch Perform the seach against whatever API and return the results.
Protected methodSetExtensionData Sets extension data to search group
(Overrides CTObjectDataHandlerE, O, SSetExtensionData(O, Byte))
Public methodUnHook Unhook from all events.
(Overrides EventExtensionUnHook(CTInterface))
Top
Revision History
DateVersionDescription
-2025 SP1First Release
See Also