As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
// Execute the query to get all devies QueryResult queryResult = repositoryService.query( ClientConstants.STORE, devicesQuery, true); // Display the results ResultSet resultSet = queryResult.getResultSet(); ResultSetRow[] rows = resultSet.getRows(); if (rows == null) { logger.error( "No Devices found!!! Can it be ??"); } else { for ( int i = 0; i < rows.length; i++) { h = General.getStringQueryResults( rows); String deviceId = h.get( ClientConstants.DEVICE_ID); if ( deviceId == null || deviceId.equals( ClientConstants.STR_EMPTY)) continue; String[] devicesParameters = new String[2]; //first place is for default devie name devicesParameters[0] = new String( h.get( ClientConstants.DEFAULT_DEVICE)); //second place fo user agent devicesParameters[1] = new String( h.get( ClientConstants.USER_AGENT)); tmpDevices.put( deviceId, devicesParameters); logger.debug( "Device Loaded. Device Id=" + deviceId + ", default device=" + devicesParameters[0] + ", user agent=" + devicesParameters[1]); }//for }//if-else