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


Field Summary
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Method Summary
 int getActions()
          getActions :
 java.lang.String getExpression()
          getExpression :
 java.util.Set getPrincipals()
          getPrincipals :
 boolean implies(TopiaAuthorization authorization)
          implies :
 boolean impliesActions(int thisActions, int thatActions)
          impliesActions :
 boolean impliesExpression(java.lang.String thisExpression, java.lang.String thatExpression)
          impliesExpression :
 boolean impliesPrincipals(java.util.Set thisPrincipals, java.util.Set thatPrincipals)
          impliesPrincipals :
 
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()
getExpression :

Returns:
String

getActions

int getActions()
getActions :

Returns:
int

getPrincipals

java.util.Set getPrincipals()
getPrincipals :

Returns:
Set

implies

boolean implies(TopiaAuthorization authorization)
implies :

Parameters:
authorization -
Returns:
boolean

impliesExpression

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

Parameters:
thisExpression -
thatExpression -
Returns:
boolean

impliesActions

boolean impliesActions(int thisActions,
                       int thatActions)
impliesActions :

Parameters:
thisActions -
thatActions -
Returns:
boolean

impliesPrincipals

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

Parameters:
thisPrincipals -
thatPrincipals -
Returns:
boolean


Copyright © 2004-2010 CodeLutin. All Rights Reserved.