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:
java.io.Serializable, TopiaEntity, TopiaAuthorization, TopiaEntityAuthorization, NoSecurityLoad
Direct Known Subclasses:
TopiaEntityAuthorizationImpl

public abstract class TopiaEntityAuthorizationAbstract
extends TopiaAuthorizationImpl
implements TopiaEntityAuthorization

See Also:
Serialized Form

Field Summary
 int actions
           
 java.lang.String expression
           
 java.util.Set 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
 
Constructor Summary
TopiaEntityAuthorizationAbstract()
           
 
Method Summary
 java.util.List<TopiaEntity> accept()
          accept :
 void accept(EntityVisitor visitor)
          accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void delete()
          delete :
 int getActions()
          getActions :
 java.util.List<TopiaEntity> getComposite()
          getComposite :
 java.lang.String getExpression()
          getExpression :
 java.util.Set getPrincipals()
          getPrincipals :
 void setActions(int value)
          setActions :
 void setExpression(java.lang.String value)
          setExpression :
 void setPrincipals(java.util.Set value)
          setPrincipals :
 java.lang.String toString()
          toString :
 void update()
          update :
 
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, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, 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, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

expression

public java.lang.String expression

actions

public int actions

principals

public java.util.Set principals
Constructor Detail

TopiaEntityAuthorizationAbstract

public TopiaEntityAuthorizationAbstract()
Method Detail

update

public void update()
            throws TopiaException
update :

Specified by:
update in interface TopiaEntity
Overrides:
update in class TopiaAuthorizationAbstract
Throws:
TopiaException

delete

public void delete()
            throws TopiaException
delete :

Specified by:
delete in interface TopiaEntity
Overrides:
delete in class TopiaAuthorizationAbstract
Throws:
TopiaException

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

accept

public java.util.List<TopiaEntity> accept()
                                   throws TopiaException
accept :

Overrides:
accept in class TopiaAuthorizationAbstract
Returns:
List
Throws:
TopiaException

getComposite

public java.util.List<TopiaEntity> getComposite()
                                         throws TopiaException
getComposite :

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

setExpression

public void setExpression(java.lang.String value)
setExpression :

Specified by:
setExpression in interface TopiaEntityAuthorization
Parameters:
value -

getExpression

public java.lang.String getExpression()
getExpression :

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

setActions

public void setActions(int value)
setActions :

Specified by:
setActions in interface TopiaEntityAuthorization
Parameters:
value -

getActions

public int getActions()
getActions :

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

setPrincipals

public void setPrincipals(java.util.Set value)
setPrincipals :

Specified by:
setPrincipals in interface TopiaEntityAuthorization
Parameters:
value -

getPrincipals

public java.util.Set getPrincipals()
getPrincipals :

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

toString

public java.lang.String toString()
toString :

Overrides:
toString in class TopiaAuthorizationAbstract
Returns:
String


Copyright © 2004-2009 CodeLutin. All Rights Reserved.