Class GearDAOAbstract<E extends Gear>

java.lang.Object
org.nuiton.topia.persistence.TopiaDAOImpl<E>
fr.ifremer.isisfish.entities.GearDAOAbstract<E>
All Implemented Interfaces:
Iterable<E>, org.nuiton.topia.persistence.TopiaDAO<E>, org.nuiton.topia.persistence.TopiaDAODeprecated<E>
Direct Known Subclasses:
GearDAOImpl

public abstract class GearDAOAbstract<E extends Gear> extends org.nuiton.topia.persistence.TopiaDAOImpl<E>
  • Constructor Details

    • GearDAOAbstract

      public GearDAOAbstract()
  • Method Details

    • getEntityClass

      public Class<E> getEntityClass()
      Specified by:
      getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Gear>
      Overrides:
      getEntityClass in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Gear>
    • getTopiaEntityEnum

      public IsisFishDAOHelper.IsisFishEntityEnum getTopiaEntityEnum()
      Specified by:
      getTopiaEntityEnum in interface org.nuiton.topia.persistence.TopiaDAO<E extends Gear>
      Overrides:
      getTopiaEntityEnum in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Gear>
    • delete

      public void delete(E entity) throws org.nuiton.topia.TopiaException
      Specified by:
      delete in interface org.nuiton.topia.persistence.TopiaDAO<E extends Gear>
      Overrides:
      delete in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Gear>
      Throws:
      org.nuiton.topia.TopiaException
    • findByName

      public E findByName(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByName

      public List<E> findAllByName(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByEffortUnit

      public E findByEffortUnit(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByEffortUnit

      public List<E> findAllByEffortUnit(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByStandardisationFactor

      public E findByStandardisationFactor(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByStandardisationFactor

      public List<E> findAllByStandardisationFactor(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByParameterName

      public E findByParameterName(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByParameterName

      public List<E> findAllByParameterName(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByCost

      public E findByCost(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByCost

      public List<E> findAllByCost(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByPossibleValue

      public E findByPossibleValue(RangeOfValues v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByPossibleValue

      public List<E> findAllByPossibleValue(RangeOfValues v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByComment

      public E findByComment(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByComment

      public List<E> findAllByComment(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findUsages

      public <U extends org.nuiton.topia.persistence.TopiaEntity> List<U> findUsages(Class<U> type, E entity) throws org.nuiton.topia.TopiaException
      Specified by:
      findUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Gear>
      Overrides:
      findUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Gear>
      Throws:
      org.nuiton.topia.TopiaException
    • findAllUsages

      public Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity) throws org.nuiton.topia.TopiaException
      Specified by:
      findAllUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Gear>
      Overrides:
      findAllUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Gear>
      Throws:
      org.nuiton.topia.TopiaException