com.belladati.sdk.dashboard.DashboardInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-api Show documentation
Show all versions of sdk-api Show documentation
The BellaDati SDK allows accessing a BellaDati server from 3rd-party applications using Java. This project contains the SDK's interface definitions.
package com.belladati.sdk.dashboard;
import java.io.IOException;
import java.util.Date;
import com.belladati.sdk.util.ResourceInfo;
/**
* Information object about a BellaDati dashboard. Use this to get
* meta-information about the dashboard. To retrieve the dashboard contents,
* call {@link #loadDetails()}.
*
* @author Chris Hennigfeld
*/
public interface DashboardInfo extends ResourceInfo {
/**
* Returns the last change date of the associated dashboard.
*
* @return the last change date of the associated dashboard, or
* null if it was never changed
*/
Date getLastChange();
/**
* Loads a thumbnail image for the associated dashboard. The Java type of
* the image being returned depends on the implementation.
*
* @return a thumbnail image for the associated dashboard
* @throws IOException if no image exists or it cannot be loaded
*/
Object loadThumbnail() throws IOException;
}