Class MetierDAOAbstract<E extends Metier>

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

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

    • MetierDAOAbstract

      public MetierDAOAbstract()
  • Method Details

    • getEntityClass

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

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

      public void delete(E entity) throws org.nuiton.topia.TopiaException
      Specified by:
      delete in interface org.nuiton.topia.persistence.TopiaDAO<E extends Metier>
      Overrides:
      delete in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Metier>
      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
    • findByGearParameterValue

      public E findByGearParameterValue(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByGearParameterValue

      public List<E> findAllByGearParameterValue(String 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
    • findByCapturableSpeciesComment

      public E findByCapturableSpeciesComment(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByCapturableSpeciesComment

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

      public E findByGear(Gear v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByGear

      public List<E> findAllByGear(Gear v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findContainsMetierSeasonInfo

      public E findContainsMetierSeasonInfo(MetierSeasonInfo v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllContainsMetierSeasonInfo

      public List<E> findAllContainsMetierSeasonInfo(MetierSeasonInfo 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 Metier>
      Overrides:
      findUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Metier>
      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 Metier>
      Overrides:
      findAllUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Metier>
      Throws:
      org.nuiton.topia.TopiaException