Class StrategyDAOAbstract<E extends Strategy>

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

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

    • StrategyDAOAbstract

      public StrategyDAOAbstract()
  • Method Details

    • getEntityClass

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

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

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

      public E findByProportionSetOfVessels(double v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByProportionSetOfVessels

      public List<E> findAllByProportionSetOfVessels(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
    • findByInactivityEquationUsed

      public E findByInactivityEquationUsed(boolean v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByInactivityEquationUsed

      public List<E> findAllByInactivityEquationUsed(boolean v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findByInactivityEquation

      public E findByInactivityEquation(Equation v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByInactivityEquation

      public List<E> findAllByInactivityEquation(Equation v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findBySetOfVessels

      public E findBySetOfVessels(SetOfVessels v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllBySetOfVessels

      public List<E> findAllBySetOfVessels(SetOfVessels v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findContainsStrategyMonthInfo

      public E findContainsStrategyMonthInfo(StrategyMonthInfo v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllContainsStrategyMonthInfo

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