org.nuiton.topia.security.entities.authorization
Class TopiaAssociationAuthorizationImpl
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topia.security.entities.authorization.TopiaAuthorizationAbstract
org.nuiton.topia.security.entities.authorization.TopiaAuthorizationImpl
org.nuiton.topia.security.entities.authorization.TopiaAssociationAuthorizationAbstract
org.nuiton.topia.security.entities.authorization.TopiaAssociationAuthorizationImpl
- All Implemented Interfaces:
- java.io.Serializable, TopiaEntity, TopiaAssociationAuthorization, TopiaAuthorization, NoSecurityLoad
public class TopiaAssociationAuthorizationImpl
- extends TopiaAssociationAuthorizationAbstract
- implements TopiaAssociationAuthorization
Classe permettant les autorisations de type association. C'est � dire l'autorisation
permet de donn� une autorisation par rapport � une association dans le mod�le.
Attention il faut avoir une autorisation de chargement sur la l'entit� o�
commence l'association
- Author:
- ruchaud
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getExpression()
|
boolean |
impliesExpression(java.lang.String thisExpression,
java.lang.String thatExpression)
Comparare deux identifiants entres eux. |
void |
setActions(java.lang.String actions)
|
void |
setPrincipals(java.lang.String principals)
|
| Methods inherited from class org.nuiton.topia.security.entities.authorization.TopiaAssociationAuthorizationAbstract |
accept, delete, getActions, getAggregate, getComposite, getIdBeginAssociation, getNameAssociation, getPrincipals, setActions, setIdBeginAssociation, setNameAssociation, setPrincipals, toString, 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, 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 |
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 |
TopiaAssociationAuthorizationImpl
public TopiaAssociationAuthorizationImpl()
- Constructeur permettant initialisation des principals.
getExpression
public java.lang.String getExpression()
- Specified by:
getExpression in interface TopiaAssociationAuthorization- Specified by:
getExpression in interface TopiaAuthorization
impliesExpression
public boolean impliesExpression(java.lang.String thisExpression,
java.lang.String thatExpression)
- Description copied from class:
TopiaAuthorizationImpl
- Comparare deux identifiants entres eux.
thisId => thatId = ?
- Specified by:
impliesExpression in interface TopiaAuthorization- Overrides:
impliesExpression in class TopiaAuthorizationImpl
- Parameters:
thisExpression - un identifiantthatExpression - un autre identifiant
- Returns:
- vrai si thisId implique thatId
setActions
public void setActions(java.lang.String actions)
- Specified by:
setActions in interface TopiaAssociationAuthorization
- Parameters:
actions - null
setPrincipals
public void setPrincipals(java.lang.String principals)
- Specified by:
setPrincipals in interface TopiaAssociationAuthorization
- Parameters:
principals - null
Copyright © 2004-2009 CodeLutin. All Rights Reserved.