public class AssociationTableModel extends com.google.gwt.gen2.table.client.MutableTableModel<ViewAssociation>
Constructor and Description |
---|
AssociationTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String key,
java.lang.String value)
Add a filter condition
|
void |
clearFilters()
Clear filters prior to new request
|
void |
getProduct(java.lang.String guid,
com.google.gwt.user.client.rpc.AsyncCallback<com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewProduct>> asyncCallback) |
protected boolean |
onRowInserted(int beforeRow) |
protected boolean |
onRowRemoved(int row) |
protected boolean |
onSetRowValue(int row,
ViewAssociation rowValue) |
void |
requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request,
com.google.gwt.gen2.table.client.TableModel.Callback<ViewAssociation> callback)
Get rows from table as necessary.
|
void |
setServerUrl(java.lang.String serverUrl) |
addRowInsertionHandler, addRowRemovalHandler, addRowValueChangeHandler, insertRow, removeRow, setRowValue
public void setServerUrl(java.lang.String serverUrl)
public void addFilter(java.lang.String key, java.lang.String value)
key
- filter namevalue
- filter valuepublic void clearFilters()
public void requestRows(com.google.gwt.gen2.table.client.TableModelHelper.Request request, com.google.gwt.gen2.table.client.TableModel.Callback<ViewAssociation> callback)
requestRows
in class com.google.gwt.gen2.table.client.TableModel<ViewAssociation>
request
- request containing paging and sort infocallback
- callback function to handle the responsepublic void getProduct(java.lang.String guid, com.google.gwt.user.client.rpc.AsyncCallback<com.google.gwt.gen2.table.client.TableModelHelper.SerializableResponse<ViewProduct>> asyncCallback)
protected boolean onRowInserted(int beforeRow)
onRowInserted
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewAssociation>
protected boolean onRowRemoved(int row)
onRowRemoved
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewAssociation>
protected boolean onSetRowValue(int row, ViewAssociation rowValue)
onSetRowValue
in class com.google.gwt.gen2.table.client.MutableTableModel<ViewAssociation>
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.