Óscar González Fernández
dfd824cfd2
Improve error reporting for snapshots
...
If an error was produced calculating a snapshot, the error was
reported when the snapshot was retrieved. Now the error is also
reported as soon it happens.
FEA: ItEr62S05BugFixing
2010-10-11 20:54:44 +02:00
Óscar González Fernández
8364d68019
Remove asDurationOn(LocalDate, ResourcesPerDay)
...
It's removed in interface and implementations.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 19:42:03 +02:00
Óscar González Fernández
e8cc8df75e
Remove uses of asDurationOn(LocalDate, ResourcesPerDay)
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 19:42:03 +02:00
Óscar González Fernández
be70db9c8a
Remove use of method generateDayAssignments
...
daysUntil is used with its improved condition support
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 19:42:02 +02:00
Óscar González Fernández
04a0abf05b
Refactor daysUntil to allow more control for exit condition
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 19:40:52 +02:00
Óscar González Fernández
5a5b34f16e
Refactor sumDurationUntil to use daysUntil method
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 19:40:52 +02:00
Óscar González Fernández
abe536b1ea
Mark subclass methods as Deprecated too
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 19:40:47 +02:00
Óscar González Fernández
38470ffd12
Fix semantics of IntraDayDate#limitDuration
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
7157e616ac
Remove method getCapacityOn(LocalDate) since it's no longer used
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
27db439362
Refactor method using PartialDay#daysUntil
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
dc68867413
Replace uses of getCapacityOn(LocalDate) for getCapacityOn(PartialDay)
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
698077dd18
Use getCalendarOrDefault to avoid null check
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
50a16bc480
Refactor getTotalWorkHoursFor using daysUntil
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
5e07dbb364
Refactor several methods using daysUntil method
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Óscar González Fernández
fcd0e63316
Mark as deprecated methods that receive a LocalDate
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-11 14:03:13 +02:00
Jacobo Aragunde Pérez
2dccc768b1
[Bug #669 ] Fixed bug.
...
The load of the plannergraph in the JS side is delayed until the moment of the
scroll, instead of being loaded in the beginning, when it could be unavailable.
FEA: ItEr61S05BugFixing
2010-10-11 12:51:42 +02:00
Jacobo Aragunde Pérez
1dd02b4149
[Bug #674 ] Sorted the tasks by start date before showing them in the company screen.
...
FEA: ItEr61S05BugFixing
2010-10-08 19:54:21 +02:00
Óscar González Fernández
957f378bc1
Showing correctly the tasks when they start or end inside of a day
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 17:30:23 +02:00
Óscar González Fernández
2efb683984
Rename method to reflect better meaning
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 17:30:23 +02:00
Óscar González Fernández
5afea4ffb1
Use PartialDay for doing allocations
...
Now the start date used is the intra day one so the allocations are
more precise.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 17:29:30 +02:00
Diego Pino Garcia
1ee7b2d536
Fix NullPointerException try to convert null LocalDate to Date in TaskStartConstraint
...
Select a new StartConstraintType in TaskProperties lunches a
NullPointerException
FEA: ItEr61S05BugFixing
2010-10-08 15:31:52 +02:00
Jacobo Aragunde Pérez
88a2929a75
[Bug #673 ] Fixed bug.
...
Since sumOfHoursAllocated attribute isn't updated until the order is saved,
the status didn't change from unassigned in real time.
Now it checks the list of ResourceAllocations to know the status when we
are in the project gantt screen, and still uses sumOfHoursAllocated from
company screen.
FEA: ItEr61S05BugFixing
2010-10-08 14:50:40 +02:00
Jacobo Aragunde Pérez
74d59a5842
[Bug #667 ] Unify some criteria between the algorithms in calculateLimitDate(BigDecimal) and calculateLimitDate(Integer).
...
Now an extra day is added in the end of the process in both algorithms.
FEA: ItEr61S05BugFixing
2010-10-08 14:24:39 +02:00
Jacobo Aragunde Pérez
4afcf6434b
[Bug #667 ] The value of the advance bar is retrieved correctly again.
...
FEA: ItEr61S05BugFixing
2010-10-08 14:12:18 +02:00
Lorenzo Tilve
e99bccab15
Improved presentation of grids and filtering in resources listings
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:16 +02:00
Lorenzo Tilve
e5e0e4df58
Enabled deletion of unreferenced criterionTypes
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:15 +02:00
Lorenzo Tilve
3d9c9c3fce
Enabled deletion of unreferenced criteria
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:15 +02:00
Lorenzo Tilve
6824272a79
Made Criterion shortByName method case-insensitive
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:15 +02:00
Lorenzo Tilve
52a5fe60e3
Given support to CriterionsModel to check if criterion is erasable
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:15 +02:00
Lorenzo Tilve
0da01a3600
Minor graphical fixes to criteria tree edition
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:15 +02:00
Lorenzo Tilve
c43f4ab7a5
Criteria tree element is alphabetically sorted when loaded for edition
...
FEA: ItEr61S05BugFixing
2010-10-08 10:42:15 +02:00
Lorenzo Tilve
84313c672a
Corrected tooltip link in advanced resources allocation
...
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-10-08 10:41:55 +02:00
Óscar González Fernández
e8dd2bc7b7
Return an IntraDayDate instead of a LocalDate for getFirstDayNotConsolidated
...
Extracting method at ResourceAllocation to make the change easier.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:50 +02:00
Óscar González Fernández
e7d72efdb8
Add asDurationOn based on PartialDay to ICalendar
...
The asDurationOn methods based on LocalDate call the new ones based on
PartialDay, providing a PartialDay representing a whole day.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:50 +02:00
Óscar González Fernández
a1b2b04376
Add method getCapacityOn for PartialDates to ICalendar and implementors
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:50 +02:00
Óscar González Fernández
154c6b3a5c
Add method for creating a PartialDay elapsing the whole day
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:50 +02:00
Óscar González Fernández
e3950c997e
Remove unused method
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:50 +02:00
Óscar González Fernández
571969926f
Remove no needed if
...
FEA: ItEr61S05BugFixing
2010-10-08 02:36:50 +02:00
Óscar González Fernández
b7ff56c128
Use method at EffortDuration in order to simplify expression
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:50 +02:00
Óscar González Fernández
dae8be725c
Add method to limit an EffortDuration
...
It considers the start and end values of IntraDayDate.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:49 +02:00
Óscar González Fernández
5308dab6c3
Add method daysUntil to IntraDayDate
...
It returns the days that are in the interval.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:49 +02:00
Óscar González Fernández
88f9d7a58c
Improve toString in order to be more clear
...
FEA: ItEr61S05BugFixing
2010-10-08 02:36:49 +02:00
Óscar González Fernández
d7a401854b
Change return type of getConsolidatedline to GanttDate
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:49 +02:00
Óscar González Fernández
5a38aa9a64
Remove unused method
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-08 02:36:49 +02:00
Jacobo Aragunde Pérez
7c2fcf7858
[Bug #670 ] Compare sumOfHoursAllocated with 0 to know if there were any assigments in TaskElement.getAssignedStatus().
...
With this change, ResourceAllocations aren't loaded anymore in
simplified calculation.
FEA: ItEr61S05BugFixing
2010-10-07 20:57:17 +02:00
Jacobo Aragunde Pérez
1161a3181f
[Bug #670 ] Added a simplified calculation algorithm for TaskElement.getAssignedStatus().
...
The simplified version has only two states: 'assigned' if the task has
ResourceAllocations, or 'unassigned' otherwise.
The simplified version is necessary for the Company View screen to avoid
excessive data loads from DB. There is a flag to set/unset it.
FEA: ItEr61S05BugFixing
2010-10-07 20:57:17 +02:00
Jacobo Aragunde Pérez
8a2f913b89
[Bug #671 ] Fixed bug, adding a null check before calling inner methods.
...
FEA: ItEr61S05BugFixing
2010-10-07 20:53:50 +02:00
Jacobo Aragunde Pérez
79425a183f
Reimplemented getHoursAdvancePercentage() to avoid calling OrderElementDAO.getHoursAdvancePercentage().
...
The DAO method makes recursive calls over all the children of the order.
The reimplementation uses the pre-calculated data on the TaskElement to
prevent recursive calls.
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-07 13:15:07 +02:00
Jacobo Aragunde Pérez
222c966f20
Changed getHoursAdvanceEndDate() to get the number of hours allocated directly from the TaskElement.
...
The previous implementation invoked OrderElement.getWorkHours(),
which was called recursively for all its children.
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-07 13:15:06 +02:00
Óscar González Fernández
31a5eb4c25
Use GanttDates in GanttDiagramGraph when enforcing constraints and dependencies
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00