/*******************************************************************************
 * Copyright (c) 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/

package org.eclipse.birt.report.engine.api.script.element;


/**
 * Represents the design of an Listing in the scripting environment
 * 
 */
public interface IListing extends IReportItem
{

	/**
	 * Returns all filter conditions
	 * 
	 * @return all filter conditions
	 */
	IFilterCondition[] getFilterConditions( );

	/**
	 * Adds filter condition
	 * 
	 * @param filter
	 * @throws ScriptException
	 */
	//void addFilterConditin( IFilterCondition filter ) throws ScriptException;

	/**
	 * Returns all sort conditions.
	 * 
	 * @return all sort conditions.
	 */
	ISortCondition[] getSortConditions( );

	/**
	 * Adds sort condition
	 * 
	 * @param sort
	 * @throws ScriptException
	 */
	//void addSortCondition( ISortCondition sort ) throws ScriptException;
}
