public class GetFlattrsMethod extends PaginatedFlattrCallable<List<Flattr>>
Constructor and Description |
---|
GetFlattrsMethod() |
GetFlattrsMethod(ThingId thingId) |
GetFlattrsMethod(UserId userId) |
Modifier and Type | Method and Description |
---|---|
List<Flattr> |
call(FlattrService service,
Integer count,
Integer page)
Calls the appropriate method at the service and returns the result.
|
ThingId |
getThingId() |
UserId |
getUserId() |
void |
setThingId(ThingId thingId) |
void |
setUserId(UserId userId) |
call, getCount, getPage, setCount, setPage
call, createFlattrService, getRateLimit, getResult, isFullMode, setAccessToken, setAccessToken, setFullMode
public GetFlattrsMethod()
public GetFlattrsMethod(ThingId thingId)
public GetFlattrsMethod(UserId userId)
public ThingId getThingId()
public void setThingId(ThingId thingId)
public List<Flattr> call(FlattrService service, Integer count, Integer page) throws Exception
PaginatedFlattrCallable
call
in class PaginatedFlattrCallable<List<Flattr>>
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.