com.tekann.remotesync.pda
Class LitebaseTableDataExtractor

java.lang.Object
  extended by com.tekann.remotesync.pda.LitebaseTableDataExtractor

public class LitebaseTableDataExtractor
extends java.lang.Object

This class is used to extract the table's data

Author:
ricardo

Field Summary
static byte ALL_ROWS
           
static byte CHANGED_ROWS
           
 
Constructor Summary
LitebaseTableDataExtractor()
           
 
Method Summary
static totalcross.util.Vector extractContent(java.lang.String creatorID, byte mode, PDASyncTableSettings[] tables)
          Extract the tables content to a Vector.
static totalcross.util.Vector extractContent(java.lang.String creatorID, byte mode, java.lang.String[] tables)
          Extract the tables content to a Vector.
static totalcross.util.Vector getTableContent(litebase.LitebaseConnection driver, PDASyncTableSettings table, byte mode)
          Extract the table content to a Vector.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_ROWS

public static final byte ALL_ROWS
See Also:
Constant Field Values

CHANGED_ROWS

public static final byte CHANGED_ROWS
See Also:
Constant Field Values
Constructor Detail

LitebaseTableDataExtractor

public LitebaseTableDataExtractor()
Method Detail

extractContent

public static totalcross.util.Vector extractContent(java.lang.String creatorID,
                                                    byte mode,
                                                    PDASyncTableSettings[] tables)
                                             throws java.lang.Exception
Extract the tables content to a Vector.

Parameters:
creatorID -
mode - can be ALL_ROWS or CHANGED_ROWS
tables -
Returns:
Throws:
java.lang.Exception

extractContent

public static totalcross.util.Vector extractContent(java.lang.String creatorID,
                                                    byte mode,
                                                    java.lang.String[] tables)
                                             throws java.lang.Exception
Extract the tables content to a Vector.

Parameters:
creatorID -
mode - can be ALL_ROWS or CHANGED_ROWS
tables -
Returns:
Throws:
java.lang.Exception

getTableContent

public static totalcross.util.Vector getTableContent(litebase.LitebaseConnection driver,
                                                     PDASyncTableSettings table,
                                                     byte mode)
                                              throws java.lang.Exception
Extract the table content to a Vector.

Parameters:
driver -
table -
mode - can be ALL_ROWS or CHANGED_ROWS
Returns:
Throws:
java.lang.Exception