return doValidate( module, element, isAddListing );
List errors = doValidate( module, element, isAddListing ); if ( !errors.isEmpty( ) ) { errors.clear( ); errors .add( new ContentException( element, slotId, toAdd, ContentException.DESIGN_EXCEPTION_INVALID_CONTEXT_CONTAINMENT ) ); } return errors;
	public List validateForAdding( Module module, DesignElement element,			int slotId, DesignElement toAdd )	{		boolean isAddListing = false;		if ( toAdd instanceof ListingElement				|| ModelUtil.containElement( toAdd,						ReportDesignConstants.LISTING_ITEM ) )			isAddListing = true;		return doValidate( module, element, isAddListing );	}