Bug 176579 Expose setGroupLevel() on IGroupContent interface
Currently IGroupContent interface doesn't expose setGroupLevel() method, this is required for custom IReportItemExecutor to construct the group content. following is the suggested code change: public int getGroupLevel( ) { if ( groupLevel != -1 ) { return groupLevel; } if ( generateBy instanceof GroupDesign ) { GroupDesign design = (GroupDesign) generateBy; return design.getGroupLevel( ); } return -1; } public void setGroupLevel( int level ) { this.groupLevel = level; }
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/GroupContent.java
{
		return getBand( IBandContent.BAND_GROUP_FOOTER );
	}
	protected IBandContent getBand( int type )
	{
		if ( children == null )
		{
			return null;
		}
		Iterator iter = children.iterator( );
		while ( iter.hasNext( ) )
		{
			Object child = iter.next( );
			if ( child instanceof IBandContent )
			{
				IBandContent band = (IBandContent) child;
				if ( band.getBandType( ) == type )
				{
					return band;
				}
			}
		}
		return null;
	}
	
	public String getGroupID( )
	{
		return groupId;
	}