Modifier and Type | Method and Description |
---|---|
ThingId |
FlattrService.create(Submission thing)
Creates a new Thing.
|
void |
FlattrService.delete(ThingId thingId)
Deletes a Thing.
|
MiniThing |
FlattrService.flattr(AutoSubmission submission)
Flattrs an
AutoSubmission . |
MiniThing |
FlattrService.flattr(String url)
Flattrs a URL.
|
MiniThing |
FlattrService.flattr(ThingId thingId)
Flattrs a Thing.
|
List<Activity> |
FlattrService.getActivities(UserId user,
Activity.Type type)
Returns all
Activity of the given user ID. |
List<Category> |
FlattrService.getCategories()
Gets a list of all Flattr
Category . |
RateLimit |
FlattrService.getCurrentRateLimit()
Gets the current rate limit from the server.
|
List<Flattr> |
FlattrService.getFlattrs(ThingId thing)
Gets all
Flattr most recently posted for the given thing ID. |
List<Flattr> |
FlattrService.getFlattrs(ThingId thing,
Integer count,
Integer page)
Gets all
Flattr most recently posted for the given thing ID. |
List<Flattr> |
FlattrService.getFlattrs(UserId user)
Gets all
Flattr most recently posted by the given user ID. |
List<Flattr> |
FlattrService.getFlattrs(UserId user,
Integer count,
Integer page)
Gets all
Flattr most recently posted by the given user ID. |
List<Language> |
FlattrService.getLanguages()
Gets a list of all Flattr
Language . |
List<Activity> |
FlattrService.getMyActivities(Activity.Type type)
Returns all
Activity of the associated user. |
List<Flattr> |
FlattrService.getMyFlattrs()
Returns all
Flattr submitted by the associated user. |
List<Flattr> |
FlattrService.getMyFlattrs(Integer count,
Integer page)
Returns all
Flattr submitted by the associated user. |
User |
FlattrService.getMyself()
Gets the
User profile of the associated user. |
List<Subscription> |
FlattrService.getMySubscriptions()
Returns all
Subscription of the associated user. |
List<Thing> |
FlattrService.getMyThings()
Returns all
Thing submitted by the associated user. |
List<Thing> |
FlattrService.getMyThings(Integer count,
Integer page)
Returns all
Thing submitted by the associated user. |
Subscription |
FlattrService.getSubscription(ThingId thingId)
Returns the
Subscription of the given Thing . |
Thing |
FlattrService.getThing(ThingId thingId)
|
Thing |
FlattrService.getThingBySubmission(AutoSubmission submission)
Gets a
Thing by its autosubmit URL. |
Thing |
FlattrService.getThingByUrl(String url)
Gets a
Thing by its registered URL. |
List<Thing> |
FlattrService.getThings(Collection<? extends ThingId> thingIds)
Gets a list of
Thing by a collection of thing IDs. |
List<Thing> |
FlattrService.getThings(UserId user)
Gets a list of
Thing most recently submitted by the given user. |
List<Thing> |
FlattrService.getThings(UserId user,
Integer count,
Integer page)
Gets a list of
Thing most recently submitted by the given user. |
User |
FlattrService.getUser(UserId user)
Gets the
User profile of the given user ID. |
void |
FlattrService.pauseSubscription(ThingId thingId,
boolean paused)
Pauses or resumes a
Subscription . |
SearchResult |
FlattrService.searchThings(SearchQuery query,
Integer count,
Integer page)
Searches for
Thing . |
void |
FlattrService.subscribe(ThingId thingId)
Subscribes a
Thing . |
boolean |
FlattrService.toggleSubscription(ThingId thingId)
Toggles the pause state of the subscription of the given
Thing . |
void |
FlattrService.unsubscribe(ThingId thingId)
Cancels subscription of a
Thing . |
void |
FlattrService.update(Thing thing)
Updates a Thing.
|
Modifier and Type | Method and Description |
---|---|
Thing |
GetThingMethod.call(FlattrService service) |
Modifier and Type | Method and Description |
---|---|
Connection |
Connector.create()
Creates a new
Connection for a call with request type
RequestType.GET . |
Connection |
Connector.create(RequestType type)
Creates a new
Connection for a call with the given request type. |
Collection<FlattrObject> |
Connection.result()
Invokes the call and returns a Collection of
FlattrObject as response. |
FlattrObject |
Connection.singleResult()
Invokes the call and returns a single
FlattrObject as response. |
Modifier and Type | Method and Description |
---|---|
Connection |
FlattrConnector.create() |
Connection |
FlattrConnector.create(RequestType type) |
Collection<FlattrObject> |
FlattrConnection.result() |
FlattrObject |
FlattrConnection.singleResult() |
Modifier and Type | Class and Description |
---|---|
class |
FlattrServiceException
This exception is used when the Flattr web service returned an error.
|
class |
ForbiddenException
This exception is used when the operation is forbidden.
|
class |
NoMoneyException
This exception is thrown when the user has no sufficient funds for the operation.
|
class |
NotFoundException
This exception is thrown when the target of the service call was not found.
|
class |
RateLimitExceededException
This exception is thrown when the rate limit was exceeded.
|
class |
ValidationException
This exception is used when an argument provided to a service call was invalid.
|
Modifier and Type | Method and Description |
---|---|
ThingId |
FlattrServiceImpl.create(Submission thing) |
void |
FlattrServiceImpl.delete(ThingId thingId) |
MiniThing |
FlattrServiceImpl.flattr(AutoSubmission submission) |
MiniThing |
FlattrServiceImpl.flattr(String url) |
MiniThing |
FlattrServiceImpl.flattr(ThingId thingId) |
List<Activity> |
FlattrServiceImpl.getActivities(UserId user,
Activity.Type type) |
List<Category> |
FlattrServiceImpl.getCategories() |
RateLimit |
FlattrServiceImpl.getCurrentRateLimit() |
List<Flattr> |
FlattrServiceImpl.getFlattrs(ThingId thingId) |
List<Flattr> |
FlattrServiceImpl.getFlattrs(ThingId thingId,
Integer count,
Integer page) |
List<Flattr> |
FlattrServiceImpl.getFlattrs(UserId user) |
List<Flattr> |
FlattrServiceImpl.getFlattrs(UserId userId,
Integer count,
Integer page) |
List<Language> |
FlattrServiceImpl.getLanguages() |
List<Activity> |
FlattrServiceImpl.getMyActivities(Activity.Type type) |
List<Flattr> |
FlattrServiceImpl.getMyFlattrs() |
List<Flattr> |
FlattrServiceImpl.getMyFlattrs(Integer count,
Integer page) |
User |
FlattrServiceImpl.getMyself() |
List<Subscription> |
FlattrServiceImpl.getMySubscriptions() |
List<Thing> |
FlattrServiceImpl.getMyThings() |
List<Thing> |
FlattrServiceImpl.getMyThings(Integer count,
Integer page) |
Subscription |
FlattrServiceImpl.getSubscription(ThingId thingId) |
Thing |
FlattrServiceImpl.getThing(ThingId thingId) |
Thing |
FlattrServiceImpl.getThingBySubmission(AutoSubmission submission) |
Thing |
FlattrServiceImpl.getThingByUrl(String url) |
List<Thing> |
FlattrServiceImpl.getThings(Collection<? extends ThingId> thingIds) |
List<Thing> |
FlattrServiceImpl.getThings(UserId user) |
List<Thing> |
FlattrServiceImpl.getThings(UserId user,
Integer count,
Integer page) |
User |
FlattrServiceImpl.getUser(UserId user) |
void |
FlattrServiceImpl.pauseSubscription(ThingId thingId,
boolean paused) |
SearchResult |
FlattrServiceImpl.searchThings(SearchQuery query,
Integer count,
Integer page) |
void |
FlattrServiceImpl.subscribe(ThingId thingId) |
boolean |
FlattrServiceImpl.toggleSubscription(ThingId thingId) |
void |
FlattrServiceImpl.unsubscribe(ThingId thingId) |
void |
FlattrServiceImpl.update(Thing thing) |
Modifier and Type | Method and Description |
---|---|
FlattrObject |
Submission.toFlattrObject()
Returns the submission as
FlattrObject . |
Modifier and Type | Method and Description |
---|---|
String |
FlattrAuthenticator.authenticate()
Authenticates this application against Flattr.
|
android.content.Intent |
AndroidAuthenticator.createAuthenticateIntent()
Creates an
Intent for forwarding the user to the Flattr web page for
authentication. |
AccessToken |
FlattrAuthenticator.fetchAccessToken(String code)
Fetches an
AccessToken that gives access to the Flattr API. |
AccessToken |
AndroidAuthenticator.fetchAccessToken(android.net.Uri uri)
When the authentication was completed, your activity is resumed.
|
Copyright © 2010–2017. All rights reserved.