Class GraphContainerDaoImpl

  • All Implemented Interfaces:
    GraphContainerDao, org.springframework.beans.factory.InitializingBean

    @Transactional
    public class GraphContainerDaoImpl
    extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
    implements GraphContainerDao
    • Field Summary

      • Fields inherited from class org.springframework.dao.support.DaoSupport

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String containerId)
      Looks up the given entity by its container id and afterwards deletes that entity.
      GraphContainerEntity findContainerById​(java.lang.String containerId)
      Returns the GraphContainerEntity identified by the containerId.
      GraphContainerEntity findContainerInfoById​(java.lang.String containerId)
      Returns the GraphContainerEntity, but only populating the properties.
      void save​(GraphContainerEntity graphContainerEntity)
      Saves or Updates the entity.
      void update​(GraphContainerEntity graphContainerEntity)
      Updates the given entity
      • Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport

        checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
      • Methods inherited from class org.springframework.dao.support.DaoSupport

        afterPropertiesSet, initDao
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphContainerDaoImpl

        public GraphContainerDaoImpl()
    • Method Detail

      • findContainerById

        public GraphContainerEntity findContainerById​(java.lang.String containerId)
        Description copied from interface: GraphContainerDao
        Returns the GraphContainerEntity identified by the containerId. It is not fully populated.
        Specified by:
        findContainerById in interface GraphContainerDao
        Parameters:
        containerId - The containerId of the entity
        Returns:
        The container or null
      • findContainerInfoById

        public GraphContainerEntity findContainerInfoById​(java.lang.String containerId)
        Description copied from interface: GraphContainerDao
        Returns the GraphContainerEntity, but only populating the properties. Vertices and Edges are not initialized.
        Specified by:
        findContainerInfoById in interface GraphContainerDao
        Parameters:
        containerId - The container id of the entity
        Returns:
      • delete

        public void delete​(java.lang.String containerId)
        Description copied from interface: GraphContainerDao
        Looks up the given entity by its container id and afterwards deletes that entity.
        Specified by:
        delete in interface GraphContainerDao
        Parameters:
        containerId - the container id of the entity.