ItEr18S14CUAsignacionRecursosEspecificosAPlanificacion: Added a generic DAO for ResourceAllocation.
This commit is contained in:
parent
657e0429f3
commit
26582213af
2 changed files with 34 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
package org.navalplanner.business.planner.daos;
|
||||
|
||||
import org.navalplanner.business.common.daos.IGenericDao;
|
||||
import org.navalplanner.business.planner.entities.ResourceAllocation;
|
||||
|
||||
/**
|
||||
* DAO interface for {@link ResourceAllocation}
|
||||
*
|
||||
* @author Manuel Rego Casasnovas <mrego@igalia.com>
|
||||
*/
|
||||
public interface IResourceAllocationDAO extends
|
||||
IGenericDao<ResourceAllocation, Long> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
package org.navalplanner.business.planner.daos;
|
||||
|
||||
import org.navalplanner.business.common.daos.impl.GenericDaoHibernate;
|
||||
import org.navalplanner.business.planner.entities.ResourceAllocation;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* DAO for {@ResourceAllocation}
|
||||
*
|
||||
* @author Manuel Rego Casasnovas <mrego@igalia.com>
|
||||
*/
|
||||
@Repository
|
||||
@Scope(BeanDefinition.SCOPE_SINGLETON)
|
||||
public class ResourceAllocationDAO extends
|
||||
GenericDaoHibernate<ResourceAllocation, Long> implements
|
||||
IResourceAllocationDAO {
|
||||
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue