Commit graph

55 commits

Author SHA1 Message Date
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
Óscar González Fernández
a86f012493 ItEr09S09AdministracionGrupos: version field is increased when adding worker. 2009-05-25 13:21:31 +02:00
Lorenzo Tilve
f0eeed0ca5 ItEr09S08HistoriaLaboralTraballadorItEr08S11: Add work relationships view window
Implemented WorkRelationships view Use Case
Modified controller structure to satisfy behaviour defined
2009-05-25 13:04:54 +02:00
Óscar González Fernández
e797f6e350 ItEr09S09AdministracionGrupos: Refactored bussiness layer so it follows ICriterionType restrictions when saving. 2009-05-21 14:02:56 +02:00
Óscar González Fernández
d22215fad8 ItEr09S09AdministracionGrupos: Creates and edits criterions grouped by CriterionType. The CriterionType tells if the criterions belonging to that type can be edited or more can be added. 2009-05-21 12:09:36 +02:00
Óscar González Fernández
b6f0ea9792 ItEr09S09AdministracionGrupos: Add new predefined criterion type, it's called LOCATION_GROUP. 2009-05-19 10:45:47 +02:00
Óscar González Fernández
9891482fee ItEr09S12CUCreacioRecursoTraballadorItEr07S05: It keeps use case state in the model instead of the controller. 2009-05-19 09:50:07 +02:00
Óscar González Fernández
802d60f312 ItEr08S11HistoriaLaboralTraballador: Add ICriterionOnData that expands the capabilities of a ICriterion.
It lets retrieve all the resources satisfying the criterion.
2009-05-18 15:38:10 +02:00
Óscar González Fernández
dcd0f01991 ItEr08S11HistoriaLaboralTraballador: Change to Criterion mapping, now it has an inmutable business key. Loading of the predefined criterions.
Modified CriterionBootstrap.java to autowire ICriterionTypeProvider classes
 (Javier Moran Rua <jmoran@igalia.com>)
2009-05-18 14:11:49 +02:00
Óscar González Fernández
661dd40860 ItEr08S11HistoriaLaboralTraballador: Adds infraestructure for adding required data. 2009-05-15 17:23:08 +02:00
Óscar González Fernández
f065814fc9 ItEr08S10CreacionEntidadesServidorCriterios: Add entities and services for criterions.
Refactorization applied to class Compounder.java to be renamed as CriterionCompounder.java
 (Javier Moran Rua <jmoran@igalia.com>)
2009-05-15 13:47:49 +02:00
Óscar González Fernández
00f254a0e7 ItEr08S10CreacionEntidadesServidorCriterios: Add dependency to commons-lang.
It will be used for checking preconditions.
2009-05-15 10:48:33 +02:00
Óscar González Fernández
549852211a ItEr08S10CreacionEntidadesServidorCriterios: Erase ResourceGroup and associated classes. 2009-05-15 10:34:42 +02:00
Óscar González Fernández
fd9e9feba9 ItEr08S06ArquitecturaClientesItEr07S07: Hibernate validations dependences added. Annotating Worker with. Add facility to show messages to the user, integrated with WorkerCrudController. 2009-05-14 18:06:30 +02:00