All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.belladati.sdk.report.Report Maven / Gradle / Ivy

Go to download

The BellaDati SDK allows accessing a BellaDati server from 3rd-party applications using Java. This project contains the SDK's interface definitions.

There is a newer version: 0.9.15.1
Show newest version
package com.belladati.sdk.report;

import java.util.Date;
import java.util.List;

import com.belladati.sdk.dataset.Attribute;
import com.belladati.sdk.dataset.DataSetInfo;
import com.belladati.sdk.util.PaginatedList;
import com.belladati.sdk.util.Resource;
import com.belladati.sdk.view.View;

/**
 * A BellaDati report. A report holds a list of {@link View} objects that are
 * loaded as part of the report.
 * 
 * @author Chris Hennigfeld
 */
public interface Report extends Resource {

	/**
	 * Returns the description of this report.
	 * 
	 * @return the description of this report
	 */
	String getDescription();

	/**
	 * Returns the name of the report owner.
	 * 
	 * @return the name of the report owner
	 */
	String getOwnerName();

	/**
	 * Returns the last change date of this report.
	 * 
	 * @return the last change date of this report, or null if it was
	 *         never changed
	 */
	Date getLastChange();

	/**
	 * Returns a list of views in this report.
	 * 
	 * @return a list of views in this report
	 */
	List getViews();

	/**
	 * Returns a list of all attributes used in this report. You can use these
	 * attributes to filter the report's views.
	 * 
	 * @return a list of all attributes used in this report
	 */
	List getAttributes();

	/**
	 * Returns a paginated list to access the comments of this report.
	 * 

* Initially, the returned list is empty. Call {@link PaginatedList#load()} * to load report data. Subsequent calls to this method on a report always * return the same list. * * @return a paginated list to access the comments of this report */ PaginatedList getComments(); /** * Posts a comment to this report. To see the comment, reload the list * returned from {@link #getComments()}. * * @param text text of the comment to post */ void postComment(String text); /** * Returns the data set this report is built on. * * @return the data set this report is built on */ DataSetInfo getDataSet(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy