com.esri.arcgis.geodatabase
Interface IClassSchemaEdit4

All Superinterfaces:
IClassSchemaEdit, IClassSchemaEdit2, IClassSchemaEdit3, Serializable
All Known Implementing Classes:
ObjectClass

public interface IClassSchemaEdit4
extends IClassSchemaEdit3, Serializable

Provides access to members that modify an object class's Editor Tracking properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void alterFieldName(String fieldName, String newFieldName)
          Alter the name of the object class field.
 void setCreatedAtFieldName(String rhs1)
          Changes the field name for recording the creation time for Editor Tracking on this object class.
 void setCreatorFieldName(String rhs1)
          Changes the field name for recording the creator for Editor Tracking on this object class.
 void setEditedAtFieldName(String rhs1)
          Changes the field name for recording the edit time for Editor Tracking on this object class.
 void setEditorFieldName(String rhs1)
          Changes the field name for recording the editor for Editor Tracking on this object class.
 void setIsTimeInUTC(boolean rhs1)
          Change the property to determine Editor Tracking times are recorded in UTC.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IClassSchemaEdit3
addGlobalID, deleteGlobalID
 
Methods inherited from interface com.esri.arcgis.geodatabase.IClassSchemaEdit2
alterClassExtensionProperties
 
Methods inherited from interface com.esri.arcgis.geodatabase.IClassSchemaEdit
alterAliasName, alterClassExtensionCLSID, alterDefaultValue, alterDomain, alterFieldAliasName, alterFieldModelName, alterInstanceCLSID, alterModelName, registerAsObjectClass
 

Method Detail

setEditorFieldName

void setEditorFieldName(String rhs1)
                        throws IOException,
                               AutomationException
Changes the field name for recording the editor for Editor Tracking on this object class.

Description

EditorFieldName sets the String field that will store the names of users who last edited features or records. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording editor user name information, set the EditorFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCreatorFieldName

void setCreatorFieldName(String rhs1)
                         throws IOException,
                                AutomationException
Changes the field name for recording the creator for Editor Tracking on this object class.

Description

CreatorFieldName sets the String field that will store the names of users who create features or records. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording creator user name information, set the CreatorFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEditedAtFieldName

void setEditedAtFieldName(String rhs1)
                          throws IOException,
                                 AutomationException
Changes the field name for recording the edit time for Editor Tracking on this object class.

Description

EditedAtFieldName sets the Date field that will store the date and time features or records were last edited. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording last edited date information, set the EditedAtFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCreatedAtFieldName

void setCreatedAtFieldName(String rhs1)
                           throws IOException,
                                  AutomationException
Changes the field name for recording the creation time for Editor Tracking on this object class.

Description

CreatedAtFieldName sets the Date field that will store the date and time features or records were created. The field specified must already exist.

Remarks

Once you set this property, editor tracking is enabled on the dataset. If you later need to stop recording when features or records are created, set the CreatedAtFieldName property to an empty string. To disable editor tracking on the dataset, CreatorFieldName, CreatedAtFieldName, EditorFieldName, and EditedAtFieldName must each be set to an empty string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsTimeInUTC

void setIsTimeInUTC(boolean rhs1)
                    throws IOException,
                           AutomationException
Change the property to determine Editor Tracking times are recorded in UTC.

Description

IsTimeInUTC sets whether time will be recorded in UTC or database time.

Remarks

If you don't specify this, time will be recorded in UTC.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterFieldName

void alterFieldName(String fieldName,
                    String newFieldName)
                    throws IOException,
                           AutomationException
Alter the name of the object class field.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fieldName - The fieldName (in)
newFieldName - The newFieldName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.