User Tools

Site Tools


processclass_functional_organization_expected_use.htm
Navigation:  ABC Library Reference > ProcessClass > ProcessClass Methods >====== ProcessClass Functional Organization - Expected Use C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

As an aid to understanding the ProcessClass, it is useful to organize its methods into two categories according to their expected use–the primary interface and the virtual methods. This organization reflects what we believe is typical use of the ProcessClass methods.

Non-Virtual Methods

Housekeeping (one-time) Use:

Init initialize the ProcessClass object
AddRange (i) add a range limit to the active sort order
AddSortOrder (i) add a sort order
AppendOrder (i) refine the active sort order
SetProgressLimits calibrate the StepClass progress monitor
Kill (v) shut down the ProcessClass object

Mainstream Use:

Open (i) open the view
Next (v) get the next result set element
Previous (iv) get the previous result set element
PrimeRecord (i) prepare a record for adding
ValidateRecord (iv) validate the current result set element
SetFilter (i) specify a filter for the active sort order
SetSort (iv) set the active sort order
ApplyFilter (i) range limit and filter the result set
ApplyOrder (i) sort the result set
ApplyRange (i) conditionally range limit and filter the result set
Close (i) close the view

Occasional Use:

GetFreeElementName (i) return the free element field name
Reset (v) reposition to the first result set element
SetOrder (iv) replace the active sort order

(i)These methods are inherited from the ViewManager class.

(v)These methods are also Virtual.

Virtual Methods

Typically you will not call these methods directly–the Non-Virtual Methods call them. However, we anticipate you will often want to override these methods, and because they are virtual, they are very easy to override. These methods do provide reasonable default behavior in case you do not want to override them.

Next get the next result set element
Previous (i) get the previous result set element
Reset reposition to the first result set element
SetSort (i) set the active sort order
ValidateRecord (i) validate the current result set element
Kill Shut down the ProcessClass object

(i)These methods are inherited from the ViewManager class.

processclass_functional_organization_expected_use.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1