Inherited from:
IBase
|
+----IVBase
|
+----INotifier
|
+----IStandardNotifier
|
+----IDAManager
|
+----<Class>ManagerBase
Inherited by:
<Class>ManagerBase | +----<Class>ManagerTemplate
Public Functions by Category
public: virtual ~<Class>ManagerBase();
Supported Platforms Windows OS/2 AIX Y Y Y
public: void select<UDM>( <parameterList> );If you have defined a user-defined method using the Manager Methods dialog, then this method will be generated. It opens a database cursor, selects the rows specified by the method, and closes the cursor.
Supported Platforms Windows OS/2 AIX Y Y Y public: void open<SPC>( <parameterList> );If you have defined a stored procedure call using the Manager Methods dialog, then this method will be generated. It opens a database cursor, selects the rows specified by the stored procedure, and closes the cursor.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual IBoolean fetchNextInto(<Class> *element);
Fetches next row from open cursor into the given element. This sets the isFetched setting to false, so the deleteFetched and updateFetched methods will not work. To work with the row, you must work with the object into which it was fetched.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual void deleteFetched();
Deletes the row corresponding to the currently-fetched object from the table.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual void updateFetched();
Update the row corresponding to the currently-fetched object with the current object's attribute values.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual <Class>* element() const;
This method returns the currently fetched object into a persistent object.
Supported Platforms Windows OS/2 AIX Y Y Y public: void open<UDM>( <parameterList> );If you have defined a user-defined method using the Manager Methods dialog, then this method will be generated. It opens a database cursor on the collection of rows specified by the user-defined method.
Supported Platforms Windows OS/2 AIX Y Y Y public: void open<SPC>( <parameterList> );If you have defined a stored procedure call using the Manager Methods dialog, then this method will be generated. It opens a database cursor on the collection of rows specified by the stored procedure.
Supported Platforms Windows OS/2 AIX Y Y Y
public: IDatastorexxx* objectsDatastore() const;
Use this method to return the object's datastore setting used for an object fetched by this manager. If this method returns null, then the object uses the default datastore or the application default datastore for database transactions. If this method returns a non-null value, then the returned datastore is used for all datastore transactions. You can change this setting by calling the setObjectDatastore method.
Supported Platforms Windows OS/2 AIX Y Y Y
public: <Class>ManagerBase& setObjectsDatastore(IDatastorexxx* dsm = 0);
Use this method to change the object's datastore setting that is used for an object fetched by this manager. If you pass in null, then the object will use the default datastore (if it is not null) or the application default datastore for database transactions. If you pass in a non-null value, then the object uses the passed-in datastore object for all its datastore transactions.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual IDatastorexxx* currentDatastore() const;
Use this method to return the current datastore for the object. The current datastore is the datastore that the object uses for all datastore transactions. It is calculated as follows:
- the current datastore is the object's datastore, unless that is null;
- if the object's datastore is null, then the current datastore is the default datastore, unless that is null;
- if both object's and default datastores are null, then the current datastore is the application default datastore.
If all three datastore settings are null, then an attempt to make a database transaction will result in an exception.
Supported Platforms Windows OS/2 AIX Y Y Y
public: static IString getSQLBaseQuery ();This method returns a string containing the SQL statement that defines the schema. This is the SQL used by the refresh method, and is provided for your information only.
Supported Platforms Windows OS/2 AIX Y Y Y
SQL Query Mapping with Parameters
public: <parameterType> <parameter> ();If the mapping for which this class is generated came from an SQL query with parameters, then this method will return the current value for the specified parameter. One of these methods is generated for each parameter in the SQL query. The parameter value can be set by calling the corresponding set<Parameter> method.
public: void set<Parameter> ( <parameterType> aParameter );If the mapping for which this class is generated came from an SQL query with parameters, then this method lets you set the value the specified parameter. One of these methods is generated for each parameter in the SQL query. The parameter value can be retrieved by calling the corresponding <parameter> method.
Public Data
public: static const INotificationID open<UDM>CompletedId; static const INotificationID open<SPC>CompletedId; static const INotificationID select<UDM>CompletedId; static const INotificationID select<SPC>CompletedId;
Supported Platforms Windows OS/2 AIX Y Y Y
Protected Methods by Category
protected: <Class>ManagerBase( IDatastorexxx* dsm, <Class> *obj, _seqType *seq ); <Class>ManagerBase( const <Class>ManagerBase& aManager, <Class> *obj, _seqType *seq );
Supported Platforms Windows OS/2 AIX Y Y Y
protected: virtual <Class>* newElement() const = 0;Override this method when deriving a class from the generated persistent object class to return an instance of the derived class. If you derive classes by using the Manager template, then the template overrides this method for you.
Supported Platforms Windows OS/2 AIX Y Y Y
Protected Operator
protected: <Class>ManagerBase& operator= (const <Class>ManagerBase& aManager);
Supported Platforms Windows OS/2 AIX Y Y Y
Inherited from IDAManager:
Public Functions
Public Data
