The fields that record who adds or edits the features and when the edits are made. More...
Header: | #include <EditFieldsInfo.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
EditFieldsInfo() | |
EditFieldsInfo(const Esri::ArcGISRuntime::EditFieldsInfo &other) | |
EditFieldsInfo(Esri::ArcGISRuntime::EditFieldsInfo &&other) | |
~EditFieldsInfo() | |
QString | creationDateField() const |
QString | creatorField() const |
QString | editDateField() const |
QString | editorField() const |
bool | isEmpty() const |
QString | realm() const |
Esri::ArcGISRuntime::EditFieldsInfo & | operator=(const Esri::ArcGISRuntime::EditFieldsInfo &other) |
Esri::ArcGISRuntime::EditFieldsInfo & | operator=(Esri::ArcGISRuntime::EditFieldsInfo &&other) |
Detailed Description
These editing fields are defined when the data owner enables editor tracking on the feature service. For more information, see Editor tracking for feature services.
You can obtain the EditFieldsInfo from ArcGISFeatureLayerInfo::editFieldsInfo. This information is recorded if EditorTrackingInfo::isEditorTrackingEnabled is true
.
Member Function Documentation
EditFieldsInfo::EditFieldsInfo ()
Default constructor. Creates an empty EditFieldsInfo.
EditFieldsInfo::EditFieldsInfo (const Esri::ArcGISRuntime::EditFieldsInfo &other)
Copy constructor from other EditFieldsInfo.
EditFieldsInfo::EditFieldsInfo (Esri::ArcGISRuntime::EditFieldsInfo &&other)
Move constructor from other EditFieldsInfo.
EditFieldsInfo::~EditFieldsInfo ()
Destructor.
QString EditFieldsInfo::creationDateField () const
Returns the name of the field containing information about when the feature was first created.
QString EditFieldsInfo::creatorField () const
Returns the name of the field containing information about who created the feature.
QString EditFieldsInfo::editDateField () const
Returns the name of the field containing information about when the feature was last edited.
QString EditFieldsInfo::editorField () const
Returns the name of the field containing information about who edited the feature last.
bool EditFieldsInfo::isEmpty () const
Returns true
if this EditFieldsInfo is empty.
QString EditFieldsInfo::realm() const
Returns the realm is a string that uniquely identifies an editor and how they edited the data.
Realms can be used to differentiate edits made through a feature service as opposed to those made directly to the data in the geodatabase. If a realm string is present, it is appended to the username using the "@" character. For example, a realm string of "denver" is appended to the user "John" to give a user name of "John@denver". For more information, see Configure a realm for a feature service.
Esri::ArcGISRuntime::EditFieldsInfo &EditFieldsInfo::operator=(const Esri::ArcGISRuntime::EditFieldsInfo &other)
Assignment operator from other EditFieldsInfo.
Esri::ArcGISRuntime::EditFieldsInfo &EditFieldsInfo::operator=(Esri::ArcGISRuntime::EditFieldsInfo &&other)
Move operator from other EditFieldsInfo.