Accessing Component Interface Standard Properties
Every Component Interface comes with a standard set of properties. These properties can be divided as follows:
Properties that affect how the Component Interface is executed
The following properties affect how a component interface is executed:
-
EditHistoryItems
-
GetHistoryItems
-
InteractiveMode
These properties must be set before the Component Interface is populated with data. That is, you must set these properties before you use the Get or Create methods.
EditHistoryItems and GetHistoryItems work together to determine how data is accessed:
-
If EditHistoryItems is False (the default) and GetHistoryItems is True, you access the data in the Component Interface in a similar manner as if you were accessing a component in update/display All mode. This means all history rows are returned, however, you can edit rows only with a date set in the future.
-
If EditHistoryItems is True and GetHistoryItems is True, you access the data in the Component Interface in a similar manner as if you were accessing a component in correction mode. This means all history rows are returned, and you can edit them.
-
If GetHistoryItems is False, you access the data in the Component Interface in a similar manner as if you were accessing a component in update mode. The EditHistoryItems has no effect when GetHistoryItems is False.
InteractiveMode causes the Component Interface to emulate an online component. For example, if you set a value for a field in a Component Interface and you have set InteractiveMode to True, then any FieldChange PeopleCode programs associated with that field fire as soon as you set that value.
Properties that return information about the structure of the Component Interface
The following properties return information about the structure of the Component Interface:
-
CreateKeyInfoCollection
-
FindKeyInfoCollection
-
GetKeyInfoCollection
-
PropertyInfoCollection
Related Topics