Commit graph

4600 commits

Author SHA1 Message Date
Óscar González Fernández
f7ec08f6ba [Bug #644] Add new location criterion type for machines
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-17 17:41:58 +02:00
Óscar González Fernández
276c152961 [Bug #644] Not allow resource type.
It's necessary to execute this statement to migrate previous criterion
types associated with resource.
update criteriontype set resource = resource -1 where resource > 0;

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-17 17:41:58 +02:00
Óscar González Fernández
1131c504c6 Remove resetGenericAssignments method
It was confusing since generic is a name also used in
GenericResourceAllocation and GenericDayAssignment.

FEA: ItEr60S19TimeUnitDataType
2010-09-16 21:49:06 +02:00
Óscar González Fernández
b4e18f2ed8 Add property endDateWithinADay in order to calculate correctly resources per day
FEA: ItEr60S19TimeUnitDataType
2010-09-16 21:49:06 +02:00
Óscar González Fernández
c0b64a0bef Define an order relationship for TaskDates
FEA: ItEr60S19TimeUnitDataType
2010-09-16 19:15:07 +02:00
Óscar González Fernández
f63248e7d5 Don't modify the received list and rename method name
FEA: ItEr60S19TimeUnitDataType
2010-09-16 17:41:28 +02:00
Óscar González Fernández
aa8cb7e84c Remove unnecessary cast
FEA: ItEr60S19TimeUnitDataType
2010-09-16 13:41:34 +02:00
Óscar González Fernández
dd03e4ea35 Document class so it's easier to understand purpose
FEA: ItEr60S19TimeUnitDataType
2010-09-16 12:43:09 +02:00
Óscar González Fernández
7c88e71722 Rename classes to do currying of arguments to less esoteric names
FEA: ItEr60S19TimeUnitDataType
2010-09-16 12:43:09 +02:00
Óscar González Fernández
7e317b6dff Document class so it's easier to understand purpose
FEA: ItEr60S19TimeUnitDataType
2010-09-16 12:42:53 +02:00
Óscar González Fernández
9fe1a8d943 Rename method to better name
FEA: ItEr60S19TimeUnitDataType
2010-09-15 20:45:10 +02:00
Óscar González Fernández
846c3a040d Add toString
This way EffortDuration is more descriptive

FEA: ItEr60S19TimeUnitDataType
2010-09-15 20:34:01 +02:00
Óscar González Fernández
85d0caf22c Rename IWorkHours to ICalendar
IWorkHours no longer works with hours so its name was confusing.

FEA: ItEr60S19TimeUnitDataType
2010-09-15 20:13:55 +02:00
Óscar González Fernández
30bcdb2573 Inline getTaskCalendar method
FEA: ItEr60S19TimeUnitDataType
2010-09-15 18:41:22 +02:00
Óscar González Fernández
ad08434ea3 Remove unnecessary indirection
FEA: ItEr60S19TimeUnitDataType
2010-09-15 18:38:08 +02:00
Óscar González Fernández
892c159330 Change thereAreHoursOn to receive a duration
The method is renamed too to reflect better its new meaning.

FEA: ItEr60S19TimeUnitDataType
2010-09-15 18:15:56 +02:00
Óscar González Fernández
b406ba32ca Remove uses of deprecated toHours method
Since it's no longer used, it's removed too.

FEA: ItEr60S19TimeUnitDataType
2010-09-15 17:27:15 +02:00
Óscar González Fernández
4e697d5c5d Convert withHours method to withDuration method
FEA: ItEr60S19TimeUnitDataType
2010-09-15 16:41:50 +02:00
Óscar González Fernández
ff38c78835 Deprecate toHours method. Add asDurationOn method instead
FEA: ItEr60S19TimeUnitDataType
2010-09-15 13:46:53 +02:00
Óscar González Fernández
7feef61085 Remove getDurationAt deprecated method
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:46:44 +02:00
Óscar González Fernández
87ff9eb29a Change untilAllocating algorithm to use EffortDurations instead of hours
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:31:42 +02:00
Óscar González Fernández
a6d5ae9743 Use fractions instead of BigDecimals in ProportionalDistributor for better precision
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:31:42 +02:00
Óscar González Fernández
cf80afb8ad First changes to use EffortDuration in allocation algorithms
FEA: ItEr60S19TimeUnitDataType
2010-09-15 12:28:45 +02:00
Óscar González Fernández
efa58a5b88 Make the sum of durations of day assigments return an EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
a523391ce0 Make calculateResourcesPerDayFromAssignments use EffortDuration instead of hours
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
b6ef514f21 Make IAssignedHoursForResource return a duration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
820b686bf9 Make the prefered method of building a DayAssignment to specify the EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
f53a002d15 Move min method to EffortDuration
FEA: ItEr60S19TimeUnitDataType
2010-09-15 11:50:42 +02:00
Óscar González Fernández
fcbf40bea1 Remove deprecated uses. Use roundToHours methods
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-15 11:50:42 +02:00
Susana Montes Pedreira
f53eaa0188 [Bug #635] it adds a new method to reset the values of the finder.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-13 17:10:51 +02:00
Susana Montes Pedreira
149b293001 [Bug #627] it sends the subcontracted advance notification correctly.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-13 16:05:43 +02:00
Diego Pino Garcia
dadac02180 Adds extra cache of class validators in HibernateValidator.ClassValidator
The method getClassValidator() in HibernateValidator.ClassValidator tries
to find in a Map a previously created ClassValidator. In case it doesn't
exist, the method instances a new ClassValidator but doesn't cache it.

The operation of creating a new ClassValidator is expensive, 3 ms
aproximately. When an Order is saved this method is executed many times
(around 20000 times). Validators for objects of type ArrayList, PersistenSet,
Collections$UnmodifiableCollection are created each time. As an outcome,
the process of validating is remarkably slow (around 10 seconds).

This patch adds a new class NavalPlanClassValidator, which is a verbatim
copy of HibernateValidatorClassValidator, but it adds an extra cache for
ClassValidators created in getClassValidator().

FEA: ItEr60S18CambiosPantallaArbolPedido
2010-09-13 10:07:51 +02:00
Diego Pino Garcia
8450b98dd0 [Bug #642] Material search form isn't working
The filter searches for materials which are enabled (disabled == false).
When a material is created its disabled field is NULL, so the search
fails.

It's necessary to updated table 'material' in DB:

UPDATE material SET disabled = false;

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-12 22:13:28 +02:00
Óscar González Fernández
1d34ad3549 Improve logging for cancellations and errors
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-12 17:53:08 +02:00
Óscar González Fernández
a7bc4d43eb Report some statistics and execution times for snapshot creation
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-12 17:50:35 +02:00
Lorenzo Tilve
44fde9421b Fixed graphical problems in quality forms
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 20:12:44 +02:00
Lorenzo Tilve
5b67ef02a3 Fixed graphical issues and Chrome 100% width in labels and criteria edition
FEA: ItEr60S16AdaptacionsPantallasNavalPlan
2010-09-10 20:12:44 +02:00
Óscar González Fernández
2ce490407f Remove no used init methods
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:41:36 +02:00
Óscar González Fernández
d1f508c0dc Remove no needed method on interface.
There is no need to have defined in the interface a init method in
order to apply post creation callback

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:38:18 +02:00
Óscar González Fernández
23d80600cd Extract some data as predefined snapshots from OrdersMultipleFiltersFinder
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:36:23 +02:00
Óscar González Fernández
f8709f32fa Inline field
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:34:40 +02:00
Óscar González Fernández
04eba5a256 Extract resources map as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:33:08 +02:00
Óscar González Fernández
e22fc1fe0a Extract criterion list as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:30:53 +02:00
Óscar González Fernández
c831e33d6b Extract cost categories list as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:29:56 +02:00
Óscar González Fernández
86acf99c74 Extract workers list as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:28:42 +02:00
Óscar González Fernández
df885861ca Extract labels map as a predefined snapshot
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:27:18 +02:00
Óscar González Fernández
053850a5d4 Retrieve the map of criterions from the database snapshots
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:27:14 +02:00
Óscar González Fernández
32ab38459e Create a predefined snapshot for a map of criterions
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:22:20 +02:00
Óscar González Fernández
bd8b729396 [Bug #637] Fix bug
Don't retrieve the advance end date when the task is a milestone

FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 18:15:09 +02:00
Lorenzo Tilve
e978499264 Adding ordenation support and changed column headers in subcontracted project list
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
2010-09-10 14:10:23 +02:00