(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.