org.nuiton.topia.taas.entities
Class TaasUserAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.nuiton.topia.taas.entities.TaasUserAbstract
All Implemented Interfaces:
Serializable, TopiaEntity, TaasUser
Direct Known Subclasses:
TaasUserImpl

public abstract class TaasUserAbstract
extends TopiaEntityAbstract
implements TaasUser

See Also:
Serialized Form

Field Summary
protected  String email
          Nom de l'attribut en BD : email
protected  boolean enabled
          Nom de l'attribut en BD : enabled
protected  Date lastConnectionDate
          Nom de l'attribut en BD : lastConnectionDate
protected  String link
          Nom de l'attribut en BD : link
protected  String login
          Nom de l'attribut en BD : login
protected  int numberOfConnection
          Nom de l'attribut en BD : numberOfConnection
protected  String password
          Nom de l'attribut en BD : password
protected  Collection<TaasPrincipal> principals
          Nom de l'attribut en BD : principals
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.nuiton.topia.taas.entities.TaasUser
EMAIL, ENABLED, LAST_CONNECTION_DATE, LINK, LOGIN, NUMBER_OF_CONNECTION, PASSWORD, PRINCIPALS
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
TaasUserAbstract()
           
 
Method Summary
 void accept(EntityVisitor visitor)
          accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void addAllPrincipals(Collection<TaasPrincipal> principals)
          addAllPrincipals :
 void addPrincipals(TaasPrincipal principals)
          addPrincipals :
 void clearPrincipals()
          clearPrincipals :
 List<TopiaEntity> getAggregate()
          getAggregate :
 List<TopiaEntity> getComposite()
          getComposite :
 String getEmail()
          getEmail :
 boolean getEnabled()
          getEnabled :
 Date getLastConnectionDate()
          getLastConnectionDate :
 String getLink()
          getLink :
 String getLogin()
          getLogin :
 int getNumberOfConnection()
          getNumberOfConnection :
 String getPassword()
          getPassword :
 Collection<TaasPrincipal> getPrincipals()
          getPrincipals :
 TaasPrincipal getPrincipalsByTopiaId(String topiaId)
          getPrincipalsByTopiaId :
 boolean isEnabled()
          isEnabled :
 boolean isPrincipalsEmpty()
          isPrincipalsEmpty :
 void removePrincipals(TaasPrincipal principals)
          removePrincipals :
 void setEmail(String email)
          setEmail :
 void setEnabled(boolean enabled)
          setEnabled :
 void setLastConnectionDate(Date lastConnectionDate)
          setLastConnectionDate :
 void setLink(String link)
          setLink :
 void setLogin(String login)
          setLogin :
 void setNumberOfConnection(int numberOfConnection)
          setNumberOfConnection :
 void setPassword(String password)
          setPassword :
 void setPrincipals(Collection<TaasPrincipal> principals)
          setPrincipals :
 int sizePrincipals()
          sizePrincipals :
 String toString()
          toString :
 
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, wait, wait, wait
 
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


email

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


enabled

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


lastConnectionDate

protected Date lastConnectionDate
Nom de l'attribut en BD : lastConnectionDate


numberOfConnection

protected int numberOfConnection
Nom de l'attribut en BD : numberOfConnection


link

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


principals

protected Collection<TaasPrincipal> principals
Nom de l'attribut en BD : principals

Constructor Detail

TaasUserAbstract

public TaasUserAbstract()
Method Detail

accept

public void accept(EntityVisitor visitor)
            throws TopiaException
accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.

Specified by:
accept in interface TopiaEntity
Parameters:
visitor - le visiteur de l'entite.
Throws:
TopiaException

setLogin

public void setLogin(String login)
setLogin :

Specified by:
setLogin in interface TaasUser
Parameters:
login -

getLogin

public String getLogin()
getLogin :

Specified by:
getLogin in interface TaasUser
Returns:
String

setPassword

public void setPassword(String password)
setPassword :

Specified by:
setPassword in interface TaasUser
Parameters:
password -

getPassword

