Object Data Types
For most classes in PeopleTools, you need a corresponding data type to instantiate objects from that class.
See Classes and Objects.
PeopleCode includes these built-in component buffer access types:
-
Field
-
Record
-
Row
-
Rowset
PeopleCode also includes these built-in display data types:
-
AnalyticGrid
-
Chart
-
Gantt
-
Grid
-
GridColumn
-
OrgChart
-
Page
-
RatingBoxChart
PeopleCode also includes these built-in internet script data types:
-
Cookie
-
Request
-
Response
PeopleCode includes numerous miscellaneous data types—for example, Array, Chart, Exception, File, Message, XmlDoc, among many others.
API Object Types
Use this data type for any ApiObject, such as a session object, a tree object, a component interface, a portal registry, and so on.
The following ApiObject data type objects can be declared as type Global:
-
Session
-
PSMessages collection
-
PSMessages
-
All tree classes (trees, tree structures, nodes, levels, and so on)
-
All query classes
All other ApiObject data type objects (such as all the PortalRegistry classes) must be declared as Local.