public class GetActivitiesMethod extends AbstractFlattrCallable<List<Activity>>
FlattrCallable for invoking
FlattrService.getActivities(UserId, org.shredzone.flattr4j.model.Activity.Type)| Constructor and Description |
|---|
GetActivitiesMethod() |
GetActivitiesMethod(UserId userId,
Activity.Type type) |
| Modifier and Type | Method and Description |
|---|---|
List<Activity> |
call(FlattrService service)
Calls the appropriate method at the service and returns the result.
|
Activity.Type |
getType() |
UserId |
getUserId() |
void |
setType(Activity.Type type) |
void |
setUserId(UserId userId) |
call, createFlattrService, getRateLimit, getResult, isFullMode, setAccessToken, setAccessToken, setFullModepublic GetActivitiesMethod()
public GetActivitiesMethod(UserId userId, Activity.Type type)
public Activity.Type getType()
public void setType(Activity.Type type)
public List<Activity> call(FlattrService service) throws Exception
AbstractFlattrCallablecall in class AbstractFlattrCallable<List<Activity>>service - Preconfigured FlattrService to be invokedExceptionCopyright © 2010–2017. All rights reserved.