org.chorem.pollen.business.persistence
Interface PollAccount

All Superinterfaces:
org.nuiton.topia.persistence.TopiaEntity
All Known Implementing Classes:
PollAccountAbstract, PollAccountImpl

public interface PollAccount
extends org.nuiton.topia.persistence.TopiaEntity


Field Summary
static java.lang.String ACCOUNT_ID
           
static java.lang.String COMMENT
           
static java.lang.String EMAIL
           
static java.lang.String PERSON_LIST
           
static java.lang.String POLLS_CREATED
           
static java.lang.String USER_ACCOUNT
           
static java.lang.String VOTE
           
static java.lang.String VOTING_ID
           
static java.lang.String VOTING_LIST_PERSON_TO_LIST
           
 
Method Summary
 void addAllComment(java.util.List<Comment> comment)
           
 void addAllPollsCreated(java.util.List<Poll> pollsCreated)
           
 void addAllVote(java.util.List<Vote> vote)
           
 void addAllVotingListPersonToList(java.util.List<PersonToList> personToList)
           
 void addComment(Comment comment)
           
 void addPollsCreated(Poll pollsCreated)
           
 void addVote(Vote vote)
           
 void addVotingListPersonToList(PersonToList personToList)
           
 void clearComment()
          Vide la Collection de comment.
 void clearPollsCreated()
          Vide la Collection de pollsCreated.
 void clearVote()
          Vide la Collection de vote.
 void clearVotingListPersonToList()
          Vide la Collection de PersonToList.
 java.lang.String getAccountId()
           
 java.util.List<Comment> getComment()
           
 Comment getCommentByTopiaId(java.lang.String topiaId)
          Recupère l'attribut comment à partir de son topiaId.
 java.lang.String getEmail()
           
 PersonList getPersonList()
           
 java.util.List<Poll> getPollsCreated()
           
 Poll getPollsCreatedByTopiaId(java.lang.String topiaId)
          Recupère l'attribut pollsCreated à partir de son topiaId.
 UserAccount getUserAccount()
           
 java.util.List<Vote> getVote()
           
 Vote getVoteByTopiaId(java.lang.String topiaId)
          Recupère l'attribut vote à partir de son topiaId.
 java.lang.String getVotingId()
           
 java.util.List<PersonToList> getVotingListPersonToList()
           
 PersonToList getVotingListPersonToList(VotingList value)
           
 PersonToList getVotingListPersonToListByTopiaId(java.lang.String topiaId)
          Recupère l'attribut votingList à partir de son topiaId.
 boolean isCommentEmpty()
           
 boolean isPollsCreatedEmpty()
           
 boolean isVoteEmpty()
           
 boolean isVotingListPersonToListEmpty()
           
 void removeComment(Comment comment)
           
 void removePollsCreated(Poll pollsCreated)
           
 void removeVote(Vote vote)
           
 void removeVotingListPersonToList(PersonToList personToList)
           
 void setAccountId(java.lang.String accountId)
           
 void setComment(java.util.List<Comment> comment)
           
 void setEmail(java.lang.String email)
           
 void setPersonList(PersonList personList)
           
 void setPollsCreated(java.util.List<Poll> pollsCreated)
           
 void setUserAccount(UserAccount userAccount)
           
 void setVote(java.util.List<Vote> vote)
           
 void setVotingId(java.lang.String votingId)
           
 void setVotingListPersonToList(java.util.List<PersonToList> personToList)
           
 int sizeComment()
           
 int sizePollsCreated()
           
 int sizeVote()
           
 int sizeVotingListPersonToList()
           
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, delete, getAggregate, getComposite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion, update
 

Field Detail

ACCOUNT_ID

static final java.lang.String ACCOUNT_ID
See Also:
Constant Field Values

VOTING_ID

static final java.lang.String VOTING_ID
See Also:
Constant Field Values

EMAIL

static final java.lang.String EMAIL
See Also:
Constant Field Values

VOTING_LIST_PERSON_TO_LIST

static final java.lang.String VOTING_LIST_PERSON_TO_LIST
See Also:
Constant Field Values

POLLS_CREATED

static final java.lang.String POLLS_CREATED
See Also:
Constant Field Values

COMMENT

static final java.lang.String COMMENT
See Also:
Constant Field Values

VOTE

static final java.lang.String VOTE
See Also:
Constant Field Values

PERSON_LIST

static final java.lang.String PERSON_LIST
See Also:
Constant Field Values

USER_ACCOUNT

static final java.lang.String USER_ACCOUNT
See Also:
Constant Field Values
Method Detail

setAccountId

void setAccountId(java.lang.String accountId)
Parameters:
accountId - La valeur de l'attribut accountId à positionner.

getAccountId

java.lang.String getAccountId()
Returns:
La valeur de l'attribut accountId.

setVotingId

void setVotingId(java.lang.String votingId)
Parameters:
votingId - La valeur de l'attribut votingId à positionner.

getVotingId

java.lang.String getVotingId()
Returns:
La valeur de l'attribut votingId.

setEmail

void setEmail(java.lang.String email)
Parameters:
email - La valeur de l'attribut email à positionner.

getEmail

java.lang.String getEmail()
Returns:
La valeur de l'attribut email.

