org.nuiton.topia.history.entities
Class HistoryAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.nuiton.topia.history.entities.HistoryAbstract
All Implemented Interfaces:
java.io.Serializable, History, TopiaEntity
Direct Known Subclasses:
HistoryImpl

public abstract class HistoryAbstract
extends TopiaEntityAbstract
implements History

See Also:
Serialized Form

Field Summary
 int action
           
 java.util.Date actionDate
           
 java.lang.String target
           
 java.lang.String type
           
 java.lang.String userId
           
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.nuiton.topia.history.entities.History
ACTION, ACTION_DATE, TARGET, TYPE, USER_ID
 
Constructor Summary
HistoryAbstract()
           
 
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 getAction()
          getAction :
 java.util.Date getActionDate()
          getActionDate :
 java.util.List<TopiaEntity> getComposite()
          getComposite :
 java.lang.String getTarget()
          getTarget :
 java.lang.String getType()
          getType :
 java.lang.String getUserId()
          getUserId :
 void setAction(int value)
          setAction :
 void setActionDate(java.util.Date value)
          setActionDate :
 void setTarget(java.lang.String value)
          setTarget :
 void setType(java.lang.String value)
          setType :
 void setUserId(java.lang.String value)
          setUserId :
 java.lang.String toString()
          toString :
 void update()
          update :
 
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.history.entities.History
setAction, setTypeAndTarget
 
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

actionDate

public java.util.Date actionDate

userId

public java.lang.String userId

action

public int action

type

public java.lang.String type

target

public java.lang.String target
Constructor Detail

HistoryAbstract

public HistoryAbstract()
Method Detail

update

public void update()
            throws TopiaException
update :

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

delete

public void delete()
            throws TopiaException
delete :

Specified by:
delete in interface TopiaEntity
Overrides:
delete in class TopiaEntityAbstract
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
Parameters:
visitor - le visiteur de l'entite.
Throws:
TopiaException

accept

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

Returns:
List
Throws:
TopiaException

getComposite

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

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

setActionDate

public void setActionDate(java.util.Date value)
setActionDate :

Specified by:
setActionDate in interface History
Parameters:
value -

getActionDate

public java.util.Date getActionDate()
getActionDate :

Specified by:
getActionDate in interface History
Returns:
Date

setUserId

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

Specified by:
setUserId in interface History
Parameters:
value -

getUserId

public java.lang.String getUserId()
getUserId :

Specified by:
getUserId in interface History
Returns:
String

setAction

public void setAction(int value)
setAction :

Specified by:
setAction in interface History
Parameters:
value -

getAction

public int getAction()
getAction :

Specified by:
getAction in interface History
Returns:
int

setType

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

Specified by:
setType in interface History
Parameters:
value -

getType

public java.lang.String getType()
getType :

Specified by:
getType in interface History
Returns:
String

setTarget

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

Specified by:
setTarget in interface History
Parameters:
value -

getTarget

public java.lang.String getTarget()
getTarget :

Specified by:
getTarget in interface History
Returns:
String

toString

public java.lang.String toString()
toString :

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 2004-2009 CodeLutin. All Rights Reserved.