org.nuiton.topia.taas.entities
Class TaasPrincipalAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.nuiton.topia.taas.entities.TaasPrincipalAbstract
All Implemented Interfaces:
Serializable, TopiaEntity, TaasPrincipal
Direct Known Subclasses:
TaasPrincipalImpl

public abstract class TaasPrincipalAbstract
extends TopiaEntityAbstract
implements TaasPrincipal

See Also:
Serialized Form

Field Summary
protected  Collection<TaasAuthorization> authorizations
          Nom de l'attribut en BD : authorizations
protected  String name
          Nom de l'attribut en BD : name
 
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.TaasPrincipal
AUTHORIZATIONS, NAME
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
TaasPrincipalAbstract()
           
 
Method Summary
 void accept(EntityVisitor visitor)
           
 void addAllAuthorizations(Collection<TaasAuthorization> authorizations)
           
 void addAuthorizations(TaasAuthorization authorizations)
           
 void clearAuthorizations()
           
 List<TopiaEntity> getAggregate()
           
 Collection<TaasAuthorization> getAuthorizations()
           
 TaasAuthorization getAuthorizationsByTopiaId(String topiaId)
           
 List<TopiaEntity> getComposite()
           
 String getName()
           
 boolean isAuthorizationsEmpty()
           
 void removeAuthorizations(TaasAuthorization authorizations)
           
 void setAuthorizations(Collection<TaasAuthorization> authorizations)
           
 void setName(String name)
           
 int sizeAuthorizations()
           
 String 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

name

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


authorizations

protected Collection<TaasAuthorization> authorizations
Nom de l'attribut en BD : authorizations

Constructor Detail

TaasPrincipalAbstract

public TaasPrincipalAbstract()
Method Detail

accept

public void accept(EntityVisitor visitor)
            throws TopiaException
Specified by:
accept in interface TopiaEntity
Throws:
TopiaException

setName

public void setName(String name)
Specified by:
setName in interface TaasPrincipal

getName

public String getName()
Specified by:
getName in interface TaasPrincipal

addAuthorizations

public void addAuthorizations(TaasAuthorization authorizations)
Specified by:
addAuthorizations in interface TaasPrincipal

addAllAuthorizations

public void addAllAuthorizations(Collection<TaasAuthorization> authorizations)
Specified by:
addAllAuthorizations in interface TaasPrincipal

setAuthorizations

public void setAuthorizations(Collection<TaasAuthorization> authorizations)
Specified by:
setAuthorizations in interface TaasPrincipal

removeAuthorizations

public void removeAuthorizations(TaasAuthorization authorizations)
Specified by:
removeAuthorizations in interface TaasPrincipal

clearAuthorizations

public void clearAuthorizations()
Specified by:
clearAuthorizations in interface TaasPrincipal

getAuthorizations

public Collection<TaasAuthorization> getAuthorizations()
Specified by:
getAuthorizations in interface TaasPrincipal

getAuthorizationsByTopiaId

public TaasAuthorization getAuthorizationsByTopiaId(String topiaId)
Specified by:
getAuthorizationsByTopiaId in interface TaasPrincipal

sizeAuthorizations

public int sizeAuthorizations()
Specified by:
sizeAuthorizations in interface TaasPrincipal

isAuthorizationsEmpty

public boolean isAuthorizationsEmpty()
Specified by:
isAuthorizationsEmpty in interface TaasPrincipal

getAggregate

public List<TopiaEntity> getAggregate()
                               throws TopiaException
Specified by:
getAggregate in interface TopiaEntity
Overrides:
getAggregate in class TopiaEntityAbstract
Throws:
TopiaException

getComposite

public List<TopiaEntity> getComposite()
                               throws TopiaException
Specified by:
getComposite in interface TopiaEntity
Overrides:
getComposite in class TopiaEntityAbstract
Throws:
TopiaException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 CodeLutin. All Rights Reserved.