public class ProductsServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements ProductsService
Constructor and Description |
---|
ProductsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteProduct(String serverUrl,
ViewProduct product) |
com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewProduct> |
getProduct(String serverUrl,
String guid)
Get a default set of products.
|
static String |
indexToColumnName(int index)
Convert index to column name
NOTE: This is a hack to deal with the fact that the request object only
knows the column index of any sort.
|
com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewProduct> |
requestRows(String serverUrl,
com.google.gwt.gen2.table.client.TableModelHelper.Request request,
Map<String,String> filters)
Retrieve a set of products from the registry with the given request
parameters.
|
boolean |
updateProduct(String serverUrl,
ViewProduct product) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewProduct> getProduct(String serverUrl, String guid)
getProduct
in interface ProductsService
public boolean updateProduct(String serverUrl, ViewProduct product)
updateProduct
in interface ProductsService
public boolean deleteProduct(String serverUrl, ViewProduct product)
deleteProduct
in interface ProductsService
public com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewProduct> requestRows(String serverUrl, com.google.gwt.gen2.table.client.TableModelHelper.Request request, Map<String,String> filters)
requestRows
in interface ProductsService
request
- number of rows, offset and sortfilters
- filter and search paramspublic static String indexToColumnName(int index)
gov.nasa.pds.registry.ui.client.Registry_ui#createTableDefinition()
Copyright © 2010–2016 Planetary Data System. All rights reserved.