org.jboss.aerogear.android.pipeline
Interface PipeHandler<T>
- All Known Implementing Classes:
- RestRunner
public interface PipeHandler<T>
Classes which implement this interface provide the logic for how pipes
interact with services.
onRead
List<T> onRead(Pipe<T> requestingPipe)
- This method is called after a call to read. It performs the actual load of data
and returns.
- Returns:
- a List of data.
onReadWithFilter
List<T> onReadWithFilter(ReadFilter filter,
Pipe<T> requestingPipe)
onSave
T onSave(T item)
onRemove
void onRemove(String id)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.