Interface IAppendableDataSource<T>

All Superinterfaces:
IClusterable, IDataSource<T>, IDetachable, Serializable
All Known Implementing Classes:
AppendableDataProviderAdapter

public interface IAppendableDataSource<T> extends IDataSource<T>
Extends the IDataSource interface with methods necessary to support dynamically adding data to the provider
Author:
Tom Burton
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.inmethod.grid.IDataSource

    IDataSource.IQuery, IDataSource.IQueryResult<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteRow(long index, T item)
    Function for deleting an item from the specified index of the result data
    void
    insertRow(long index, T item)
    Function for appending an item to the end of the result data

    Methods inherited from interface com.inmethod.grid.IDataSource

    model, query

    Methods inherited from interface org.apache.wicket.model.IDetachable

    detach
  • Method Details

    • insertRow

      void insertRow(long index, T item)
      Function for appending an item to the end of the result data
      Parameters:
      index - the index value to insert the new Item into
      item - Item to append to the end of the result data
    • deleteRow

      void deleteRow(long index, T item)
      Function for deleting an item from the specified index of the result data
      Parameters:
      index - the index value to delete the Item from
      item - Item to be deleted