public class PackageServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements PackageService
Constructor and Description |
---|
PackageServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
deletePackage(String serverUrl,
ViewRegistryPackage registryPackage) |
String |
getRemotePassword() |
String |
getRemoteUser() |
String |
getSessionId() |
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<ViewRegistryPackage> |
requestRows(String serverUrl,
com.google.gwt.gen2.table.client.TableModelHelper.Request request,
Map<String,String> filters)
Retrieve a set of package from the registry with the given request
parameters.
|
boolean |
updatePackage(String serverUrl,
ViewRegistryPackage registryPackage) |
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<ViewRegistryPackage> requestRows(String serverUrl, com.google.gwt.gen2.table.client.TableModelHelper.Request request, Map<String,String> filters)
requestRows
in interface PackageService
request
- number of rows, offset and sortfilters
- filter and search paramspublic boolean updatePackage(String serverUrl, ViewRegistryPackage registryPackage)
updatePackage
in interface PackageService
public boolean deletePackage(String serverUrl, ViewRegistryPackage registryPackage)
deletePackage
in interface PackageService
public static String indexToColumnName(int index)
gov.nasa.pds.registry.ui.client.Registry_ui#createTableDefinition()
public String getRemoteUser()
getRemoteUser
in interface PackageService
public String getRemotePassword()
getRemotePassword
in interface PackageService
public String getSessionId()
getSessionId
in interface PackageService
Copyright © 2010–2015 Planetary Data System. All rights reserved.