org.jeinnov.jeitime.persistence.dao.projet
Class ProjetDAO

java.lang.Object
  extended by com.trg.dao.hibernate.HibernateBaseDAO
      extended by com.trg.dao.hibernate.GenericDAOImpl<T,PK>
          extended by org.jeinnov.jeitime.persistence.dao.GenericDAO<ProjetP,java.lang.Integer>
              extended by org.jeinnov.jeitime.persistence.dao.projet.ProjetDAO
All Implemented Interfaces:
com.trg.dao.hibernate.GenericDAO<ProjetP,java.lang.Integer>

public class ProjetDAO
extends GenericDAO<ProjetP,java.lang.Integer>


Field Summary
 
Fields inherited from class com.trg.dao.hibernate.GenericDAOImpl
persistentClass
 
Constructor Summary
ProjetDAO()
           
 
Method Summary
 java.util.List<ProjetP> getAll()
           
 java.util.List<ProjetP> getAllClose()
           
 java.util.List<ProjetP> getAllLock()
           
 java.util.List<ProjetP> getAllNotClose()
           
 java.util.List<ProjetP> getAllNotLock()
           
 ProjetP getByName(java.lang.String name)
           
 java.util.List<ProjetP> getBySousProjet(ProjetP projet)
           
static ProjetDAO getInstance()
           
 ProjetP getProjectNotLock(int id)
           
 ProjetP getProjectNotLockNotClose(int id)
           
 boolean verifLien(int id, org.hibernate.Session session)
           
 
Methods inherited from class org.jeinnov.jeitime.persistence.dao.GenericDAO
removeAll
 
Methods inherited from class com.trg.dao.hibernate.GenericDAOImpl
count, find, find, findAll, flush, getFilterFromExample, getFilterFromExample, getReference, getReferences, isAttached, refresh, remove, remove, removeById, removeByIds, save, save, search, searchAndCount, searchGeneric, searchUnique, searchUniqueGeneric
 
Methods inherited from class com.trg.dao.hibernate.HibernateBaseDAO
_all, _count, _count, _count, _deleteById, _deleteById, _deleteEntities, _deleteEntity, _exists, _exists, _exists, _flush, _get, _get, _getFilterFromExample, _getFilterFromExample, _load, _load, _load, _merge, _persist, _refresh, _save, _save, _saveOrUpdate, _saveOrUpdateIsNew, _saveOrUpdateIsNew, _search, _search, _searchAndCount, _searchAndCount, _searchUnique, _searchUnique, _sessionContains, _update, getMetaDataUtil, getSearchProcessor, getSession, getSessionFactory, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjetDAO

public ProjetDAO()
Method Detail

getInstance

public static ProjetDAO getInstance()

getProjectNotLock

public ProjetP getProjectNotLock(int id)

getProjectNotLockNotClose

public ProjetP getProjectNotLockNotClose(int id)

getAll

public java.util.List<ProjetP> getAll()

getAllNotLock

public java.util.List<ProjetP> getAllNotLock()

getAllLock

public java.util.List<ProjetP> getAllLock()

getAllNotClose

public java.util.List<ProjetP> getAllNotClose()

getAllClose

public java.util.List<ProjetP> getAllClose()

getByName

public ProjetP getByName(java.lang.String name)

getBySousProjet

public java.util.List<ProjetP> getBySousProjet(ProjetP projet)

verifLien

public boolean verifLien(int id,
                         org.hibernate.Session session)


Copyright © 2011. All Rights Reserved.