Interface IArcherContentAccess
Assembly: Estrelica.Interfaces.dll
Syntax
[StayPublic]
[DoNotObfuscateType]
public interface IArcherContentAccess : IArcherRecord, IRecordAccess<int>, IRecordAccess, IEditableInterface<IArcherContentEdit>, IEditable
Properties
Returns a collection of IContentHistory information for the current record. Note that this is
loaded and cached on first call. Set it to any value (namely null, anything else will be ignored)
to flush the cache and reload if needed.
Declaration
IEnumerable<IContentHistory> ContentHistory { get; set; }
Property Value
Declaration
dynamic this[IArcherField field] { get; }
Parameters
Property Value
Declaration
dynamic this[Guid identifer] { get; }
Parameters
Property Value
Declaration
dynamic this[int fieldId] { get; }
Parameters
Property Value
Declaration
dynamic this[string fieldNameOrAlias] { get; }
Parameters
Property Value
Returns a collection of integer field Ids for which History Log information is available on the current record.
Declaration
IEnumerable<int> TrackedFieldIds { get; }
Property Value
Methods
Declaration
DateTime? DateValue(Guid dateFieldGuid)
Parameters
Returns
Declaration
DateTime? DateValue(int dateFieldId)
Parameters
Returns
Declaration
DateTime? DateValue(string dateFieldNameOrAlias)
Parameters
Returns
Declaration
IEnumerable<IArcherDocument> DocumentSelection(Guid documentFieldGuid)
Parameters
Returns
Declaration
IEnumerable<IArcherDocument> DocumentSelection(int documentFieldId)
Parameters
Returns
Declaration
IEnumerable<IArcherDocument> DocumentSelection(string documentFieldNameOrAlias)
Parameters
string
documentFieldNameOrAlias
|
Returns
Declaration
IEnumerable<IExternalLink> ExternalLinkSelection(Guid externalLinksFieldGuid)
Parameters
Guid
externalLinksFieldGuid
|
Returns
Declaration
IEnumerable<IExternalLink> ExternalLinkSelection(int externalLinksFieldId)
Parameters
Returns
Declaration
IEnumerable<IExternalLink> ExternalLinkSelection(string externalLinksFieldNameOrAlias)
Parameters
string
externalLinksFieldNameOrAlias
|
Returns
Returns a collection of IFieldHistoryEx information from this record for a specific field
Declaration
IEnumerable<IFieldHistoryEx> FieldHistory(IArcherField field)
Parameters
Returns
Returns a collection of IFieldHistoryEx information from this record for a specific field by Id
Declaration
IEnumerable<IFieldHistoryEx> FieldHistory(int fieldId)
Parameters
Returns
Returns the IFieldHistoryEx information carried by this record as of a specific UTC date/time for a specific field.
This represents the most recent History Log-tracked edit that occurred to the field for this record as of the specified time.
Declaration
IFieldHistoryEx FieldHistoryAsOf(IArcherField field, DateTime? asOfUTC)
Parameters
IArcherField
field
|
DateTime?
asOfUTC
The "as of" date to be queried. If null, the most recent history event will be returned.
|
Returns
IFieldHistoryEx
An IFieldHistoryEx representing details of what was in the field as the specified date. Returns null if the field is not tracked by
any History Log fields, or if it had no value as of the specified date
|
Returns the IFieldHistoryEx information carried by this record as of a specific UTC date/time for a specific field by Id.
This represents the most recent History Log-tracked edit that occurred to the field for this record as of the specified time.
Declaration
IFieldHistoryEx FieldHistoryAsOf(int fieldId, DateTime? asOfUTC)
Parameters
int
fieldId
The id of the field to query for history
|
DateTime?
asOfUTC
The "as of" date to be queried. If null, the most recent history event will be returned.
|
Returns
IFieldHistoryEx
An IFieldHistoryEx representing details of what was in the field as the specified date. Returns null if the field is not tracked by
any History Log fields, or if it had no value as of the specified date
|
Returns a collection of IFieldHistoryEx information carried by this record as of a specific UTC date/time for all fields tracked by History Log fields.
This collection represents the most recent History Log-tracked edits that occurred to the record across all of those fields as of the specified time.
Declaration
IEnumerable<IFieldHistoryEx> HistoryAsOf(DateTime? asOfUTC)
Parameters
DateTime?
asOfUTC
The "as of" date to be queried. If null, the most recent history event for each of the tracked fields will be returned.
|
Returns
Returns a collection of IFieldHistoryEx information carried by this record as of a specific UTC date/time for specific fields tracked by History Log fields.
This collection represents the most recent History Log-tracked edits that occurred to the record across all of those fields as of the specified time.
Declaration
IEnumerable<IFieldHistoryEx> HistoryAsOf(DateTime? asOfUTC, IEnumerable<IArcherField> fields)
Parameters
DateTime?
asOfUTC
The "as of" date to be queried. If null, the most recent history event for each of the selected fields will be returned.
|
IEnumerable<IArcherField>
fields
|
Returns
Returns a collection of IFieldHistoryEx information carried by this record as of a specific UTC date/time for specific fields tracked by History Log fields.
This collection represents the most recent History Log-tracked edits that occurred to the record across all of those fields as of the specified time.
Declaration
IEnumerable<IFieldHistoryEx> HistoryAsOf(DateTime? asOfUTC, IEnumerable<int> fieldIds)
Parameters
DateTime?
asOfUTC
The "as of" date to be queried. If null, the most recent history event for each of the selected fields will be returned.
|
IEnumerable<int>
fieldIds
The integer Ids of specific fields to be returned in the result. If null, all tracked fields will be evaluated for return.
|
Returns
Declaration
string IPAddressValue(Guid ipAddressFieldGuid)
Parameters
Returns
Declaration
string IPAddressValue(int ipAddressFieldId)
Parameters
Returns
Declaration
string IPAddressValue(string ipAddressFieldNameOrAlias)
Parameters
string
ipAddressFieldNameOrAlias
|
Returns
Declaration
decimal? NumericValue(Guid numericFieldGuid)
Parameters
Returns
Declaration
decimal? NumericValue(int numericFieldId)
Parameters
Returns
Declaration
decimal? NumericValue(string numericFieldNameOrAlias)
Parameters
string
numericFieldNameOrAlias
|
Returns
Declaration
N? NumericValue<N>(Guid numericFieldGuid) where N : struct, IComparable, IComparable<N>, IConvertible, IEquatable<N>, IFormattable
Parameters
Returns
Type Parameters
Declaration
N? NumericValue<N>(int numericFieldId) where N : struct, IComparable, IComparable<N>, IConvertible, IEquatable<N>, IFormattable
Parameters
Returns
Type Parameters
Declaration
N? NumericValue<N>(string numericFieldNameOrAlias) where N : struct, IComparable, IComparable<N>, IConvertible, IEquatable<N>, IFormattable
Parameters
string
numericFieldNameOrAlias
|
Returns
Type Parameters
Declaration
IReferencedRecordsSelection ReferencedRecordsSelection(Guid referenceFieldGuid)
Parameters
Returns
Declaration
IReferencedRecordsSelection ReferencedRecordsSelection(int referenceFieldId)
Parameters
Returns
Declaration
IReferencedRecordsSelection ReferencedRecordsSelection(string referenceFieldNameOrAlias)
Parameters
string
referenceFieldNameOrAlias
|
Returns
Declaration
IArcherContentAccess Reload(ContentSource? contentSource = null)
Parameters
Returns
Declaration
string TextValue(Guid textFieldGuid)
Parameters
Returns
Declaration
string TextValue(int textFieldId)
Parameters
Returns
Declaration
string TextValue(string textFieldNameOrAlias)
Parameters
Returns
Declaration
IUserGroupListSelection UserGroupListSelection(Guid userGroupListFieldGuid)
Parameters
Guid
userGroupListFieldGuid
|
Returns
Declaration
IUserGroupListSelection UserGroupListSelection(int userGroupListFieldId)
Parameters
Returns
Declaration
IUserGroupListSelection UserGroupListSelection(string userGroupListFieldNameOrAlias)
Parameters
string
userGroupListFieldNameOrAlias
|
Returns
Declaration
dynamic Value(IArcherField field)
Parameters
Returns
Declaration
DateTime? Value(IBaseDateField field)
Parameters
Returns
Declaration
IEnumerable<IArcherDocument> Value(IDocumentField documentField)
Parameters
Returns
Declaration
IEnumerable<IExternalLink> Value(IExternalLinksField externalLinksField)
Parameters
Returns
Declaration
string Value(IIPAddressField ipAddressField)
Parameters
Returns
Declaration
decimal? Value(INumericField numericField)
Parameters
Returns
Declaration
RecordStatus Value(IRecordStatusField recordStatusField)
Parameters
Returns
Declaration
IReferencedRecordsSelection Value(IReferenceField referenceField)
Parameters
Returns
Declaration
string Value(ITextField textField)
Parameters
Returns
Declaration
string Value(ITrackingIDField trackingIdField)
Parameters
Returns
Declaration
IUserGroupListSelection Value(IUserGroupListField userGroupListField)
Parameters
Returns
Declaration
IValuesListSelection Value(IValuesListField valueListField)
Parameters
Returns
Declaration
dynamic Value(Guid identifer)
Parameters
Returns
Declaration
dynamic Value(int fieldId)
Parameters
Returns
Declaration
V Value<V>(IArcherField field, V defaultIfUnassigned = default)
Parameters
Returns
Type Parameters
Declaration
N? Value<N>(INumericField numericField) where N : struct, IComparable, IComparable<N>, IConvertible, IEquatable<N>, IFormattable
Parameters
Returns
Type Parameters
Declaration
V Value<V>(Guid fieldGuid, V defaultIfUnassigned = default)
Parameters
Guid
fieldGuid
|
V
defaultIfUnassigned
|
Returns
Type Parameters
Declaration
V Value<V>(int fieldId, V defaultIfUnassigned = default)
Parameters
int
fieldId
|
V
defaultIfUnassigned
|
Returns
Type Parameters
Declaration
V Value<V>(string fieldNameOrAlias, V defaultIfUnassigned = default)
Parameters
string
fieldNameOrAlias
|
V
defaultIfUnassigned
|
Returns
Type Parameters
Declaration
IValuesListSelection ValuesListSelection(Guid valuesListFieldGuid)
Parameters
Returns
Declaration
IValuesListSelection ValuesListSelection(int valuesListFieldId)
Parameters
Returns
Declaration
IValuesListSelection ValuesListSelection(string valuesListFieldNameOrAlias)
Parameters
string
valuesListFieldNameOrAlias
|
Returns
Extension Methods