Top   Module   Use   Manual   Index 

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

struct ListAction


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


Elements

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 XResultSet , but a position while doing the changes step by step beginning with the old XResultSet .

long Count
Description
The count of involved rows.
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.

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