org.nuiton.topia.taas.entities
Interface TaasPrincipal

All Superinterfaces:
TopiaEntity
All Known Implementing Classes:
TaasPrincipalAbstract, TaasPrincipalImpl

public interface TaasPrincipal
extends TopiaEntity


Field Summary
static java.lang.String AUTHORIZATIONS
           
static java.lang.String NAME
           
 
Method Summary
 void addAllAuthorizations(java.util.Collection<TaasAuthorization> authorizations)
           
 void addAuthorizations(TaasAuthorization authorizations)
           
 void clearAuthorizations()
          Vide la Collection de authorizations.
 java.util.Collection<TaasAuthorization> getAuthorizations()
           
 TaasAuthorization getAuthorizationsByTopiaId(java.lang.String topiaId)
          Recupère l'attribut authorizations à partir de son topiaId.
 java.lang.String getName()
           
 boolean isAuthorizationsEmpty()
           
 void removeAuthorizations(TaasAuthorization authorizations)
           
 void setAuthorizations(java.util.Collection<TaasAuthorization> authorizations)
           
 void setName(java.lang.String name)
           
 int sizeAuthorizations()
           
 
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

NAME

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

AUTHORIZATIONS

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

setName

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

getName

java.lang.String getName()
Returns:
La valeur de l'attribut name.

addAuthorizations

void addAuthorizations(TaasAuthorization authorizations)
Parameters:
authorizations - L'instance de authorizations à ajouter.

addAllAuthorizations

void addAllAuthorizations(java.util.Collection<TaasAuthorization> authorizations)
Parameters:
authorizations - Les instances de authorizations à ajouter.

setAuthorizations

void setAuthorizations(java.util.Collection<TaasAuthorization> authorizations)
Parameters:
authorizations - La Collection de authorizations à positionner.

removeAuthorizations

void removeAuthorizations(TaasAuthorization authorizations)
Parameters:
authorizations - L'instance de authorizations à retirer.

clearAuthorizations

void clearAuthorizations()
Vide la Collection de authorizations.


getAuthorizations

java.util.Collection<TaasAuthorization> getAuthorizations()
Returns:
La Liste de authorizations.

getAuthorizationsByTopiaId

TaasAuthorization getAuthorizationsByTopiaId(java.lang.String topiaId)
Recupère l'attribut authorizations à 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.

sizeAuthorizations

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

isAuthorizationsEmpty

boolean isAuthorizationsEmpty()
Returns:
true si la collection authorizations est vide.


Copyright © 2004-2009 CodeLutin. All Rights Reserved.