Jacobo Aragunde Pérez
68335cf0e9
ItEr35S15CUAdministracionCategoriaCosteItEr34S15: implemented unique validator for code in TypeOfWorkHours
...
Implemented a validator method in TypeOfWorkHours entity. It checks if the code of that entity is unique.
To do it, I had to implement methods to find a TypeOfWorkHours by its code in TypeOfWorkHoursDAO.
Some tests were written to verify it's working correcty.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
c37fba6fa7
ItEr35S15CUAdministracionCategoriaCosteItEr34S15: implemented null validation
...
TODO: unique constraints produce an Exception; it has to be transformed into
a ValidationException to be treated correctly by the web application.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
4b6ac2bbb2
ItEr35S15CUAdministracionCategoriaCosteItEr34S15: implemented confirmation messages
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
7bc5018e1a
ItEr35S15CUAdministracionCategoriaCosteItEr34S15: administration web interface: editing TypesOfWorkHours
...
Implemented the web interface to edit TypeOfWorkHours entities.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
9b120369e8
ItEr35S15CUAdministracionCategoriaCosteItEr34S15: administration web interface: listing TypesOfWorkHours
...
First revision of the web interface. It can list the existing TypesOfWorkHours.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
0edab300dd
ItEr35S15CUAdministracionCategoriaCosteItEr34S15: Date attributes using org.joda.time.LocalDate
...
Implemented Date attributes using the class org.joda.time.LocalDate instead of java.util.Date.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
529bfc2456
ItEr34S15CUAdministracionCategoriaCoste: implementing the relation between HourCost and CostCategory.
...
Implemented the necessary methods to manage it so it can be navigated bidirectionally.
Implemented tests to try it.
TODO: implement Date attributes using the class org.joda.time.LocalDate instead of java.util.Date.
TODO: implement the validator HourCostNotOverlapping.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
2a5add0c35
ItEr34S15CUAdministracionCategoriaCoste: implemented the relation between HourCost and TypeOfWorkHours
...
This relation is only navigable from HourCost,
we are not interested in the other direction (not yet at least).
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
3f9bb54450
ItEr34S15CUAdministracionCategoriaCoste: test for DAOs and bugfix
...
Written tests for the thee DAOs.
Corrected a bug in HourCost entity, found using the tests.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
ae50c21520
ItEr34S15CUAdministracionCategoriaCoste: Skeleton for DAOs and file hbm.xml
...
Created the DAOs, interfaces for DAOS, the file hbm.xml and added it to spring configuration.
2009-12-03 11:37:26 +01:00
Jacobo Aragunde Pérez
cc9ae3fef7
ItEr34S15CUAdministracionCategoriaCoste: Skeleton for entities CostCategory, HourCost and TypeOfWorkHours
...
Created the entities: CostCategory, HourCost and TypeOfWorkHours.
They have simple attributes and get/set methods for them.
2009-12-03 11:37:26 +01:00
Óscar González Fernández
8aef6af117
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: The total hours is kept synchronized with the hours inputs when they are changed.
2009-12-02 22:05:14 +01:00
Óscar González Fernández
e614632a01
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Renaming field to reflect better its meaning.
2009-12-02 22:05:13 +01:00
Óscar González Fernández
9987ab8858
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Creating default allocations when checking recommended checkbox
2009-12-02 22:05:13 +01:00
Óscar González Fernández
b95ff330f3
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Fixing message. Argument was missing
2009-12-02 22:05:13 +01:00
Óscar González Fernández
90e80c5714
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Renaming finder method and implementing it correctly
2009-12-02 22:05:13 +01:00
Óscar González Fernández
9eb82d661a
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Pulling up satisfies criteria methods
2009-12-02 22:05:13 +01:00
Óscar González Fernández
b3bdbc738d
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Being more generous receiving arguments for searching workers satisfying criterions
2009-12-02 22:05:13 +01:00
Óscar González Fernández
3583676f60
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Removing code that has no effect. AggregatedHoursGroup is not an entity
2009-12-02 22:05:13 +01:00
Óscar González Fernández
7b00ca6aa5
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Removing unused methods from ResourceAllocationModel
2009-12-02 22:05:13 +01:00
Óscar González Fernández
f011594686
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: When activating recommended allocation previous allocations are removed
2009-12-02 22:05:13 +01:00
Óscar González Fernández
543c75b2c8
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Providing the recommended allocation checkbox to FormBinder and create basic structure
2009-12-02 22:05:13 +01:00
Óscar González Fernández
ac2ffa1ca0
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Adding recommended allocation checkbox
2009-12-02 22:05:13 +01:00
Óscar González Fernández
07e582f527
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Changing title to a more general name
2009-12-02 22:05:12 +01:00
Diego Pino Garcia
aff77a6921
ItEr37S11CUAdministracionMateriaisItEr36S13: If delete material button is disabled do not highlight it on hovering it
2009-12-02 14:17:32 +01:00
Diego Pino Garcia
d8db1a8c3b
ItEr37S11CUAdministracionMateriaisItEr36S13: Add onOK event for adding new categories
2009-12-02 14:17:29 +01:00
Diego Pino Garcia
a3a8e55ae2
ItEr37S11CUAdministracionMateriaisItEr36S13: Show all materials if not category is selected
2009-12-02 14:17:27 +01:00
Diego Pino Garcia
5a9d27bbd5
ItEr37S11CUAdministracionMateriaisItEr36S13: [FixBug] Keep selected item after reloading categories tree
2009-12-02 14:17:24 +01:00
Diego Pino Garcia
235ac08856
ItEr37S11CUAdministracionMateriaisItEr36S13: Set unitprice as double
2009-12-02 14:17:20 +01:00
Diego Pino Garcia
dcb75f07a8
ItEr37S11CUAdministracionMateriaisItEr36S13: Fix bug on saving categories after deleting a persistent category
2009-12-02 14:17:17 +01:00
Diego Pino Garcia
360ae42715
ItEr37S11CUAdministracionMateriaisItEr36S13: Referesh material categories after adding new element
2009-12-02 14:17:14 +01:00
Diego Pino Garcia
a63067c196
ItEr37S11CUAdministracionMateriaisItEr36S13: Cannot remove material category if it has subcategories or materials
2009-12-02 14:17:11 +01:00
Diego Pino Garcia
ef8977da8f
ItEr37S11CUAdministracionMateriaisItEr36S13: Add spacing between upper buttons and grid
2009-12-02 14:17:09 +01:00
Diego Pino Garcia
3399e544ec
ItEr37S11CUAdministracionMateriaisItEr36S13: Add option Unselect selected item in categories tree
2009-12-02 14:17:07 +01:00
Diego Pino Garcia
297a3d0b67
ItEr37S11CUAdministracionMateriaisItEr36S13: [FixBug] Set parent on adding new category
2009-12-02 14:17:05 +01:00
Diego Pino Garcia
7fddf59852
ItEr37S11CUAdministracionMateriaisItEr36S13: [FixBug] Remove category via DAO and update list of categories
2009-12-02 14:17:02 +01:00
Diego Pino Garcia
d5bdb1c623
ItEr37S11CUAdministracionMateriaisItEr36S13: Set tree style to z-dottree
2009-12-02 14:16:59 +01:00
Óscar González Fernández
a9dd2a3093
ItEr37S06ValidacionEProbasFuncionaisItEr36S07: [Bug #112 ] Fixing bug. When copying an allocation the criterions are copied too.
2009-12-02 13:17:46 +01:00
Óscar González Fernández
d0a47c5408
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Renaming class to a less confusing name
2009-12-02 01:27:39 +01:00
Óscar González Fernández
d6860502fc
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Handling Resources Per Day case
2009-12-02 01:24:36 +01:00
Óscar González Fernández
89f01e6fd7
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Adding methods to AllocationRow to create the HoursModifications
2009-12-02 01:24:36 +01:00
Óscar González Fernández
7af65bb333
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Completing condition
2009-12-02 01:24:27 +01:00
Óscar González Fernández
953531638c
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Fix on disability rule for assigned hours
2009-12-02 01:03:47 +01:00
Óscar González Fernández
275fa239de
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Adding method to allocate hours on several allocation
2009-12-02 00:52:15 +01:00
Óscar González Fernández
dccfb07d03
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Extracting methods to reduce scope of the allocations variable
2009-12-02 00:52:12 +01:00
Óscar González Fernández
ce0ca849c9
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Removing no longer needed factory method
2009-12-02 00:52:09 +01:00
Óscar González Fernández
7ba0355bf4
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Using new factory method to create the AllocationResult. Removing no longer used methods.
2009-12-02 00:52:06 +01:00
Óscar González Fernández
e93f59c1bf
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Adding new factory method to create an AllocationResult from a list of AllocationRow
2009-12-02 00:52:03 +01:00
Óscar González Fernández
486cc1ed54
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Moving code to create an AllocationResult from a Task to its own factory method
2009-12-02 00:51:59 +01:00
Óscar González Fernández
190f8bc6cb
ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Using factory method instead of constructor to create an AllocationResult
2009-12-02 00:51:56 +01:00