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

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

public interface TopiaAuthorization
extends NoSecurityLoad, TopiaEntity


Field Summary
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Method Summary
 int getActions()
           
 String getExpression()
           
 Set getPrincipals()
           
 boolean implies(TopiaAuthorization authorization)
           
 boolean impliesActions(int thisActions, int thatActions)
           
 boolean impliesExpression(String thisExpression, String thatExpression)
           
 boolean impliesPrincipals(Set thisPrincipals, Set thatPrincipals)
           
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Method Detail

getExpression

String getExpression()

getActions

int getActions()

getPrincipals

Set getPrincipals()

implies

boolean implies(TopiaAuthorization authorization)

impliesExpression

boolean impliesExpression(String thisExpression,
                          String thatExpression)

impliesActions

boolean impliesActions(int thisActions,
                       int thatActions)

impliesPrincipals

boolean impliesPrincipals(Set thisPrincipals,
                          Set thatPrincipals)


Copyright © 2004-2012 CodeLutin. All Rights Reserved.