Class VesselTypeDAOAbstract<E extends VesselType>

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

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

    • VesselTypeDAOAbstract

      public VesselTypeDAOAbstract()
  • Method Details

    • getEntityClass

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

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

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

      public E findByLength(int v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByLength

      public List<E> findAllByLength(int v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findBySpeed

      public E findBySpeed(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllBySpeed

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

      public E findByMaxTripDuration(TimeUnit v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByMaxTripDuration

      public List<E> findAllByMaxTripDuration(TimeUnit v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByActivityRange

      public E findByActivityRange(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByActivityRange

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

      public E findByMinCrewSize(int v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByMinCrewSize

      public List<E> findAllByMinCrewSize(int v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByUnitFuelCostOfTravel

      public E findByUnitFuelCostOfTravel(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByUnitFuelCostOfTravel

      public List<E> findAllByUnitFuelCostOfTravel(double 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
    • findContainsTripType

      public E findContainsTripType(TripType v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllContainsTripType

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