org.chorem.pollen.business.persistence
Class UserAccountAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.pollen.business.persistence.UserAccountAbstract
All Implemented Interfaces:
Serializable, UserAccount, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
UserAccountImpl

public abstract class UserAccountAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements UserAccount

See Also:
Serialized Form

Field Summary
protected  boolean administrator
          Nom de l'attribut en BD : administrator
protected  String email
          Nom de l'attribut en BD : email
protected  List<PersonList> favoriteList
          Nom de l'attribut en BD : favoriteList
protected  String firstName
          Nom de l'attribut en BD : firstName
protected  String language
          Nom de l'attribut en BD : language
protected  String lastName
          Nom de l'attribut en BD : lastName
protected  String login
          Nom de l'attribut en BD : login
protected  String password
          Nom de l'attribut en BD : password
protected  List<PollAccount> pollAccount
          Nom de l'attribut en BD : pollAccount
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.chorem.pollen.business.persistence.UserAccount
PROPERTY_ADMINISTRATOR, PROPERTY_EMAIL, PROPERTY_FAVORITE_LIST, PROPERTY_FIRST_NAME, PROPERTY_LANGUAGE, PROPERTY_LAST_NAME, PROPERTY_LOGIN, PROPERTY_PASSWORD, PROPERTY_POLL_ACCOUNT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
UserAccountAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllFavoriteList(List<PersonList> favoriteList)
           
 void addAllPollAccount(List<PollAccount> pollAccount)
           
 void addFavoriteList(PersonList favoriteList)
           
 void addPollAccount(PollAccount pollAccount)
           
 void clearFavoriteList()
           
 void clearPollAccount()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getEmail()
           
 List<PersonList> getFavoriteList()
           
 PersonList getFavoriteListByTopiaId(String topiaId)
           
 String getFirstName()
           
 String getLanguage()
           
 String getLastName()
           
 String getLogin()
           
 String getPassword()
           
 List<PollAccount> getPollAccount()
           
 PollAccount getPollAccountByTopiaId(String topiaId)
           
 boolean isAdministrator()
           
 boolean isFavoriteListEmpty()
           
 boolean isPollAccountEmpty()
           
 void removeFavoriteList(PersonList favoriteList)
           
 void removePollAccount(PollAccount pollAccount)
           
 void setAdministrator(boolean administrator)
           
 void setEmail(String email)
           
 void setFavoriteList(List<PersonList> favoriteList)
           
 void setFirstName(String firstName)
           
 void setLanguage(String language)
           
 void setLastName(String lastName)
           
 void setLogin(String login)
           
 void setPassword(String password)
           
 void setPollAccount(List<PollAccount> pollAccount)
           
 int sizeFavoriteList()
           
 int sizePollAccount()
           
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.chorem.pollen.business.persistence.UserAccount
getDisplayName
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

login

protected String login
Nom de l'attribut en BD : login


password

protected String password
Nom de l'attribut en BD : password


firstName

protected String firstName
Nom de l'attribut en BD : firstName


lastName

protected String lastName
Nom de l'attribut en BD : lastName


administrator

protected boolean administrator
Nom de l'attribut en BD : administrator


language

protected String language
Nom de l'attribut en BD : language


email

protected String email
Nom de l'attribut en BD : email


favoriteList

protected List<PersonList> favoriteList
Nom de l'attribut en BD : favoriteList


pollAccount

protected List<PollAccount> pollAccount
Nom de l'attribut en BD : pollAccount

Constructor Detail

UserAccountAbstract

public UserAccountAbstract()
Method Detail

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Throws:
org.nuiton.topia.TopiaException

setLogin

public void setLogin(String login)
Specified by:
setLogin in interface UserAccount

getLogin

public String getLogin()
Specified by:
getLogin in interface UserAccount

setPassword

public void setPassword(String password)
Specified by:
setPassword in interface UserAccount

getPassword

public String getPassword()
Specified by:
getPassword in interface UserAccount

setFirstName

public void setFirstName(String firstName)
Specified by:
setFirstName in interface UserAccount

getFirstName

public String getFirstName()
Specified by:
getFirstName in interface UserAccount

setLastName

public void setLastName(String lastName)
Specified by:
setLastName in interface UserAccount

getLastName

public String getLastName()
Specified by:
getLastName in interface UserAccount

setAdministrator

public void setAdministrator(boolean administrator)
Specified by:
setAdministrator in interface UserAccount

isAdministrator

public boolean isAdministrator()
Specified by:
isAdministrator in interface UserAccount

setLanguage

public void setLanguage(String language)
Specified by:
setLanguage in interface UserAccount

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface UserAccount

setEmail

public void setEmail(String email)
Specified by:
setEmail in interface UserAccount

getEmail

public String getEmail()
Specified by:
getEmail in interface UserAccount

addFavoriteList

public void addFavoriteList(PersonList favoriteList)
Specified by:
addFavoriteList in interface UserAccount

addAllFavoriteList

public void addAllFavoriteList(List<PersonList> favoriteList)
Specified by:
addAllFavoriteList in interface UserAccount

setFavoriteList

public void setFavoriteList(List<PersonList> favoriteList)
Specified by:
setFavoriteList in interface UserAccount

removeFavoriteList

public void removeFavoriteList(PersonList favoriteList)
Specified by:
removeFavoriteList in interface UserAccount

clearFavoriteList

public void clearFavoriteList()
Specified by:
clearFavoriteList in interface UserAccount

getFavoriteList

public List<PersonList> getFavoriteList()
Specified by:
getFavoriteList in interface UserAccount

getFavoriteListByTopiaId

public PersonList getFavoriteListByTopiaId(String topiaId)
Specified by:
getFavoriteListByTopiaId in interface UserAccount

sizeFavoriteList

public int sizeFavoriteList()
Specified by:
sizeFavoriteList in interface UserAccount

isFavoriteListEmpty

public boolean isFavoriteListEmpty()
Specified by:
isFavoriteListEmpty in interface UserAccount

addPollAccount

public void addPollAccount(PollAccount pollAccount)
Specified by:
addPollAccount in interface UserAccount

addAllPollAccount

public void addAllPollAccount(List<PollAccount> pollAccount)
Specified by:
addAllPollAccount in interface UserAccount

setPollAccount

public void setPollAccount(List<PollAccount> pollAccount)
Specified by:
setPollAccount in interface UserAccount

removePollAccount

public void removePollAccount(PollAccount pollAccount)
Specified by:
removePollAccount in interface UserAccount

clearPollAccount

public void clearPollAccount()
Specified by:
clearPollAccount in interface UserAccount

getPollAccount

public List<PollAccount> getPollAccount()
Specified by:
getPollAccount in interface UserAccount

getPollAccountByTopiaId

public PollAccount getPollAccountByTopiaId(String topiaId)
Specified by:
getPollAccountByTopiaId in interface UserAccount

sizePollAccount

public int sizePollAccount()
Specified by:
sizePollAccount in interface UserAccount

isPollAccountEmpty

public boolean isPollAccountEmpty()
Specified by:
isPollAccountEmpty in interface UserAccount

getAggregate

public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

getComposite

public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException


Copyright © 2009-2012 CodeLutin. All Rights Reserved.