Commit graph

68 commits

Author SHA1 Message Date
Ó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
4860a11e54 ItEr14S08ModeladoTempoItEr13S09: Adding dependencies to json-lib. 2009-06-29 17:54:14 +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
Óscar González Fernández
ab8af23678 ItEr14S08ModeladoTempoItEr13S09: Adding Joda Time Hibernate. 2009-06-25 12:15:47 +02:00
Óscar González Fernández
42df611d70 ItEr14S08ModeladoTempoItEr13S09: Adding Joda Time dependency. 2009-06-25 10:32:07 +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
Óscar González Fernández
d8d9b0d4fd ItEr10S10CUCreacionDeOrganizacionsDeTraballo:: OneToMany relationships on TaskWork and ProjectWork mapped as lists, since order is important. 2009-06-11 16:56:00 +02:00
Óscar González Fernández
28224f65f3 ItEr12S10ProbasModuloRecursosItEr11S13: Fixed bug at Resource#finishEnforcedAt. Changing signature to reflect better its meaning. 2009-06-08 18:50:06 +02:00
Óscar González Fernández
5dea68fa30 ItEr11S09CUCreacionDeOrganizacionsDeTraballoItEr10S10: Create skeleton of entities and mappings. 2009-06-08 14:11:50 +02:00
Óscar González Fernández
b06347a650 ItEr11S13ProbasModuloRecursos: Satisfactions validation before saving and simple validation in interface. 2009-06-08 12:36:31 +02:00
Óscar González Fernández
668a449b41 ItEr11S13ProbasModuloRecursos: Introducing tests that reproduce the detected bugs and fixes to resolve them. Now the
implementation is much more simpler.CriterionSatisfaction can now be used more easily in forms.
2009-06-08 12:12:51 +02:00
Javier Moran Rua
0c01f6d90a Removed trailing spaces of all *.java files. 2009-06-07 18:59:58 +02:00
Lorenzo Tilve
ef85e83794 ItEr11S07HistoriaLaboralTraballadorItEr10S07: Refactorization of edition and creation of worker history entries
Added delete and edit buttons to worker history list entries
Pending of a new approach to inisialization of empty criterionSatisfactions

Javier Moran Rua <jmoran@igalia.com>: Deleted comment lines
2009-06-03 13:55:22 +02:00
Lorenzo Tilve
dc9b8faa86 ItEr09S08HistoriaLaboralTraballadorItEr08S11: Creation of new work relationships entries 2009-06-01 17:49:34 +02:00
Óscar González Fernández
cb6527aa99 ItEr10S11CUCreacionProxectoCategorizacionTraballo: Created server entities and performs CRUD operations on ProjectWorker.
Javier Moran Rua <jmoran@igalia.com>: Refactorization applied to use package
navalplanner-webapp/src/main/java/org/navalplanner/web/workorders instead of
navalplanner-webapp/src/main/java/org/navalplanner/web/workorder
2009-06-01 17:23:04 +02:00
Óscar González Fernández
6af12a9eba ItEr09S09AdministracionGrupos: Assignment of worker to localization groups. It uses a subcontroller for managing localizations. Worker controller and related model classes are moved to another package.
Javier Moran Rua <jmoran@igalia.com> Deleted duplicated files.
2009-05-26 17:57:00 +02:00
Óscar González Fernández
5d874c61df ItEr09S09AdministracionGrupos: Criterion now has a surrogate key. It's required to enable criterion edition. 2009-05-26 16:59:54 +02:00
Óscar González Fernández
f1e91bc532 ItEr09S09AdministracionGrupos: Two new subcontrollers: CriterionEditController and CriterionWorkersController. New package for criterion controllers. 2009-05-25 13:40:02 +02:00