Inherited from:
IBase
|
+----IVBase
|
+----INotifier
|
+----IStandardNotifier
|
+----IDAManager
|
+----<Class>DataIdManagerBase
Inherited by:
<Class>DataIdManagerBase | +----<Class>DataIdManagerTemplate
Public Functions by Category
public: virtual ~<Class>DataIdManagerBase();
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 DataId columns 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 DataId columns specified by the stored procedure, and closes the cursor.
Supported Platforms Windows OS/2 AIX Y Y Y
public: virtual IBoolean fetchNextInto(<Class>DataId *element);Fetches next row from open cursor into the given element.
Supported Platforms Windows OS/2 AIX Y Y Y public: virtual void deleteFetched();Delete the object currently pointed to by the cursor.
Supported Platforms Windows OS/2 AIX Y Y Y public: virtual void updateFetched();Update the object currently pointed to by the cursor.
Supported Platforms Windows OS/2 AIX Y Y Y public: virtual <Class>DataId* element() const;This method returns the currently fetched 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 DataId columns 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 DataId columns specified by the stored procedure.
Supported Platforms Windows OS/2 AIX Y Y Y
public: IDatastorexxx* objectsDatastore() const { return iObjectsDatastore; }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>DataIdManagerBase& 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
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>DataIdManagerBase( IDatastorexxx* dsm, <Class>DataId *obj, _seqType *seq ); <Class>DataIdManagerBase( const <Class>DataIdManagerBase& aManager, <Class>DataId *obj, _seqType *seq );
Supported Platforms Windows OS/2 AIX Y Y Y
protected: virtual <Class>DataId* newElement() const = 0;Override this method when deriving a class from the generated class to return an instance of a 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>DataIdManagerBase& operator= (const <Class>DataIdManagerBase& aManager);
Supported Platforms Windows OS/2 AIX Y Y Y
Inherited from IDAManager:
Public Functions
Public Data
