Ó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
Óscar González Fernández
a96e67b2f1
Use generic methods instead of methods for Dates
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
3243858c41
Convert type of constraintDate of TaskStartConstraint to LocalDate
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
79ccf427e7
Change getSmallestStartDateFromChildren result type to IntraDayDate
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
7d48bb69f2
Instead of using DateConstraint use ConstraintOnComparableValues
...
The new class, ConstraintOnComparableValues, works for any values that
are comparable. This way the functionality is easily reused for other
types.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
6320ca75f3
Do not use ConstraintDate directly in CriticalPathCalculator
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
dc8fce0f09
Add generic type
...
This fixes the compiler warning
FEA: ItEr61S05BugFixing
2010-10-07 01:44:46 +02:00
Óscar González Fernández
d5efa31def
Change types to GanttDate in IDependenciesEnforcerHook and INotificationAfterDependenciesEnforcement
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:44:46 +02:00
Óscar González Fernández
5dd8420017
Fix bug in comparison of GanttDates
...
The byCases statement must be executed in the argument.
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-07 01:39:44 +02:00
Óscar González Fernández
85e34c0d77
Fix bug
...
The provided date can be null.
FEA: ItEr61S05BugFixing
2010-10-07 01:39:44 +02:00
Jacobo Aragunde Pérez
0e3788975f
Prevent getHoursAdvanceEndDate() to call calculateLimitDate(Integer) for TaskGroups.
...
That call made the system load all the DayAssignments for children tasks.
FEA: ItEr61S03RFPerformanceCompanyView
2010-10-06 17:57:28 +02:00
Óscar González Fernández
6c61f36d28
ITaskFundamentalProperties now works with GanttDates
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 14:29:11 +02:00
Óscar González Fernández
07df77601f
Allow to specify a IntraDayDate when resizing a task
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
6cc0c37ca4
Allow to specify an IntraDayDate when moving a Task
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
910b4eafea
Add GanttDate class and an adapter for business
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-06 13:35:27 +02:00
Óscar González Fernández
07be2df27e
Remove unused fields
...
FEA: ItEr61S05BugFixing
2010-10-05 21:48:36 +02:00
Óscar González Fernández
bc84bd7729
Use Collections methods max and min to retrieve the smallest and biggest value
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-05 21:48:36 +02:00
Óscar González Fernández
55e6cc458d
Rename method in order to be less confusing
...
FEA: ItEr61S08TimeUnitConfigurablePlanning
2010-10-05 12:19:32 +02:00
Óscar González Fernández
9d072fda1f
Reload the snapshots only once the transaction has been completed successfully
...
FEA: ItEr61S05BugFixing
2010-10-03 19:38:17 +02:00