Loredana Liccardo
cc80af9d93
For the functionality of TablesList the "canc" button of the window that displays the tables list has been removed and has been added icon at the top of the window (as well as in submitQuery and Samplings dialogs. In addition, on top of the window has been also removed icon that minimizes window and has been added icon that maximizes the window.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100753 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-16 10:49:08 +00:00
Loredana Liccardo
3c28bda521
ConstantsPortlet class was moved from package client.utils in package shared
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100647 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-13 14:34:03 +00:00
Loredana Liccardo
9b569d41a3
- refresh on data improved in the tree panel in order to implement the cascade refresh using a thread (refreshDataTree method modified). queue mechanism added to make asynchronous the communication with the ThreadDataLoader. class GWTdbManagerSErviceImpl modified.
...
- The classes as GxtBorder, GxtTree, GxtToolbar has been modified to manage events "loadingTreeFinishedEvent and RefreshDataFinishedEvent" related to the refreshData button but their code has been commented because not useful.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100602 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-10 10:53:26 +00:00
Loredana Liccardo
4a5a0b127d
code cleaned up removing commented lines in class GxtBorderLayoutPanel and GxtTreePanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100347 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-02 10:36:08 +00:00
Loredana Liccardo
8ffb77cfee
- caching on submitQuery requests added
...
- bug fixed in servlet in submitQuery method when a user clicks the cancel button and the map from statistical is already recovered
- private variable output renamed in class SubmitQueryResultWithFileFromServlet
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100324 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-01 13:38:16 +00:00
Loredana Liccardo
53ac9390b7
sampling and smartSampling cached
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100288 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-30 12:32:27 +00:00
Loredana Liccardo
6a96111918
user timeout session management generating a SessionExpiredException in order to show the session checker dialog and redirect to login
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100252 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-29 13:13:02 +00:00
Loredana Liccardo
341caee51f
bug fixed related to presentation of the result when the submitquery with the smart correction is called. Now dialog result displays the query and the grid result.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100161 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-24 09:02:22 +00:00
Loredana Liccardo
e3d7a79504
statement commented in loadTables method of GxtBorderLayoutPanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100101 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-22 13:30:18 +00:00
Loredana Liccardo
41bab2bbb1
exceptions management on algorithm input parameters
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100094 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-22 09:10:07 +00:00
Loredana Liccardo
6528b95a3b
- bug fixed in class GxtBorderLayoutPanel.When a table is selected ad displayed in the panel, on the click of a table in the tables' list, buttons getdetails ad samplings have not be disabled if a new table is not selected.
...
- name changed in randomSample method in the servlet in order to create the file csv.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100093 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-22 08:14:48 +00:00
Loredana Liccardo
10007df08a
- added the file csv download for the submitQuery, sampling, smartsampling and randomsampling
...
- class FileModel in package datamodel modified. It implements the IsSerializable and not Serializable
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100060 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-19 15:36:36 +00:00
Loredana Liccardo
d9735e3f44
added the query "select * table_name limit 10" in the dialog submitQuery
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100017 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-18 12:10:36 +00:00
Loredana Liccardo
5e277ab215
comment added
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99901 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-15 15:25:20 +00:00
Loredana Liccardo
3f6a9670c4
on the click of the cancel button in the dialog TeableList, the content (related to the previous table selection) does not disappear in the two panels "Database Information" and "Information Details"
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99892 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-15 14:12:50 +00:00
Loredana Liccardo
d4165113b8
added a listener in order to not change a table name. Class GxtBorderLayoutPanel changed.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99891 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-15 13:59:05 +00:00
Loredana Liccardo
5386131130
- encache caching mechanism added for the information in the tree model. (cache disk create in the temp directory of tomcat)
...
- for submitquery and samplings, message "Result not available" changed in the table has 0 rows or the query returned 0 values
- directory for cache created in a corrected way and dependency for ehcache set to provided in the pom file
- servlet computation made more fast removing for each algorithm the retrieving of algorithm's name and algorithm's input parameters. They have been set within each method (related to an algorithm)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99777 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-12 12:05:22 +00:00
Loredana Liccardo
ea771efd64
for submitquery and samplings, message "Result not available" changed in the table has 0 rows or the query returned 0 values
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99698 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-10 14:00:13 +00:00
Loredana Liccardo
af9eb785ef
code commented removed
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99577 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-08 10:36:49 +00:00
Loredana Liccardo
e955f2bc42
bugs fixed for the submitQuery functionality:
...
- If a user clicks "cancel" after a computation is finished, the result will not be shown.(corrections in "removecomputtaion" and "submitquery" methods in servlet class and in the in the callback success related to the submitquery rpc in class GxtBorderLayout)
- the ok button disabled in the dialog related to the submitQuery operation in order to avoid to submit the same query.The ok button will be enabled when a dialog will show the result.(corrections in rpc submitQuery and parseSubmitQueryResult in GxtBorderLayout class)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99516 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-05 09:30:05 +00:00
Loredana Liccardo
1ebffe746f
bug fixed in GxtBorderLayout e servlet classes for the submit query operation in such a way if a query does not generate a result a dialog shows a message to user.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99370 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-01 10:58:31 +00:00
Loredana Liccardo
8e641ab117
the dialog that shows the submit query result has been realized with the pagination. Further, the two hashmap on the server are refreshed when this dialog is closed from the user removing the not useful data related to the submit query
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99351 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-29 13:39:04 +00:00
Loredana Liccardo
94c8594bf2
bug fixed in GWTdbManagerServiceImpl class for the cancel of a submit query operation.comments removed in the other classes.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99269 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-25 15:55:53 +00:00
Loredana Liccardo
e5274527bf
-cancel of a submit query managed removing the computation from the statistical and closing the db connection.
...
- class UIDGenerator added.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99195 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-01 16:11:36 +00:00
Loredana Liccardo
9c21766b70
add ASLSession object in class GWTdbManagerServiceImpl to manage variables for each user Http session. Classes CancelQueryExecutionEvent, CancelQueryExecutionEventHandler added. Pom file modified to add aslSession adding the related dependency.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99175 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-01 09:27:40 +00:00
Loredana Liccardo
f90b8a4e71
code cleaned up removing commented lines in class GxtToolbarFunctionality, GxtTreePanel, GxtBorderLayoutPanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99113 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-30 14:41:11 +00:00
Loredana Liccardo
1ba2f58cc2
- event minimize managed for dialog the contains submit result.
...
- when the dialog "tableList" is shown if the cancel button is clicked, the panel "Databases Information" is refreshed.
- In class "SessionUtil" the user has been modified from "loredana.liccardo" to "dbmanager".
- Header of the GxtBorderLayoutPanel class set to visibility=false.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99081 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-30 09:13:17 +00:00
Loredana Liccardo
e219cfcb11
- bug fixed in class GWTdbManagerServiceImpl modified adding the class ComputationOutput to manage the mapValues and the mapKey related to an algorithm computation.
...
- bug fixed for multiple submit query dialogs and associated dialog results.ID added in the header of these two dialog types (passed in the SubmitQueryEvent). "Dialog.getBody" masked and unmasked.(in GxtBorderLyoutPanel and GxtToolbarFunctionality classes)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99021 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-25 18:03:14 +00:00
Loredana Liccardo
422bb45ba7
dialog for submitQuery and related dialog result not modal.Ehen the result is retrieved the dialog submitQuery is not hidden
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98940 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-24 15:07:34 +00:00
Loredana Liccardo
7e62798189
renamed labels to show table details i the panel "Information Details" and column index removed from the dialog the shows the submitquery and samplings result.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98900 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-23 12:17:10 +00:00
Loredana Liccardo
1c4202215f
log4j added and system.out.println commented in GxtBorderLayoutPanel e GxtTreePanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98889 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-22 16:32:39 +00:00
Loredana Liccardo
c8d86470f1
gwt logger commented (client side) and relevant print checks (system.out.println()) added in the code.
...
gwt logger used in the server side.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98861 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-22 09:47:28 +00:00
Loredana Liccardo
2d4c5a5161
icons added in the tree panel for a database and a schema element
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98830 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-21 09:26:45 +00:00
Loredana Liccardo
b411ad0574
code cleaned up removing commented lines in GxtFormSubmitQuery, GxtBorderLayoutPanel and GxtTreePanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98807 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-18 15:34:26 +00:00
Loredana Liccardo
bc6775ffc5
top toolbar made disabled in the dialog that displays the tables list in order to disallow a user the table search.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98776 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-18 09:42:27 +00:00
Loredana Liccardo
38a7e3daa5
bug fixed in LoadTables of GWTdbManagerServiceImpl class and in the callback "onSucces" of the rpc LoadTables if a user inserts a table that non exist in the database. The paging display "no data are displayed" message.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98768 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-17 15:14:34 +00:00
Loredana Liccardo
4a8e86436d
images added to the remote search for the buttons search and cancel, bugs fixed in the remote search for the grid element removing the set of the state, bugs fixed in the remote search
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98746 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-17 12:37:55 +00:00
Loredana Liccardo
550dc39207
remote search implemented in the paging for the Tablelist
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98692 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-16 14:18:09 +00:00
Loredana Liccardo
421387df68
table name displayed in the panel "Database Information"
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98662 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-15 16:43:38 +00:00
Loredana Liccardo
8e9323bbd8
bug fixed in GxtBorderLayoutPanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98661 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-15 16:03:38 +00:00
Loredana Liccardo
93158b8bdc
MessageBox Info removed for TablesList
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98660 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-15 15:56:11 +00:00
Loredana Liccardo
6d73c91b9b
MessageBox Confirm removed in TableDetails e Sampling operations
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98657 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-15 15:50:10 +00:00
Loredana Liccardo
f307b54848
double click for a table edit in the table list grid and table selection managed correctly.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98603 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-14 14:06:45 +00:00
Loredana Liccardo
fee11d2183
bug fixed for operation related to the get tables list.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98597 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-14 12:59:12 +00:00
Loredana Liccardo
8b53e63c90
some bugs fixed and messagebox added for get details and sampling operations
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98589 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-14 12:20:18 +00:00
Loredana Liccardo
1adb58e887
row table editable in the grid with the correct management of the related event.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98582 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-14 08:29:10 +00:00
Loredana Liccardo
5637622fc1
SElectedTableEvent added
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98581 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-14 08:06:55 +00:00
Loredana Liccardo
6f54509bc4
bugs fixed in the Paging (with the correct management of the callback related to rpc)
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98580 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-11 18:22:24 +00:00
Loredana Liccardo
33da8115af
paging implemeneted in a dialog
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98561 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-11 10:35:26 +00:00
Loredana Liccardo
42713e33d5
bugs fixed on result size equal to 0
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98536 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-09 16:34:40 +00:00