public class GetThingsMethod extends PaginatedFlattrCallable<List<Thing>>
FlattrCallable for invoking FlattrService.getThings(UserId)| Constructor and Description |
|---|
GetThingsMethod() |
GetThingsMethod(UserId userId) |
| Modifier and Type | Method and Description |
|---|---|
List<Thing> |
call(FlattrService service,
Integer count,
Integer page)
Calls the appropriate method at the service and returns the result.
|
UserId |
getUserId() |
void |
setUserId(UserId userId) |
call, getCount, getPage, setCount, setPagecall, createFlattrService, getRateLimit, getResult, isFullMode, setAccessToken, setAccessToken, setFullModepublic GetThingsMethod()
public GetThingsMethod(UserId userId)
public List<Thing> call(FlattrService service, Integer count, Integer page) throws Exception
PaginatedFlattrCallablecall in class PaginatedFlattrCallable<List<Thing>>service - Preconfigured FlattrService to be invokedcount - Number of elements per page, or nullpage - Page number, or nullExceptionCopyright © 2010–2017. All rights reserved.