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
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, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
TopiaAuthorizationImpl
public TopiaAuthorizationImpl()
implies
public boolean implies(TopiaAuthorization other)
- Compare deux autorisations entres elles.
- 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 = ?
- 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 = ?
- 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 = ?
- Parameters:
thisPrincipals - un principalthatPrincipals - un autre principal
- Returns:
- vrai si thisPrincipals implique thatPrincipals
Copyright © 2004-2011 CodeLutin. All Rights Reserved.