public class IterationOptionsTag extends OptionsTag
{
protected List getOptions() throws HibernateException, AuthenticationException
{
IterationRepository dao = new IterationRepository(getSession(), getAuthorizer(), getLoggedInUserId());
List iterations = dao.fetchEditableIterations();
List options = new ArrayList();
for (int i = 0; i < iterations.size(); i++)
{
Iteration it = (Iteration) iterations.get(i);
options.add(new IterationModel(it));