org.nuiton.topia.security.entities.authorization
Class TopiaAuthorizationImpl
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topia.security.entities.authorization.TopiaAuthorizationAbstract
org.nuiton.topia.security.entities.authorization.TopiaAuthorizationImpl
- All Implemented Interfaces:
- java.io.Serializable, TopiaEntity, TopiaAuthorization, NoSecurityLoad
- Direct Known Subclasses:
- TopiaAssociationAuthorizationAbstract, TopiaEntityAuthorizationAbstract
public abstract class TopiaAuthorizationImpl
- extends TopiaAuthorizationAbstract
- implements TopiaAuthorization
Classe permettant la comparaison des autorisations.
- Author:
- ruchaud
- See Also:
- Serialized Form
|
Method Summary |
boolean |
implies(TopiaAuthorization other)
Compare deux autorisations entres elles. |
boolean |
impliesActions(int thisActions,
int thatActions)
Compare deux actions entre elles. |
boolean |
impliesExpression(java.lang.String thisExpression,
java.lang.String thatExpression)
Comparare deux identifiants entres eux. |
boolean |
impliesPrincipals(java.util.Set thisPrincipals,
java.util.Set thatPrincipals)
Compare deux principals entre eux. |
| 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 |
TopiaAuthorizationImpl
public TopiaAuthorizationImpl()
implies
public boolean implies(TopiaAuthorization other)
- Compare deux autorisations entres elles.
- Specified by:
implies in interface TopiaAuthorization
- Parameters:
other - une autre autorisation
- Returns:
- vrai si l'autorisation implique l'autre
impliesExpression
public boolean impliesExpression(java.lang.String thisExpression,
java.lang.String thatExpression)
- Comparare deux identifiants entres eux.
thisId => thatId = ?
- Specified by:
impliesExpression in interface TopiaAuthorization
- Parameters:
thisExpression - un identifiantthatExpression - un autre identifiant
- Returns:
- vrai si thisId implique thatId
impliesActions
public boolean impliesActions(int thisActions,
int thatActions)
- Compare deux actions entre elles.
thisActions => thatActions = ?
- Specified by:
impliesActions in interface TopiaAuthorization
- Parameters:
thisActions - une actionthatActions - une autre action
- Returns:
- vrai si thisActions implique thatActions
impliesPrincipals
public boolean impliesPrincipals(java.util.Set thisPrincipals,
java.util.Set thatPrincipals)
- Compare deux principals entre eux.
thisPrincipals => thatPrincipals = ?
- Specified by:
impliesPrincipals in interface TopiaAuthorization
- Parameters:
thisPrincipals - un principalthatPrincipals - un autre principal
- Returns:
- vrai si thisPrincipals implique thatPrincipals
Copyright © 2004-2009 CodeLutin. All Rights Reserved.