com.elvyx.client
Interface Functions

All Known Implementing Classes:
FunctionsImpl

public interface Functions

The functions interface includes the functionalities available for elvyx client.

Since:
1.0
Version:
$Revision: 1.5 $
Author:
Armando Perdomo

Method Summary
 void eraseDatabase()
          Send command to erase data in database.
 void exit()
          Exit the application.
 Response getDetails(java.lang.String[] values)
          Return details for a statement, data measured.
 java.util.Properties getProperties()
          Return properties file content
 java.lang.String getProperty(java.lang.String prop)
          Return a property included into the properties file.
 Response getStatements(Filter filter)
          Send command gls to get from server the list of statements filtered
 void loadProperties()
          Load the properties file
 void refreshDetails(java.lang.String[] values)
          Refresh details table
 void refreshTable(Filter filter)
          Refresh data table
 void resetDetails()
          Reset details, including gaussian chart, details chart and detail table.
 void saveAs(java.io.File file)
          Save data to file
 void saveProperties(java.util.Properties properties)
          Save the properties file.
 void stopSchedule()
          Stop schedule
 

Method Detail

eraseDatabase

void eraseDatabase()
                   throws CommandException
Send command to erase data in database.

Throws:
CommandException

exit

void exit()
Exit the application.


loadProperties

void loadProperties()
Load the properties file


saveProperties

void saveProperties(java.util.Properties properties)
Save the properties file. This is elvyxclientproperties.properties.

Parameters:
properties - It include the parameters to be saved Sample: port = 4448 hostaddress=localhost lookandfeel=System refreshtime=20

getProperty

java.lang.String getProperty(java.lang.String prop)
Return a property included into the properties file.

Parameters:
prop - Propery key
Returns:
Property value

getProperties

java.util.Properties getProperties()
Return properties file content


getStatements

Response getStatements(Filter filter)
                       throws CommandException
Send command gls to get from server the list of statements filtered

Throws:
CommandException

getDetails

Response getDetails(java.lang.String[] values)
                    throws CommandException
Return details for a statement, data measured.

Parameters:
values - Prepared statement and SQL Statement.
Throws:
CommandException

refreshTable

void refreshTable(Filter filter)
                  throws CommandException
Refresh data table

Parameters:
optionSelected - If refresh inserts, selects, updates, or all
Throws:
CommandException

refreshDetails

void refreshDetails(java.lang.String[] values)
                    throws CommandException
Refresh details table

Parameters:
String[] - sql statement and sql prepared
Throws:
CommandException

resetDetails

void resetDetails()
Reset details, including gaussian chart, details chart and detail table.

Parameters:
String[] - sql statement and sql prepared
Throws:
CommandException

saveAs

void saveAs(java.io.File file)
            throws CommandException
Save data to file

Throws:
CommandException

stopSchedule

void stopSchedule()
                  throws CommandException
Stop schedule

Throws:
CommandException


Copyright © 2006-2008 Armando Perdomo. All Rights Reserved.