Displaying Quads

Hi There!
I want to display my elements(GL_QUADS) with different options. That means, one time only the outline, next time shaded and hidden line. How can i do that??

Thanks
Juergen

Have some flag that changes
glPolygonMode between line and fill

Thank you for your quick and helpful answer!
Juergen