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

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.TopiaAssociationAuthorizationAbstract
All Implemented Interfaces:
Serializable, TopiaEntity, TopiaAssociationAuthorization, TopiaAuthorization, NoSecurityLoad
Direct Known Subclasses:
TopiaAssociationAuthorizationImpl

public abstract class TopiaAssociationAuthorizationAbstract
extends TopiaAuthorizationImpl
implements TopiaAssociationAuthorization

See Also:
Serialized Form

Field Summary
protected  int actions
           
protected  String idBeginAssociation
           
protected  String nameAssociation
           
protected  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.TopiaAssociationAuthorization
ACTIONS, ID_BEGIN_ASSOCIATION, NAME_ASSOCIATION, PRINCIPALS
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
TopiaAssociationAuthorizationAbstract()
           
 
Method Summary
 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 :
 List<TopiaEntity> getComposite()
          getComposite :
 String getIdBeginAssociation()
          getIdBeginAssociation :
 String getNameAssociation()
          getNameAssociation :
 Set getPrincipals()
          getPrincipals :
 void setActions(int value)
          setActions :
 void setIdBeginAssociation(String value)
          setIdBeginAssociation :
 void setNameAssociation(String value)
          setNameAssociation :
 void setPrincipals(Set value)
          setPrincipals :
 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, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, 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.TopiaAssociationAuthorization
getExpression, 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

idBeginAssociation

protected String idBeginAssociation

nameAssociation

protected String nameAssociation

actions

protected int actions

principals

protected Set principals
Constructor Detail

TopiaAssociationAuthorizationAbstract

public TopiaAssociationAuthorizationAbstract()
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 List<TopiaEntity> accept()
                         throws TopiaException
accept :

Overrides:
accept 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

setIdBeginAssociation

public void setIdBeginAssociation(String value)
setIdBeginAssociation :

Specified by:
setIdBeginAssociation in interface TopiaAssociationAuthorization
Parameters:
value -

getIdBeginAssociation

public String getIdBeginAssociation()
getIdBeginAssociation :

Specified by:
getIdBeginAssociation in interface TopiaAssociationAuthorization
Returns:
String

setNameAssociation

public void setNameAssociation(String value)
setNameAssociation :

Specified by:
setNameAssociation in interface TopiaAssociationAuthorization
Parameters:
value -

getNameAssociation

public String getNameAssociation()
getNameAssociation :

Specified by:
getNameAssociation in interface TopiaAssociationAuthorization
Returns:
String

setActions

public void setActions(int value)
setActions :

Specified by:
setActions in interface TopiaAssociationAuthorization
Parameters:
value -

getActions

public int getActions()
getActions :

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

setPrincipals

public void setPrincipals(Set value)
setPrincipals :

Specified by:
setPrincipals in interface TopiaAssociationAuthorization
Parameters:
value -

getPrincipals

public Set getPrincipals()
getPrincipals :

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

toString

public String toString()
toString :

Overrides:
toString in class TopiaAuthorizationAbstract
Returns:
String


Copyright © 2004-2010 CodeLutin. All Rights Reserved.