18.01.2013 Views

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3<br />

<strong>LotusScript</strong> Notes Classes<br />

Notes defines <strong>LotusScript</strong> object classes (called Notes classes in the<br />

following) that allow you to access Notes structures at two levels:<br />

The database (back-end) classes allow you to access named databases,<br />

views, documents, and other Notes objects. Both workstation and server<br />

users can run scripts that access database objects.<br />

The UI (front-end) classes allow you to access current objects that the user<br />

is working on. Only workstation users can run scripts that access UI objects.<br />

There is a hierarchical relationship <strong>for</strong> object classes. Higher hierarchical<br />

classes contain the lower ones. Each class has defined members, properties<br />

and methods. Using these members, you can access other objects. The<br />

relationship of containment and access means that the higher class has<br />

the property or the method to access the lower one. NotesSession is the<br />

highest-level class in the hierarchy among the database classes. The<br />

NotesUIWorkspace class is the highest-level class in the hierarchy among<br />

the UI classes.<br />

In this chapter, we will discuss:<br />

Database classes and UI classes<br />

How to access the classes<br />

The properties and methods of the classes<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!