|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elvyx.client.FunctionsImpl
public class FunctionsImpl
Load the parameters from properties files and it has the method to get information from server.
| 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.lang.Long |
getId()
Return the server id |
java.util.Properties |
getProperties()
Return properties including parameters in properties file. |
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 section |
void |
refreshTable(Filter filter)
Refresh data table |
void |
resetDetails()
Reset details section |
void |
saveAs(java.io.File file)
Save data to file |
void |
saveProperties(java.util.Properties properties)
Save the properties file. |
void |
setId(java.lang.Long id)
Set id. |
void |
stopSchedule()
Stop schedule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void loadProperties()
loadProperties in interface Functionspublic void saveProperties(java.util.Properties properties)
saveProperties in interface Functionsproperties - It include the parameters to be saved Sample: port = 4448
hostaddress=localhost lookandfeel=System refreshtime=20public java.lang.String getProperty(java.lang.String prop)
getProperty in interface Functionsprop - Propery key
public java.util.Properties getProperties()
getProperties in interface Functionspublic void exit()
exit in interface Functionsjava.sql.SQLException
public void eraseDatabase()
throws CommandException
eraseDatabase in interface FunctionsCommandException
public Response getStatements(Filter filter)
throws CommandException
getStatements in interface FunctionsCommandException
public Response getDetails(java.lang.String[] values)
throws CommandException
getDetails in interface Functionsvalues - Prepared statement and SQL Statement.
CommandException
public void refreshTable(Filter filter)
throws CommandException
refreshTable in interface Functionsvalues - Prepared statement and SQL Statement.
CommandException
public void refreshDetails(java.lang.String[] values)
throws CommandException
refreshDetails in interface Functionsvalues - Prepared statement and SQL Statement.
CommandExceptionpublic void resetDetails()
resetDetails in interface Functionsvalues - Prepared statement and SQL Statement.
CommandException
public void saveAs(java.io.File file)
throws CommandException
saveAs in interface FunctionsCommandExceptionpublic void stopSchedule()
stopSchedule in interface FunctionsCommandExceptionpublic java.lang.Long getId()
public void setId(java.lang.Long id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||