Class EquationDAOAbstract<E extends Equation>

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

public abstract class EquationDAOAbstract<E extends Equation> extends org.nuiton.topia.persistence.TopiaDAOImpl<E>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.nuiton.topia.persistence.TopiaDAOImpl

    org.nuiton.topia.persistence.TopiaDAOImpl.FindAllIterator<E extends org.nuiton.topia.persistence.TopiaEntity,R extends Object>
  • Field Summary

    Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl

    context, entityClass
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(E entity)
     
     
     
     
     
     
    Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>>
    findAllUsages(E entity)
     
     
     
     
     
     
    <U extends org.nuiton.topia.persistence.TopiaEntity>
    List<U>
    findUsages(Class<U> type, E entity)
     
     
     

    Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl

    addTopiaEntityListener, addTopiaEntityVetoable, computeAndAddRecordsToPager, count, countByQuery, countByQuery, create, create, create, createQuery, createQuery, createSimpleQuery, deleteAll, existByProperties, existByQuery, existByTopiaId, existsByQuery, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllByQuery, findAllByQuery, findAllByQueryAndPager, findAllByQueryAndPager, findAllByQueryWithBound, findAllByQueryWithBound, findAllContains, findAllIds, findAllLazyByQuery, findAllLazyByQuery, findAllLazyByQuery, findAllLazyByQuery, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByQuery, findByQuery, findByTopiaId, findContains, getBatchSize, getContext, getId, getId, getRequestPermission, init, iterator, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, setBatchSize, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • EquationDAOAbstract

      public EquationDAOAbstract()
  • Method Details

    • getEntityClass

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

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

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

      public E findByContent(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByContent

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

      public E findByCategory(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByCategory

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

      public E findByLanguage(String v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByLanguage

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

      public E findByJavaInterface(Class v) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • findAllByJavaInterface

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