Package org.nxplanner.domain.repository

Examples of org.nxplanner.domain.repository.IterationRepository


        Iteration secondNonWritableIteration = newIteration(project2);
       
        commitCloseAndOpenSession();

        Authorizer authorizer = new AuthorizerImpl();
        IterationRepository dao = new IterationRepository(session, authorizer, person.getId());
        List list = dao.fetchEditableIterations();

        ArrayAssert.assertEquals("iterations returned", new Iteration[] {firstWritableIteration, secondWritableIteration}, list.toArray());
    }
View Full Code Here


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));
View Full Code Here

TOP

Related Classes of org.nxplanner.domain.repository.IterationRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.