related to issue 31856: remove comment and add missing javadoc descriptions
authorCarlos Aristu <carlos.aristu@openbravo.com>
Tue, 26 Jan 2016 12:57:37 +0100
changeset 28545 55b87803d2f4
parent 28544 17c442ff5b2b
child 28546 bf85e00422d0
related to issue 31856: remove comment and add missing javadoc descriptions
modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TreeTablesEventHandler.java
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TreeTablesEventHandler.java	Tue Jan 26 10:30:45 2016 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TreeTablesEventHandler.java	Tue Jan 26 12:57:37 2016 +0100
@@ -64,7 +64,6 @@
   private static final String TREENODE_STRUCTURE = "ADTree";
   private static final String LINKTOPARENT_STRUCTURE = "LinkToParent";
   private static final String CUSTOM_STRUCTURE = "Custom";
-  // private static final String CUSTOM_STRUCTURE = "Custom";
   private static Logger logger = LoggerFactory.getLogger(TreeTablesEventHandler.class);
 
   @Inject
--- a/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java	Tue Jan 26 10:30:45 2016 +0100
+++ b/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java	Tue Jan 26 12:57:37 2016 +0100
@@ -173,8 +173,10 @@
 
   /**
    * @param parameters
+   *          a map with the parameters of the request
    * @param datasourceParameters
-   *          specific datasource parameters
+   *          specific datasource parameters obtained using method
+   *          {@link #getDatasourceSpecificParams(Map)}
    * @param parentId
    *          id of the node whose children are to be retrieved
    * @param hqlWhereClause
--- a/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java	Tue Jan 26 10:30:45 2016 +0100
+++ b/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/TreeDatasourceService.java	Tue Jan 26 12:57:37 2016 +0100
@@ -760,8 +760,12 @@
 
   /**
    * @param parameters
+   *          a map with the parameters of the request
    * @param datasourceParameters
+   *          specific datasource parameters obtained using method
+   *          {@link #getDatasourceSpecificParams(Map)}
    * @param nodeId
+   *          id of the tree node
    * @return returns a json object with the definition of a node give its record id
    */
   protected abstract JSONObject getJSONObjectByRecordId(Map<String, String> parameters,
@@ -769,8 +773,12 @@
 
   /**
    * @param parameters
+   *          a map with the parameters of the request
    * @param datasourceParameters
+   *          specific datasource parameters obtained using method
+   *          {@link #getDatasourceSpecificParams(Map)}
    * @param nodeId
+   *          id of the tree node
    * @return returns a json object with the definition of a node give its node id
    */
   protected abstract JSONObject getJSONObjectByNodeId(Map<String, String> parameters,
@@ -779,6 +787,7 @@
   /**
    * 
    * @param parameters
+   *          a map with the parameters of the request
    * @param datasourceParameters
    *          specific datasource parameters
    * @param parentId