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
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
TopiaEntityAuthorizationAbstract()
           
 
Method Summary
 void accept(EntityVisitor visitor)
          accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 int getActions()
          getActions :
 List<TopiaEntity> getAggregate()
          getAggregate :
 List<TopiaEntity> getComposite()
          getComposite :
 String getExpression()
          getExpression :
 Set getPrincipals()
          getPrincipals :
 void setActions(int actions)
          setActions :
 void setExpression(String expression)
          setExpression :
 void setPrincipals(Set principals)
          setPrincipals :
 String toString()
          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
accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.

Specified by:
accept in interface TopiaEntity
Overrides:
accept in class TopiaAuthorizationAbstract
Parameters:
visitor - le visiteur de l'entite.
Throws:
TopiaException

setExpression

public void setExpression(String expression)
setExpression :

Specified by:
setExpression in interface TopiaEntityAuthorization
Parameters:
expression -

getExpression

public String getExpression()
getExpression :

Specified by:
getExpression in interface TopiaAuthorization
Specified by:
getExpression in interface TopiaEntityAuthorization
Returns:
String

setActions

public void setActions(int actions)
setActions :

Specified by:
setActions in interface TopiaEntityAuthorization
Parameters:
actions -

getActions

public int getActions()
getActions :

Specified by:
getActions in interface TopiaAuthorization
Specified by:
getActions in interface TopiaEntityAuthorization
Returns:
int

setPrincipals

public void setPrincipals(Set principals)
setPrincipals :

Specified by:
setPrincipals in interface TopiaEntityAuthorization
Parameters:
principals -

getPrincipals

public Set getPrincipals()
getPrincipals :

Specified by:
getPrincipals in interface TopiaAuthorization
Specified by:
getPrincipals in interface TopiaEntityAuthorization
Returns:
Set

getAggregate

public List<TopiaEntity> getAggregate()
                               throws TopiaException
getAggregate :

Specified by:
getAggregate in interface TopiaEntity
Overrides:
getAggregate in class TopiaAuthorizationAbstract
Returns:
List
Throws:
TopiaException

getComposite

public List<TopiaEntity> getComposite()
                               throws TopiaException
getComposite :

Specified by:
getComposite in interface TopiaEntity
Overrides:
getComposite in class TopiaAuthorizationAbstract
Returns:
List
Throws:
TopiaException

toString

public String toString()
toString :

Overrides:
toString in class TopiaAuthorizationAbstract
Returns:
String


Copyright © 2004-2011 CodeLutin. All Rights Reserved.