Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

struct ListAction
Description
This struct contains information needed in the notifications of a XDynamicResultSet.
See also
ListEvent

Elements' Summary
Position The position where something has happened (index begins with 1 as usual with JDBC ).  
Count The count of involved rows.  
ListActionType specifies the kind of modification happened to all assigned rows.  
ActionInfo dependend on the content of ListAction::ListActionType the ListAction::ActionInfo could contain additional information about the changes happened (see table above).  
Elements' Details
Position
long Position;
Description
The position where something has happened (index begins with 1 as usual with JDBC ).

Its value does not necessary indicate the new position in the new ::com::sun::star::sdbc::XResultSet, but a position while doing the changes step by step beginning with the old ::com::sun::star::sdbc::XResultSet.

Count
long Count;
Description
The count of involved rows.
ListActionType
long ListActionType;
Description
specifies the kind of modification happened to all assigned rows.

The value of the other members of this struct depend on the value of this member:

ListActionType Position Count ActionInfo
WELCOME n/a n/a WelcomeDynamicResultSetStruct required
CLEARED n/a n/a n/a
INSERTED required 1-x required 1-x allowed but not required... @todo
REMOVED required 1-x required 1-x n/a
MOVED required 1-x required 1-x type long required
PROPERTIES_CHANGED required 1-x required 1-x allowed but not required... @todo

The value for this member can be one of the ListActionType constants group.

ActionInfo
any ActionInfo;
Description
dependend on the content of ListAction::ListActionType the ListAction::ActionInfo could contain additional information about the changes happened (see table above).
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.