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.tests/test/org/eclipse/birt/report/model/api/ReportItemDataRefTest.java
assertEquals( "group1", group2.getDisplayLabel( ) ); 
		Iterator iter1 = group2.filtersIterator( );
		FilterConditionHandle filter = (FilterConditionHandle) iter1.next( );
		assertEquals( "table 1 filter expression", filter.getExpr( ) ); 
		assertEquals( DesignChoiceConstants.FILTER_OPERATOR_LT, filter
				.getOperator( ) );
		iter1 = group2.sortsIterator( );
		SortKeyHandle sort = (SortKeyHandle) iter1.next( );
		assertEquals( "table 1 name", sort.getKey( ) ); 
		assertEquals( DesignChoiceConstants.SORT_DIRECTION_ASC, sort
				.getDirection( ) );
		TableHandle table1 = (TableHandle) designHandle
				.findElement( "myTable1" ); 
		TableGroupHandle group1 = (TableGroupHandle) table1.getGroups( )
				.get( 0 );
		group1.setKeyExpr( "the new expression" ); 
		assertEquals( "the new expression", group2.getKeyExpr( ) ); 
		group1.setName( "newGroup1" ); 
		assertEquals( "newGroup1", group2.getDisplayLabel( ) ); 
		
		ListHandle list1 = (ListHandle) designHandle.findElement( "myList1" ); 
		ListGroupHandle listGroup = (ListGroupHandle) list1.getGroups( )
				.get( 0 );
		assertEquals( "the new expression", listGroup.getKeyExpr( ) ); 
		assertEquals( "newGroup1", listGroup.getName( ) ); 
		assertEquals( "newGroup1", listGroup.getDisplayLabel( ) ); 
		iter1 = listGroup.filtersIterator( );
		filter = (FilterConditionHandle) iter1.next( );
		assertEquals( "table 1 filter expression", filter.getExpr( ) ); 
		assertEquals( DesignChoiceConstants.FILTER_OPERATOR_LT, filter