org.nuiton.topia.security.entities.authorization
Interface TopiaAuthorization

All Superinterfaces:
NoSecurityLoad, TopiaEntity
All Known Subinterfaces:
TopiaAssociationAuthorization, TopiaEntityAuthorization
All Known Implementing Classes:
TopiaAssociationAuthorizationAbstract, TopiaAssociationAuthorizationImpl, TopiaAuthorizationAbstract, TopiaAuthorizationImpl, TopiaEntityAuthorizationAbstract, TopiaEntityAuthorizationImpl

public interface TopiaAuthorization
extends NoSecurityLoad, TopiaEntity


Method Summary
 int getActions()
           
 java.lang.String getExpression()
           
 java.util.Set getPrincipals()
           
 boolean implies(TopiaAuthorization authorization)
           
 boolean impliesActions(int thisActions, int thatActions)
           
 boolean impliesExpression(java.lang.String thisExpression, java.lang.String thatExpression)
           
 boolean impliesPrincipals(java.util.Set thisPrincipals, java.util.Set thatPrincipals)
           
 
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
 

Method Detail

getExpression

java.lang.String getExpression()

getActions

int getActions()

getPrincipals

java.util.Set getPrincipals()

implies

boolean implies(TopiaAuthorization authorization)
Parameters:
authorization - null

impliesExpression

boolean impliesExpression(java.lang.String thisExpression,
                          java.lang.String thatExpression)
Parameters:
thisExpression - null
thatExpression - null

impliesActions

boolean impliesActions(int thisActions,
                       int thatActions)
Parameters:
thisActions - null
thatActions - null

impliesPrincipals

boolean impliesPrincipals(java.util.Set thisPrincipals,
                          java.util.Set thatPrincipals)
Parameters:
thisPrincipals - null
thatPrincipals - null


Copyright © 2004-2009 CodeLutin. All Rights Reserved.