addVotingListPersonToList

void addVotingListPersonToList(PersonToList personToList)
Parameters:
personToList - L'instance de PersonToList à ajouter.

addAllVotingListPersonToList

void addAllVotingListPersonToList(java.util.List<PersonToList> personToList)
Parameters:
personToList - Les instances de PersonToList à ajouter.

setVotingListPersonToList

void setVotingListPersonToList(java.util.List<PersonToList> personToList)
Parameters:
personToList - La Collection de PersonToList à positionner.

removeVotingListPersonToList

void removeVotingListPersonToList(PersonToList personToList)
Parameters:
personToList - L'instance de PersonToList à retirer.

clearVotingListPersonToList

void clearVotingListPersonToList()
Vide la Collection de PersonToList.


getVotingListPersonToList

java.util.List<PersonToList> getVotingListPersonToList()
Returns:
La liste des attributs PersonToList.

getVotingListPersonToListByTopiaId

PersonToList getVotingListPersonToListByTopiaId(java.lang.String topiaId)
Recupère l'attribut votingList à partir de son topiaId.

Parameters:
topiaId - le topia id de l'attribut recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

getVotingListPersonToList

PersonToList getVotingListPersonToList(VotingList value)
Returns:
L'attribut PersonToList associé à la valeur value de l'attribut votingList.

sizeVotingListPersonToList

int sizeVotingListPersonToList()
Returns:
Le nombre d'éléments de la collection votingList.

isVotingListPersonToListEmpty

boolean isVotingListPersonToListEmpty()
Returns:
true si la collection votingListPersonToList est vide.

addPollsCreated

void addPollsCreated(Poll pollsCreated)
Parameters:
pollsCreated - L'instance de pollsCreated à ajouter.

addAllPollsCreated

void addAllPollsCreated(java.util.List<Poll> pollsCreated)
Parameters:
pollsCreated - Les instances de pollsCreated à ajouter.

setPollsCreated

void setPollsCreated(java.util.List<Poll> pollsCreated)
Parameters:
pollsCreated - La Collection de pollsCreated à positionner.

removePollsCreated

void removePollsCreated(Poll pollsCreated)
Parameters:
pollsCreated - L'instance de pollsCreated à retirer.

clearPollsCreated

void clearPollsCreated()
Vide la Collection de pollsCreated.


getPollsCreated

java.util.List<Poll> getPollsCreated()
Returns:
La Liste de pollsCreated.

getPollsCreatedByTopiaId

Poll getPollsCreatedByTopiaId(java.lang.String topiaId)
Recupère l'attribut pollsCreated à partir de son topiaId.

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

sizePollsCreated

int sizePollsCreated()
Returns:
Le nombre d'éléments de la collection pollsCreated.

isPollsCreatedEmpty

boolean isPollsCreatedEmpty()
Returns:
true si la collection pollsCreated est vide.

addComment

void addComment(Comment comment)
Parameters:
comment - L'instance de comment à ajouter.

addAllComment

void addAllComment(java.util.List<Comment> comment)
Parameters:
comment - Les instances de comment à ajouter.

setComment

void setComment(java.util.List<Comment> comment)
Parameters:
comment - La Collection de comment à positionner.

removeComment

void removeComment(Comment comment)
Parameters:
comment - L'instance de comment à retirer.

clearComment

void clearComment()
Vide la Collection de comment.


getComment

java.util.List<Comment> getComment()
Returns:
La Liste de comment.

getCommentByTopiaId

Comment getCommentByTopiaId(java.lang.String topiaId)
Recupère l'attribut comment à partir de son topiaId.

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

sizeComment

int sizeComment()
Returns:
Le nombre d'éléments de la collection comment.

isCommentEmpty

boolean isCommentEmpty()
Returns:
true si la collection comment est vide.

addVote

void addVote(Vote vote)
Parameters:
vote - L'instance de vote à ajouter.

addAllVote

void addAllVote(java.util.List<Vote> vote)
Parameters:
vote - Les instances de vote à ajouter.

setVote

void setVote(java.util.List<Vote> vote)
Parameters:
vote - La Collection de vote à positionner.

removeVote

void removeVote(Vote vote)
Parameters:
vote - L'instance de vote à retirer.

clearVote

void clearVote()
Vide la Collection de vote.


getVote

java.util.List<Vote> getVote()
Returns:
La Liste de vote.

getVoteByTopiaId

Vote getVoteByTopiaId(java.lang.String topiaId)
Recupère l'attribut vote à partir de son topiaId.

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

sizeVote

int sizeVote()
Returns:
Le nombre d'éléments de la collection vote.

isVoteEmpty

boolean isVoteEmpty()
Returns:
true si la collection vote est vide.

setPersonList

void setPersonList(PersonList personList)
Parameters:
personList - La valeur de l'attribut personList à positionner.

getPersonList

PersonList getPersonList()
Returns:
La valeur de l'attribut personList.

setUserAccount

void setUserAccount(UserAccount userAccount)
Parameters:
userAccount - La valeur de l'attribut userAccount à positionner.

getUserAccount

UserAccount getUserAccount()
Returns:
La valeur de l'attribut userAccount.


Copyright © 2009-2010 CodeLutin. All Rights Reserved.