Bug 188224 DTE should give out APIs about CrossTab filter equal value list and member value list Util.
DTE should give out APIs about CrossTab filter equal value list and member value list Util.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
QueryDefinition query = new QueryDefinition( );
		query.setUsesDetails( false );
		query.setDataSetName( cubeHandle.getDataSet( ).getQualifiedName( ) );
		List dimensions = cubeHandle.getContents( CubeHandle.DIMENSIONS_PROP );
		List metaList = new ArrayList();
		if ( dimensions != null )
		{
			for ( int i = 0; i < dimensions.size( ); i++ )
			{
				TabularDimensionHandle dimension = (TabularDimensionHandle) dimensions.get( i );
				List hiers = dimension.getContents( DimensionHandle.HIERARCHIES_PROP );
				
				assert hiers.size( ) == 1;
				TabularHierarchyHandle hierHandle = (TabularHierarchyHandle) hiers.get( 0 );
				if ( hierHandle.getDataSet( ) == null
						|| hierHandle.getDataSet( )
								.getQualifiedName( )
								.equals( cubeHandle.getDataSet( ).getQualifiedName( ) ) )
				{
					prepareLevels( query,
							hierHandle,
							metaList );
				}
				else
				{
					Iterator it = cubeHandle.joinConditionsIterator( );
					while ( it.hasNext( ) )
					{
						DimensionConditionHandle dimCondHandle = (DimensionConditionHandle) it.next( );
						if ( dimCondHandle.getHierarchy( ).equals( hierHandle ) )