Commit graph

79 commits

Author SHA1 Message Date
Diego Pino Garcia
080b2a4592 ItEr17S12CUAltaTipoParteDeTraballo: Fixed WorkReport tests 2009-07-19 18:46:52 +02:00
Manuel Rego Casasnovas
c907bf24c6 ItEr17S14CUListadoTiposPartesTraballo: Added basic support for CRUD operations over a WorkReportType.
Javier Moran Rua <jmoran@igalia.com>: Added the option to access to WorkReportType CRUD operations in
 CustomMenuController
2009-07-19 18:29:08 +02:00
Óscar González Fernández
062e7319f6 ItEr17S10CUCreacionProxectoPlanificacionItEr16S12: Adding method to retrieve the associated TaskElement to an Order. 2009-07-19 11:49:44 +02:00
Óscar González Fernández
4a7568fcec ItEr17S10CUCreacionProxectoPlanificacionItEr16S12: Adding abstract methods getChildren and isLeaf to Task. 2009-07-19 11:39:07 +02:00
Diego Pino Garcia
1d7532d759 ItEr17S12CUAltaTipoParteDeTraballo: Create entities for WorkReports 2009-07-15 13:03:56 +02:00
Manuel Rego Casasnovas
2077fa4ed5 ItEr17S13CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr15S11: Checking if there is at least one HoursGroup for each OrderElement on the service. Fixed a problem with WrongValueException on interface. 2009-07-15 11:05:08 +02:00
Diego Pino Garcia
c65b162847 ItEr17S09CUCreacionDeOrganizacionsDeTraballoItEr16S11: After deleting the last leaf from a container, converts container to a leaf (as it has no children 2009-07-14 19:27:51 +02:00
Diego Pino Garcia
02f7f37751 ItEr17S08ClasificacionTraballoItEr16S10: Save Criterions in HoursGroup 2009-07-14 18:17:55 +02:00
Manuel Rego Casasnovas
5b7c3f45c2 ItEr17S13CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr15S11: Checking that there's at least one HoursGroup for every OrderLine. 2009-07-14 17:54:21 +02:00
Óscar González Fernández
bbf9af0978 ItEr16S12CreacionProxectoPlanificacion: When an Order is removed, all the associated task elements are removed.
Database schema might need to be recreated.
2009-07-10 11:19:26 +02:00
Óscar González Fernández
cbf7cccd21 ItEr16S12CreacionProxectoPlanificacion: Ensuring OrderLine has an hours group associated when it's added to the orders tree. 2009-07-10 11:19:23 +02:00
Óscar González Fernández
27a9b35b5b ItEr16S12CreacionProxectoPlanificacion: adding schedule operation to orders. 2009-07-10 11:19:20 +02:00
Óscar González Fernández
770a1d5e7c ItEr16S12CreacionProxectoPlanificacion: Turning OrderElement many to one relationship to TaskElement into a many-to-one bidirectional relationship. 2009-07-10 11:19:16 +02:00
Diego Pino Garcia
7da8d5165c ItEr16S11CUCreacionDeOrganizacionsDeTraballoItEr15S06: Change behaviour when moving a TaskLeaf or a TaskContainer to a TaskLeaf 2009-07-09 16:17:11 +02:00
Óscar González Fernández
5fdc8ee410 ItEr16S12CreacionProxectoPlanificacion: Implementing algorithm for turning OrderElements into TaskElements. 2009-07-09 14:02:10 +02:00
Óscar González Fernández
f5083c71d9 ItEr16S12CreacionProxectoPlanificacion: Adding hoursGroup many-to-one relantionship to task. 2009-07-09 10:39:30 +02:00
Óscar González Fernández
20d7906a0c ItEr16S12CreacionProxectoPlanificacion: Adding OrderElement many to one relationship to TaskElement. 2009-07-09 10:39:22 +02:00
Diego Pino Garcia
e34ea18aa2 ItEr16S11CUCreacionDeOrganizacionsDeTraballoItEr15S06: Fix bug when assigning a criterion type to the list of selected criterion types in OrderElement form 2009-07-08 20:52:39 +02:00
Óscar González Fernández
36a8654bdd ItEr16S12CreacionProxectoPlanificacion: Creating hibernate mappings, service, dao classes and associated tests.
Moving entities test classes to the right package.
2009-07-08 20:01:00 +02:00
Óscar González Fernández
6ba76c5515 ItEr16S12CreacionProxectoPlanificacion: Checking some conditions when creating dependency. 2009-07-08 20:00:52 +02:00
Óscar González Fernández
cbde05db74 ItEr16S12CreacionProxectoPlanificacion: the task elements collection of taskGroup cannot be modified. 2009-07-08 18:56:37 +02:00
Óscar González Fernández
263312e730 ItEr16S12CreacionProxectoPlanificacion: Fixing typo. 2009-07-08 18:56:32 +02:00
Javier Moran Rua
3fe74682ba ItEr16S10ClasificacionTraballoItEr15S13: Fix test CannotSaveTwoDifferentCriterionTypesWithTheSameName
In HSQLDB it is thrown the exception DataIntegrityViolationException instead of ConstraintViolationException
2009-07-08 11:42:57 +02:00
Óscar González Fernández
dd7b7f1a11 ItEr16S12CreacionProxectoPlanificacion: Creating entities without mapping and associated tests. 2009-07-07 19:35:13 +02:00
Javier Moran Rua
258041fde6 ItEr16S10ClasificacionTraballoItEr15S13: Fix bug to let add a CriterionSatisfaction to Resource super class or
subclass.

If a CriterionType has in the resource column an enum matching the Resource super class, it has to be possible to
assign it to a subclass of Resource (Worker).
2009-07-07 18:20:41 +02:00
Diego Pino Garcia
40ca4e6843 ItEr16S10ClasificacionTraballoItEr15S13: Retrieve CriterionTypes from DB instead of from PredefinedCriterionTypes 2009-07-07 14:06:19 +02:00
Diego Pino Garcia
6a7a8066b8 ItEr16S10ClasificacionTraballoItEr15S13: Adds CriterionType entity 2009-07-07 11:38:09 +02:00
Fernando Bellas Permuy
a369e294a3 ItEr15S04ArquitecturaServidorItEr14S04: Refactoring to use @Repository in DAOs and @Service in services and models.
The source code has been refactorized to use @Repository in DAOs and @Service in services and models. This way, DAOs, services and models do not need to be defined in the Spring configuration file.
2009-07-03 10:01:52 +02:00
Fernando Bellas Permuy
f4a6016874 ItEr15S04ArquitecturaServidorItEr14S04: Usage of SingleConnectionDataSource for testing the business layer.
Now the business layer uses org.springframework.jdbc.datasource.SingleConnectionDataSource as data source. Potentially, this data source is faster than the previous one (org.springframework.jdbc.datasource.DriverManagerDataSource). SingleConnectionDataSource only mantains one connection which is never closed. It cannot be used from more than one thread in parallel.
2009-07-02 14:06:12 +02:00
Fernando Bellas Permuy
81117ed861 ItEr15S04ArquitecturaServidorItEr14S04: improvement to "checkVersion" method.
Now the "checkVersion" method also checks if the version of the entity passed as a parameter to "checkVersion" is null. If so, the check is considered to be sucsessfull (because an entity with version == null is considered a new object, that is, an object which does not exist in the database).
2009-07-02 12:50:08 +02:00
Fernando Bellas Permuy
dcc5c10af1 ItEr15S04ArquitecturaServidorItEr14S04: GenericDaoHibernateTemplate removed.
GenericDaoHibernateTemplate was an alternative implementation to GenericDaoHibernate. GenericDaoHibernateTemplate forces developer to use the Spring's Hibernate helper API, while GenericDaoHibernate forces developer to the use the Hibernate native API. Since Spring's Hibernate helper API does not provide much value over the Hibernate native API, we have prefered to use GenericDaoHibernate as default base class for DAOs.
2009-07-02 12:42:20 +02:00
Manuel Rego Casasnovas
24a6f305f6 ItEr15S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr14S11: Implemented new specification using just FIXED_PERCENTAGE instead of all the other options.
Needed some reattchments that should be reviewed, highlighted with FIXME marks.
2009-07-01 18:38:32 +02:00
Manuel Rego Casasnovas
6e3dbd2886 ItEr15S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr14S11: Added relation between HoursGroup and Criterion. 2009-06-30 20:46:58 +02:00
Manuel Rego Casasnovas
ccceab9c6f ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Implemented method setWorkHours of OrderLine class. Added test cases for this method. Removed fixedHours attribute of class OrderLine (not needed anymore). Pending changes in the interface. 2009-06-29 19:17:17 +02:00
Óscar González Fernández
86f5cad2d7 ItEr14S08ModeladoTempoItEr13S09: Adding hibernate types to allow mapping of partial dates and related classes. 2009-06-29 18:07:42 +02:00
Óscar González Fernández
f515e57537 ItEr14S08ModeladoTempoItEr13S09: TimeQuantity now implements equals based on its values. 2009-06-29 15:54:39 +02:00
Óscar González Fernández
807bdce30e ItEr14S08ModeladoTempoItEr13S09: Partial Date and related classes moved to a more suitable package. 2009-06-29 00:04:03 +02:00
Óscar González Fernández
56925dd424 ItEr14S08ModeladoTempoItEr13S09: PartialDate, IntervalsOfPartialDates and TimeQuantities. 2009-06-28 18:05:05 +02:00
Óscar González Fernández
dfe98d469a ItEr14S08ModeladoTempoItEr13S09: PartialDate initial implementation complete. 2009-06-28 17:59:23 +02:00
Óscar González Fernández
691c659f2c ItEr14S04ArquitecturaServidorItEr13S05: Extracting previously unexistent DAO.
It has been created the OrderDao.
2009-06-28 13:46:58 +02:00
Óscar González Fernández
62baa4d37f ItEr13S15ProbasModuloRecursosItEr12S10: Improving Criterion#toString method. 2009-06-28 13:26:05 +02:00
Manuel Rego Casasnovas
82e9a3602a ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Refactoring package "workorders" (now called "orders") and classes names inside this package. 2009-06-25 16:19:28 +02:00
Diego Pino
6d32b869be ItEr13S15ProbasModuloRecursosItEr12S10: Fix bug when saving duplicated Criterion 2009-06-25 13:03:22 +02:00
Diego Pino Garcia
cf12b09255 ItEr13S15ProbasModuloRecursosItEr12S10: Adds merge method to GenericDAO 2009-06-25 12:34:41 +02:00
Manuel Rego Casasnovas
df70af8fef ItEr14S11CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballoItEr13S13: Basic changes at model,
adding new attributes and moving ActivityWork set to TaskWorkLeaf.
2009-06-24 19:50:12 +02:00
Fernando Bellas Permuy
807f7db653 ItEr13S05ArquitecturaServidorItEr12S05: version control in woker edition.
Worker edition conversation has been improved to detect concurrent modifications to worker state by other transactions/users.
2009-06-22 16:24:14 +02:00
Fernando Bellas Permuy
e6de5b351e ItEr13S05ArquitecturaServidorItEr12S05: worker-edition Experiment to improve conversation support for edition of
workers.

Experiment to improve conversation support for edition of workers. Unfortunately, it does not work correctly.
2009-06-22 16:22:05 +02:00
Manuel Rego Casasnovas
c8505ce369 ItEr13S13CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballo: Moved implementation of getWorkHours from TaskWork to TaskWorkLeaf. 2009-06-21 18:10:37 +02:00
Manuel Rego Casasnovas
525dd65022 ItEr13S13CUConfiguracionDeOrganizacionsDeTraballoConUnidadesTraballo: Added editable hours cell for leaf nodes at TaskWork tree.
Changed to Intbox the hours cell of TaskWork.
2009-06-17 19:40:15 +02:00
Óscar González Fernández
ca26bd6b6d ItEr12S09RFNavegacionOrganizacionTraballoItEr11S10: Manipulation of a ProjectWork's tasks tree. 2009-06-11 16:56:09 +02:00