class BellaDatiServiceImpl extends Object implements com.belladati.sdk.BellaDatiService
| Modifier and Type | Field and Description |
|---|---|
(package private) BellaDatiClient |
client |
(package private) TokenHolder |
tokenHolder |
| Constructor and Description |
|---|
BellaDatiServiceImpl(BellaDatiClient client,
TokenHolder tokenHolder) |
| Modifier and Type | Method and Description |
|---|---|
(package private) com.belladati.httpclientandroidlib.client.utils.URIBuilder |
appendFilter(com.belladati.httpclientandroidlib.client.utils.URIBuilder builder,
Collection<com.belladati.sdk.filter.Filter<?>> filters)
Appends a filter parameter from the given filters to the URI builder.
|
com.belladati.sdk.util.CachedList<com.belladati.sdk.report.AttributeValue> |
getAttributeValues(String reportId,
String attributeCode) |
com.belladati.sdk.util.PaginatedIdList<com.belladati.sdk.dashboard.DashboardInfo> |
getDashboardInfo() |
com.belladati.sdk.util.PaginatedList<com.belladati.sdk.report.Comment> |
getReportComments(String reportId) |
com.belladati.sdk.util.PaginatedIdList<com.belladati.sdk.report.ReportInfo> |
getReportInfo() |
com.belladati.sdk.dashboard.Dashboard |
loadDashboard(String id) |
Object |
loadDashboardThumbnail(String id) |
(package private) com.fasterxml.jackson.databind.JsonNode |
loadJson(String uri)
Convenience method for other parts of the implementation to easily load
data through the API.
|
com.belladati.sdk.report.Report |
loadReport(String id) |
Object |
loadReportThumbnail(String reportId) |
com.belladati.sdk.user.User |
loadUser(String userId) |
Object |
loadUserImage(String userId) |
Object |
loadViewContent(String viewId,
com.belladati.sdk.view.ViewType viewType,
Collection<com.belladati.sdk.filter.Filter<?>> filters) |
Object |
loadViewContent(String viewId,
com.belladati.sdk.view.ViewType viewType,
com.belladati.sdk.filter.Filter<?>... filters) |
void |
postComment(String reportId,
String text) |
String |
toString() |
final BellaDatiClient client
final TokenHolder tokenHolder
BellaDatiServiceImpl(BellaDatiClient client, TokenHolder tokenHolder)
public com.belladati.sdk.util.PaginatedIdList<com.belladati.sdk.dashboard.DashboardInfo> getDashboardInfo()
getDashboardInfo in interface com.belladati.sdk.BellaDatiServicepublic com.belladati.sdk.dashboard.Dashboard loadDashboard(String id)
loadDashboard in interface com.belladati.sdk.BellaDatiServicepublic Object loadDashboardThumbnail(String id) throws IOException
loadDashboardThumbnail in interface com.belladati.sdk.BellaDatiServiceIOExceptionpublic com.belladati.sdk.util.PaginatedIdList<com.belladati.sdk.report.ReportInfo> getReportInfo()
getReportInfo in interface com.belladati.sdk.BellaDatiServicepublic com.belladati.sdk.report.Report loadReport(String id)
loadReport in interface com.belladati.sdk.BellaDatiServicepublic Object loadReportThumbnail(String reportId) throws IOException
loadReportThumbnail in interface com.belladati.sdk.BellaDatiServiceIOExceptioncom.fasterxml.jackson.databind.JsonNode loadJson(String uri)
uri - URI to contactpublic com.belladati.sdk.util.PaginatedList<com.belladati.sdk.report.Comment> getReportComments(String reportId)
getReportComments in interface com.belladati.sdk.BellaDatiServicepublic void postComment(String reportId, String text)
postComment in interface com.belladati.sdk.BellaDatiServicepublic Object loadViewContent(String viewId, com.belladati.sdk.view.ViewType viewType, com.belladati.sdk.filter.Filter<?>... filters)
loadViewContent in interface com.belladati.sdk.BellaDatiServicepublic Object loadViewContent(String viewId, com.belladati.sdk.view.ViewType viewType, Collection<com.belladati.sdk.filter.Filter<?>> filters)
loadViewContent in interface com.belladati.sdk.BellaDatiServicecom.belladati.httpclientandroidlib.client.utils.URIBuilder appendFilter(com.belladati.httpclientandroidlib.client.utils.URIBuilder builder,
Collection<com.belladati.sdk.filter.Filter<?>> filters)
builder - the builder to append tofilters - filters to appendpublic com.belladati.sdk.util.CachedList<com.belladati.sdk.report.AttributeValue> getAttributeValues(String reportId, String attributeCode)
getAttributeValues in interface com.belladati.sdk.BellaDatiServicepublic com.belladati.sdk.user.User loadUser(String userId)
loadUser in interface com.belladati.sdk.BellaDatiServicepublic Object loadUserImage(String userId) throws IOException
loadUserImage in interface com.belladati.sdk.BellaDatiServiceIOExceptionCopyright © 2014. All rights reserved.