Tags:
create new tag
view all tags

ItEr77S18ReccurrentAllocationBasic

Story summary Recurrent Allocation Basic
Iteration ItEr77Week34To44
FEA ItEr77S18ReccurrentAllocationBasic
Story Lead  
Next Story  
Passed acceptance test No

Acceptance Criteria

Additional Specification Comments

Implementation Notes

Data model to store the recurrent information

-- JavierMoran - 28 Jun 2013

I start by saving the peridiocity. I use an enum type in Hibernate and will be incorporated in the class Task in the existent component called recurrenceInformation.

It was tried to create an internal class enum but the Hibernate framework was not able to locate it. Therefore, it was refactorized to an external class org.libreplan.business.recurring.RecurrencePeriodicity.

It was also added the Liquibase information to create the new database column. Warning, important It was added a default value of 0 that has to validated as correct as default value for the recurrencePeriodicity column.

Next thing to start is to visualize and save the recurring information.

Save basic data for recurrent allocation

-- JavierMoran - 12 Jul 2013

I browsed through the code to know where the introduction of the new behavior can be inserted. Notes of the code browsing:

  • ResultAllocationModel.
    • It is invoked accept() to apply the resource allocations over the PlanningState
    • It uses the class AllocationRowsHandler to do the allocations and it returns a AllocationResult.
    • The AllocationResult is applied to the PlanningState and to the task of the ResourceAllocationModel

Delay Causes

Final or Pending Considerations

Commits

%RPSHOWGITCOMMITS%

Tasks in this story

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 12 Jul 2013 - jmoran
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback