|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaDAOImpl<E>
org.chorem.pollen.business.persistence.VoteDAOAbstract<E>
public abstract class VoteDAOAbstract<E extends Vote>
Implantation DAO pour l'entité Vote. Cette classe contient une implantation de TopiaDAO a laquel elle peut deleguer des traitements
| Field Summary |
|---|
| Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl |
|---|
context, entityClass |
| Constructor Summary | |
|---|---|
VoteDAOAbstract()
|
|
| Method Summary | |
|---|---|
void |
delete(E entity)
|
java.util.List<E> |
findAllByComment(java.lang.String v)
Retourne les éléments ayant comme valeur pour l'attribut comment le paramètre |
java.util.List<E> |
findAllByPoll(Poll v)
Retourne les éléments ayant comme valeur pour l'attribut poll le paramètre |
java.util.List<E> |
findAllByPollAccount(PollAccount v)
Retourne les éléments ayant comme valeur pour l'attribut pollAccount le paramètre |
java.util.List<E> |
findAllByVotingList(VotingList v)
Retourne les éléments ayant comme valeur pour l'attribut votingList le paramètre |
java.util.List<E> |
findAllByWeight(double v)
Retourne les éléments ayant comme valeur pour l'attribut weight le paramètre |
java.util.List<E> |
findAllContainsChoice(Choice... v)
Retourne les éléments trouvé dont l'attribut choice contient le paramètre |
E |
findByComment(java.lang.String v)
Retourne le premier élément trouvé ayant comme valeur pour l'attribut comment le paramètre |
E |
findByPoll(Poll v)
Retourne le premier élément trouvé ayant comme valeur pour l'attribut poll le paramètre |
E |
findByPollAccount(PollAccount v)
Retourne le premier élément trouvé ayant comme valeur pour l'attribut pollAccount le paramètre |
E |
findByVotingList(VotingList v)
Retourne le premier élément trouvé ayant comme valeur pour l'attribut votingList le paramètre |
E |
findByWeight(double v)
Retourne le premier élément trouvé ayant comme valeur pour l'attribut weight le paramètre |
E |
findContainsChoice(Choice... v)
Retourne le premier élément trouvé dont l'attribut choice contient le paramètre |
java.lang.Class<E> |
getEntityClass()
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl |
|---|
addTopiaEntityListener, addTopiaEntityVetoable, commitTransaction, create, create, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getId, getId, getRequestPermission, init, instanciateNew, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, size, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaDAO |
|---|
addTopiaEntityListener, addTopiaEntityVetoable, commitTransaction, create, create, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getRequestPermission, init, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, size, update |
| Constructor Detail |
|---|
public VoteDAOAbstract()
| Method Detail |
|---|
public java.lang.Class<E> getEntityClass()
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Vote>getEntityClass in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Vote>
public void delete(E entity)
throws org.nuiton.topia.TopiaException
delete in interface org.nuiton.topia.persistence.TopiaDAO<E extends Vote>delete in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Vote>org.nuiton.topia.TopiaException
public E findByWeight(double v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir weight
org.nuiton.topia.TopiaException
public java.util.List<E> findAllByWeight(double v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir weight
org.nuiton.topia.TopiaException
public E findByComment(java.lang.String v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir comment
org.nuiton.topia.TopiaException
public java.util.List<E> findAllByComment(java.lang.String v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir comment
org.nuiton.topia.TopiaException
public E findContainsChoice(Choice... v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit contenir choice
org.nuiton.topia.TopiaException
public java.util.List<E> findAllContainsChoice(Choice... v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit contenir choice
org.nuiton.topia.TopiaException
public E findByPoll(Poll v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir poll
org.nuiton.topia.TopiaException
public java.util.List<E> findAllByPoll(Poll v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir poll
org.nuiton.topia.TopiaException
public E findByPollAccount(PollAccount v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir pollAccount
org.nuiton.topia.TopiaException
public java.util.List<E> findAllByPollAccount(PollAccount v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir pollAccount
org.nuiton.topia.TopiaException
public E findByVotingList(VotingList v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir votingList
org.nuiton.topia.TopiaException
public java.util.List<E> findAllByVotingList(VotingList v)
throws org.nuiton.topia.TopiaException
v - la valeur que doit avoir votingList
org.nuiton.topia.TopiaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||