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:
- 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
| 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 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(String thisExpression,
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(Set thisPrincipals,
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-2010 CodeLutin. All Rights Reserved.