Class FindContactProvider
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("FindContact", 1073741823)]
public class FindContactProvider : TypedMultiQueryProviderBase<ArchiveFindContactRow>, IArchiveMultiQueryProvider, IArchiveFindContactProvider, IArchiveFindProviderBase<ArchiveFindContactRow>, IArchiveTypedProvider<ArchiveFindContactRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
FindContactProvider()
Declaration
public FindContactProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "FindContact"
Field Value
Type | Description |
---|---|
string |
Methods
FetchAndSetCriteria(int)
In one operation, fetch the criteria from the database, set them on the provider, and return the criteria
Declaration
public ArchiveRestrictionInfo[] FetchAndSetCriteria(int ownerAssociate)
Parameters
Type | Name | Description |
---|---|---|
int | ownerAssociate | Id of associate who owns the criteria |
Returns
Type | Description |
---|---|
ArchiveRestrictionInfo[] | Current criteria set (only active, set values; not all possible criteria) |
InnerPopulateRow(ArchiveRow)
Override: For each desired output column that matches one of the twochannel search columns, make sure to map and merge the actual prefixed values into what was originally ordered
Declaration
protected override void InnerPopulateRow(ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRow | row |
Overrides
PreGetRows()
Override: For each desired output column that matches one of the twochannel search columns, make sure to order the correctly prefixed version of this column from the relevant channel
Declaration
protected override void PreGetRows()
Overrides
SetDesiredColumns(params string[])
Override: Intercept and remove columns that match our twochannel search columns, since we'll be manipulating them
Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
Type | Name | Description |
---|---|---|
string[] | columnIds |
Overrides
SetRestriction(ArchiveRestrictionInfo[])
Override: Set restrictions on provider - if the 'criteriaAssociate' restriction is passed in, actual restrictions will be fetched from restriction storage, and those will be set; otherwise simply set what was passed in
Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
bool |