Class ShadowSelectionProvider
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Implements
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ShadowSelection", 1073741823)]
public class ShadowSelectionProvider : Object, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.Fields
_colContactId
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
protected ArchiveColumnInfo _colContactId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed._colPersonId
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
protected ArchiveColumnInfo _colPersonId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed._colSelectionId
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
protected ArchiveColumnInfo _colSelectionId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.ProviderName
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public const string ProviderName = "ShadowSelection"
Field Value
Type | Description |
---|---|
String |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.Methods
Close()
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public void Close()
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.GetAvailableColumns()
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public List<ArchiveColumnInfo> GetAvailableColumns()
Returns
Type | Description |
---|---|
List<ArchiveColumnInfo> |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.GetAvailableEntities()
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public List<ArchiveRowTypeInfo> GetAvailableEntities()
Returns
Type | Description |
---|---|
List<ArchiveRowTypeInfo> |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.GetReader(String)
Start the provider, returning an IDataReader compatible object to the client for row enumeration and data access
Declaration
public virtual IDataReader GetReader(string options)
Parameters
Type | Name | Description |
---|---|---|
String | options | Options, passed to the internal GetRows method |
Returns
Type | Description |
---|---|
IDataReader | IDataReader primed to provide results |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.GetResultInformation()
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public ArchiveResultInformation GetResultInformation()
Returns
Type | Description |
---|---|
ArchiveResultInformation |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.GetRows(String)
The main function - set up inner provider, transform column names, filter and transform results
Declaration
public IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type | Name | Description |
---|---|---|
String | options |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.GetSupportedOptions()
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public string[] GetSupportedOptions()
Returns
Type | Description |
---|---|
String[] |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.SetDesiredColumns(String[])
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public void SetDesiredColumns(params string[] columnIds)
Parameters
Type | Name | Description |
---|---|---|
String[] | columnIds |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.SetDesiredEntities(String[])
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public void SetDesiredEntities(params string[] entities)
Parameters
Type | Name | Description |
---|---|---|
String[] | entities |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.SetOrderBy(ArchiveOrderByInfo[])
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public void SetOrderBy(params ArchiveOrderByInfo[] orderBy)
Parameters
Type | Name | Description |
---|---|---|
ArchiveOrderByInfo[] | orderBy |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.SetPagingInfo(Int32, Int32)
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public void SetPagingInfo(int pageSize, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
Int32 | pageSize | |
Int32 | pageNumber |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.SetRestriction(ArchiveRestrictionInfo[])
Universal shadow selection dispatcher: Retrieve the contactId and/or personId of all contact/person shadow members of any selection
Declaration
public bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
Boolean |
Remarks
This class abstracts the differences between the various selection kinds (contact, sale, ...) with regard to contact and person id. You can give any selectionId to this provider, and it will reply with a list of contact and person ids; either pulled from the actual selection (if it's a contact selection) or its shadow.
Only the two ID columns are available. The row type is fixed (contact or person), and the column names are also fixed.