Bug 212497 Need api to get all referencable report item with cube
Need model provide new api to return all referencable report items for dataset or cube respectively. For instance: getAvailableDataSetBindingReferenceList(); getAvailableCubeBindingReferenceList(); also keep current api: getAvailableDataBindingReferenceList().
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java
private List generateHandleList( List elementList )
	{
		List handleList = new ArrayList( );
		Iterator iter = elementList.iterator( );
		while ( iter.hasNext( ) )
		{
			DesignElement element = (DesignElement) iter.next( );
			Module root = element.getRoot( );
			assert root != null;
			handleList.add( element.getHandle( root ) );
		}
		return handleList;
	}
	/**
	 * Returns the libraries this report design includes directly or indirectly.
	 * Each in the returned list is the instance of <code>LibraryHandle</code>.
	 * 
	 * @return the libraries this report design includes directly or indirectly.
	 */
	public List getAllLibraries( )
	{
		return getLibraries( IAccessControl.ARBITARY_LEVEL );
	}
	/**
	 * Returns included libaries this report design includes directly or
	 * indirectly within the given depth.
	 * 
	 * @param level
	 *            the given depth
	 * @return list of libraries.