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, setPage
call, createFlattrService, getRateLimit, getResult, isFullMode, setAccessToken, setAccessToken, setFullMode
public GetThingsMethod()
public GetThingsMethod(UserId userId)
public List<Thing> call(FlattrService service, Integer count, Integer page) throws Exception
PaginatedFlattrCallable
call
in class PaginatedFlattrCallable<List<Thing>>
service
- Preconfigured FlattrService
to be invokedcount
- Number of elements per page, or null
page
- Page number, or null
Exception
Copyright © 2010–2017. All rights reserved.