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
 Collection<TaasAuthorization> authorizations
           
protected  String 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
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
TaasPrincipalAbstract()
           
 
Method Summary
 List<TopiaEntity> accept()
          accept :
 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 addAllAuthorizations(Collection<TaasAuthorization> values)
          addAllAuthorizations :
 void addAuthorizations(TaasAuthorization authorizations)
          addAuthorizations :
 void clearAuthorizations()
          clearAuthorizations :
 void delete()
          delete :
 Collection<TaasAuthorization> getAuthorizations()
          getAuthorizations :
 TaasAuthorization getAuthorizationsByTopiaId(String topiaId)
          getAuthorizationsByTopiaId :
 List<TopiaEntity> getComposite()
          getComposite :
 String getName()
          getName :
 boolean isAuthorizationsEmpty()
          isAuthorizationsEmpty :
 void removeAuthorizations(TaasAuthorization value)
          removeAuthorizations :
 void setAuthorizations(Collection<TaasAuthorization> values)
          setAuthorizations :
 void setName(String value)
          setName :
 int sizeAuthorizations()
          sizeAuthorizations :
 String toString()
          toString :
 void update()
          update :
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, 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, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

name

protected String name

authorizations

public Collection<TaasAuthorization> authorizations
Constructor Detail

TaasPrincipalAbstract

public TaasPrincipalAbstract()
Method Detail

update

public void update()
            throws TopiaException
update :

Specified by:
update in interface TopiaEntity
Overrides:
update in class TopiaEntityAbstract
Throws:
TopiaException

delete

public void delete()
            throws TopiaException
delete :

Specified by:
delete in interface TopiaEntity
Overrides:
delete in class TopiaEntityAbstract
Throws:
TopiaException

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

accept

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

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

setName

public void setName(String value)
setName :

Specified by:
setName in interface TaasPrincipal
Parameters:
value -

getName

public String getName()
getName :

Specified by:
getName in interface TaasPrincipal
Returns:
String

addAuthorizations

public void addAuthorizations(TaasAuthorization authorizations)
addAuthorizations :

Specified by:
addAuthorizations in interface TaasPrincipal
Parameters:
authorizations -

addAllAuthorizations

public void addAllAuthorizations(Collection<TaasAuthorization> values)
addAllAuthorizations :

Specified by:
addAllAuthorizations in interface TaasPrincipal
Parameters:
values -

getAuthorizationsByTopiaId

public TaasAuthorization getAuthorizationsByTopiaId(String topiaId)
getAuthorizationsByTopiaId :

Specified by:
getAuthorizationsByTopiaId in interface TaasPrincipal
Parameters:
topiaId -
Returns:
TaasAuthorization

setAuthorizations

public void setAuthorizations(Collection<TaasAuthorization> values)
setAuthorizations :

Specified by:
setAuthorizations in interface TaasPrincipal
Parameters:
values -

removeAuthorizations

public void removeAuthorizations(TaasAuthorization value)
removeAuthorizations :

Specified by:
removeAuthorizations in interface TaasPrincipal
Parameters:
value -

clearAuthorizations

public void clearAuthorizations()
clearAuthorizations :

Specified by:
clearAuthorizations in interface TaasPrincipal

getAuthorizations

public Collection<TaasAuthorization> getAuthorizations()
getAuthorizations :

Specified by:
getAuthorizations in interface TaasPrincipal
Returns:
Collection

sizeAuthorizations

public int sizeAuthorizations()
sizeAuthorizations :

Specified by:
sizeAuthorizations in interface TaasPrincipal
Returns:
int

isAuthorizationsEmpty

public boolean isAuthorizationsEmpty()
isAuthorizationsEmpty :

Specified by:
isAuthorizationsEmpty in interface TaasPrincipal
Returns:
boolean

toString

public String toString()
toString :

Overrides:
toString in class Object
Returns:
String


Copyright © 2004-2010 CodeLutin. All Rights Reserved.