Class EditFieldsInfo


  • public final class EditFieldsInfo
    extends Object
    Represents information about editor tracking fields: creationDateField, creatorField, editDateField, editorField and realm. These fields contain information about who created/edited the feature and when was it created/edited. If the field names return empty strings, then editor tracking is not enabled on the layer.
    Since:
    100.0.0
    • Method Detail

      • getCreationDateField

        public String getCreationDateField()
        Gets the name of the field that stores the date and time the feature was created.
        Returns:
        the creation date field name, or emptry string if editor tracking is not enabled
        Since:
        100.0.0
      • getCreatorField

        public String getCreatorField()
        Gets the name of the field that stores the user who created the feature.
        Returns:
        the creator field name, or emptry string if editor tracking is not enabled
        Since:
        100.0.0
      • getEditDateField

        public String getEditDateField()
        Gets the name of the field that stores the date and time the feature was last edited.
        Returns:
        the edit date field name, or emptry string if editor tracking is not enabled
        Since:
        100.0.0
      • getEditorField

        public String getEditorField()
        Gets the name of the field that stores the user who last edited the feature.
        Returns:
        the editor field name, or emptry string if editor tracking is not enabled
        Since:
        100.0.0
      • getRealm

        public String getRealm()
        Gets the realm that will be appended to the name of the user who makes the edit. For example, consider the case that logged-in user Sarah adds a new feature. The creator is set in the geodatabase as Sarah. If you configure the feature service to use the realm @server, subsequent edits appear in the database under the name Sarah@server.
        Returns:
        the realm, or emptry string if editor tracking is not enabled
        Since:
        100.0.0