org.nuiton.topia.security.entities.authorization
Class TopiaEntityAuthorizationAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.nuiton.topia.security.entities.authorization.TopiaAuthorizationAbstract
          extended by org.nuiton.topia.security.entities.authorization.TopiaAuthorizationImpl
              extended by org.nuiton.topia.security.entities.authorization.TopiaEntityAuthorizationAbstract
All Implemented Interfaces:
Serializable, TopiaEntity, TopiaAuthorization, TopiaEntityAuthorization, NoSecurityLoad
Direct Known Subclasses:
TopiaEntityAuthorizationImpl

public abstract class TopiaEntityAuthorizationAbstract
extends TopiaAuthorizationImpl
implements TopiaEntityAuthorization

See Also:
Serialized Form

Field Summary
protected  int actions
          Nom de l'attribut en BD : actions
protected  String expression
          Nom de l'attribut en BD : expression
protected  Set principals
          Nom de l'attribut en BD : principals
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.nuiton.topia.security.entities.authorization.TopiaEntityAuthorization
ACTIONS, EXPRESSION, PRINCIPALS
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
TopiaEntityAuthorizationAbstract()
           
 
Method Summary
 void accept(EntityVisitor visitor)
           
 int getActions()
           
 List<TopiaEntity> getAggregate()
           
 List<TopiaEntity> getComposite()
           
 String getExpression()
           
 Set getPrincipals()
           
 void setActions(int actions)
           
 void setExpression(String expression)
           
 void setPrincipals(Set principals)
           
 String toString()
           
 
Methods inherited from class org.nuiton.topia.security.entities.authorization.TopiaAuthorizationImpl
implies, impliesActions, impliesExpression, impliesPrincipals
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuiton.topia.security.entities.authorization.TopiaEntityAuthorization
setActions, setPrincipals
 
Methods inherited from interface org.nuiton.topia.security.entities.authorization.TopiaAuthorization
implies, impliesActions, impliesExpression, impliesPrincipals
 
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
 

Field Detail

expression

protected String expression
Nom de l'attribut en BD : expression


actions

protected int actions
Nom de l'attribut en BD : actions


principals

protected Set principals
Nom de l'attribut en BD : principals

Constructor Detail

TopiaEntityAuthorizationAbstract

public TopiaEntityAuthorizationAbstract()
Method Detail

accept

public void accept(EntityVisitor visitor)
            throws TopiaException
Specified by:
accept in interface TopiaEntity
Overrides:
accept in class TopiaAuthorizationAbstract
Throws:
TopiaException

setExpression

public void setExpression(String expression)
Specified by:
setExpression in interface TopiaEntityAuthorization

getExpression

public String getExpression()
Specified by:
getExpression in interface TopiaAuthorization
Specified by:
getExpression in interface TopiaEntityAuthorization

setActions

public void setActions(int actions)
Specified by:
setActions in interface TopiaEntityAuthorization

getActions

public int getActions()
Specified by:
getActions in interface TopiaAuthorization
Specified by:
getActions in interface TopiaEntityAuthorization

setPrincipals

public void setPrincipals(Set principals)
Specified by:
setPrincipals in interface TopiaEntityAuthorization

getPrincipals

public Set getPrincipals()
Specified by:
getPrincipals in interface TopiaAuthorization
Specified by:
getPrincipals in interface TopiaEntityAuthorization

getAggregate

public List<TopiaEntity> getAggregate()
                               throws TopiaException
Specified by:
getAggregate in interface TopiaEntity
Overrides:
getAggregate in class TopiaAuthorizationAbstract
Throws:
TopiaException

getComposite

public List<TopiaEntity> getComposite()
                               throws TopiaException
Specified by:
getComposite in interface TopiaEntity
Overrides:
getComposite in class TopiaAuthorizationAbstract
Throws:
TopiaException

toString

public String toString()
Overrides:
toString in class TopiaAuthorizationAbstract


Copyright © 2004-2012 CodeLutin. All Rights Reserved.