Class ProtocolDaoImpl

java.lang.Object
ubic.gemma.persistence.service.AbstractDao<Protocol>
ubic.gemma.persistence.service.common.protocol.ProtocolDaoImpl
All Implemented Interfaces:
BaseDao<Protocol>, ProtocolDao

@Repository public class ProtocolDaoImpl extends AbstractDao<Protocol> implements ProtocolDao
Base Spring DAO Class: is able to create, update, remove, load, and find objects of type Protocol.
See Also:
  • Constructor Details

    • ProtocolDaoImpl

      @Autowired public ProtocolDaoImpl(SessionFactory sessionFactory)
  • Method Details

    • find

      public Protocol find(Protocol protocol)
      Description copied from interface: BaseDao
      Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).
      Specified by:
      find in interface BaseDao<Protocol>
      Overrides:
      find in class AbstractDao<Protocol>
      Parameters:
      protocol - the entity to look for.
      Returns:
      an entity that was found in the persistent storage, or null if no such entity was found.
    • findByName

      public Protocol findByName(String protocolName)
      Specified by:
      findByName in interface ProtocolDao
    • loadAllUniqueByName

      public List<Protocol> loadAllUniqueByName()
      Description copied from interface: ProtocolDao
      Load all protocols that are unique by name.
      Specified by:
      loadAllUniqueByName in interface ProtocolDao