public String getPassword()
getPassword :

Specified by:
getPassword in interface TaasUser
Returns:
String

setEmail

public void setEmail(String email)
setEmail :

Specified by:
setEmail in interface TaasUser
Parameters:
email -

getEmail

public String getEmail()
getEmail :

Specified by:
getEmail in interface TaasUser
Returns:
String

setEnabled

public void setEnabled(boolean enabled)
setEnabled :

Specified by:
setEnabled in interface TaasUser
Parameters:
enabled -

getEnabled

public boolean getEnabled()
getEnabled :

Specified by:
getEnabled in interface TaasUser
Returns:
boolean

isEnabled

public boolean isEnabled()
isEnabled :

Specified by:
isEnabled in interface TaasUser
Returns:
boolean

setLastConnectionDate

public void setLastConnectionDate(Date lastConnectionDate)
setLastConnectionDate :

Specified by:
setLastConnectionDate in interface TaasUser
Parameters:
lastConnectionDate -

getLastConnectionDate

public Date getLastConnectionDate()
getLastConnectionDate :

Specified by:
getLastConnectionDate in interface TaasUser
Returns:
Date

setNumberOfConnection

public void setNumberOfConnection(int numberOfConnection)
setNumberOfConnection :

Specified by:
setNumberOfConnection in interface TaasUser
Parameters:
numberOfConnection -

getNumberOfConnection

public int getNumberOfConnection()
getNumberOfConnection :

Specified by:
getNumberOfConnection in interface TaasUser
Returns:
int

setLink

public void setLink(String link)
setLink :

Specified by:
setLink in interface TaasUser
Parameters:
link -

getLink

public String getLink()
getLink :

Specified by:
getLink in interface TaasUser
Returns:
String

addPrincipals

public void addPrincipals(TaasPrincipal principals)
addPrincipals :

Specified by:
addPrincipals in interface TaasUser
Parameters:
principals -

addAllPrincipals

public void addAllPrincipals(Collection<TaasPrincipal> principals)
addAllPrincipals :

Specified by:
addAllPrincipals in interface TaasUser
Parameters:
principals -

setPrincipals

public void setPrincipals(Collection<TaasPrincipal> principals)
setPrincipals :

Specified by:
setPrincipals in interface TaasUser
Parameters:
principals -

removePrincipals

public void removePrincipals(TaasPrincipal principals)
removePrincipals :

Specified by:
removePrincipals in interface TaasUser
Parameters:
principals -

clearPrincipals

public void clearPrincipals()
clearPrincipals :

Specified by:
clearPrincipals in interface TaasUser

getPrincipals

public Collection<TaasPrincipal> getPrincipals()
getPrincipals :

Specified by:
getPrincipals in interface TaasUser
Returns:
Collection

getPrincipalsByTopiaId

public TaasPrincipal getPrincipalsByTopiaId(String topiaId)
getPrincipalsByTopiaId :

Specified by:
getPrincipalsByTopiaId in interface TaasUser
Parameters:
topiaId -
Returns:
TaasPrincipal

sizePrincipals

public int sizePrincipals()
sizePrincipals :

Specified by:
sizePrincipals in interface TaasUser
Returns:
int

isPrincipalsEmpty

public boolean isPrincipalsEmpty()
isPrincipalsEmpty :

Specified by:
isPrincipalsEmpty in interface TaasUser
Returns:
boolean

getAggregate

public List<TopiaEntity> getAggregate()
                               throws TopiaException
getAggregate :

Specified by:
getAggregate in interface TopiaEntity
Overrides:
getAggregate in class TopiaEntityAbstract
Returns:
List
Throws:
TopiaException

getComposite

public List<TopiaEntity> getComposite()
                               throws TopiaException
getComposite :

Specified by:
getComposite in interface TopiaEntity
Overrides:
getComposite in class TopiaEntityAbstract
Returns:
List
Throws:
TopiaException

toString

public String toString()
toString :

Overrides:
toString in class Object
Returns:
String


Copyright © 2004-2011 CodeLutin. All Rights Reserved.