Table of Contents

Interface IFieldsIndexIntegrationCom

Namespace
Sfrep.AppraiseIt.Client.Integration.Com.DataStore
Assembly
Sfrep.AppraiseIt.Client.Integration.Com.dll

Provides access to a property element's (e.g., property, structure, outbuilding, or unit) field data in the dynamic data store.

[ComVisible(true)]
[Guid("C3DFA171-14AC-4823-B394-FEDBA5DDDBC2")]
public interface IFieldsIndexIntegrationCom : IDisposable

Methods

Clear(bool)

Clears all field data in this instance.

void Clear(bool clearImages)

Parameters

clearImages bool

True if and only if image and image list field data will be cleared.

Data for image and image list fields that occur in repeatable row groups or nested repeatable row groups is always cleared.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

void Dispose()

GetCheckBoxField(string, string)

Gets the specified checkbox field.

IDataStoreCheckBoxFieldIntegrationCom GetCheckBoxField(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

IDataStoreCheckBoxFieldIntegrationCom

The specified checkbox field, if it exists. If the field does not exist, null is returned.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetCheckBoxFieldData(string, string)

Gets the specified checkbox field's data.

bool GetCheckBoxFieldData(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

bool

True if and only if the checkbox field is checked.

GetImageField(string, string)

Gets the specified image field.

IDataStoreImageFieldIntegrationCom GetImageField(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

IDataStoreImageFieldIntegrationCom

The specified image field, if it exists. If the field does not exist, null is returned.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetImageFieldData(string, string)

Gets the specified image field's data.

IImageDataIntegrationCom GetImageFieldData(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

IImageDataIntegrationCom

The field's data. If the field does not have any data set, null is returned.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetImageListField(string, string)

Gets the specified image list field.

IDataStoreImageListFieldIntegrationCom GetImageListField(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

IDataStoreImageListFieldIntegrationCom

The specified image list field, if it exists. If the field does not exist, null is returned.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetRowGroup(string)

Gets the specified repeatable row group.

IDataStoreRepeatableRowGroupIntegrationCom GetRowGroup(string rowGroupId)

Parameters

rowGroupId string

The row group ID.

Returns

IDataStoreRepeatableRowGroupIntegrationCom

The repeatable row group, if exists. If the repeatable row group does not exist, null is returned.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetTextField(string, string)

Gets the specified text field.

IDataStoreTextFieldIntegrationCom GetTextField(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

IDataStoreTextFieldIntegrationCom

The specified text field, if it exists. If the field does not exist, null is returned.

Remarks

Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.

GetTextFieldDateValue(string, string)

Gets the value of the specified text field in DateTime format.

object GetTextFieldDateValue(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

object

The field's data in DateTime format. If the data cannot be parsed into a DateTime, null is returned.

GetTextFieldNumericValue(string, string)

Gets the value of the specified text field in decimal format.

decimal GetTextFieldNumericValue(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

decimal

The field's data in decimal format. If the data cannot be parsed into a decimal, 0 is returned.

GetTextFieldStringListValue(string, string)

Gets the specified text field's data as a list of enum string values.

string[] GetTextFieldStringListValue(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

string[]

The field data.

Remarks

This method can be used to get the list of items selected in checked ComboBox fields.

GetTextFieldText(string, string)

Gets the value of the specified text field in plain text format.

string GetTextFieldText(string id, string signatureType)

Parameters

id string

The field's ID.

signatureType string

The field's signature section type.

Returns

string

The field's data in plain text format.

SetCheckBoxFieldData(string, bool, string)

Sets the specified checkbox field's data.

void SetCheckBoxFieldData(string id, bool data, string signatureType)

Parameters

id string

The field's ID.

data bool

True if the checkbox field should be checked. False if the checkbox field should be unchecked.

signatureType string

The field's signature section type.

SetImageFieldData(string, IImageDataIntegrationCom, string)

Sets the specified image field's data.

void SetImageFieldData(string id, IImageDataIntegrationCom data, string signatureType)

Parameters

id string

The field's ID.

data IImageDataIntegrationCom

The field's data.

signatureType string

The field's signature section type.

SetTextFieldDate(string, object, string)

Sets the specified text field's data in DateTime format.

void SetTextFieldDate(string id, object data, string signatureType)

Parameters

id string

The field's ID.

data object

The field data in DateTime format. Specifying null will clear the field data.

signatureType string

The field's signature section type.

SetTextFieldNumeric(string, decimal, string)

Sets the specified text field's data in decimal format.

void SetTextFieldNumeric(string id, decimal data, string signatureType)

Parameters

id string

The field's ID.

data decimal

The field data in decimal format.

signatureType string

The field's signature section type.

SetTextFieldStringListValue(string, string[], string)

Sets the specified text field's data as a list of enum string values.

void SetTextFieldStringListValue(string id, string[] data, string signatureType)

Parameters

id string

The field's ID.

data string[]

The field data.

signatureType string

The field's signature section type.

Remarks

This method can be used to set the list of items selected in checked ComboBox fields.

SetTextFieldText(string, string, string)

Sets the specified text field's data in plain text format.

void SetTextFieldText(string id, string data, string signatureType)

Parameters

id string

The field's ID.

data string

The field data in plain text format.

signatureType string

The field's signature section type.