|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topia.history.entities.HistoryAbstract
public abstract class HistoryAbstract
| Field Summary | |
|---|---|
protected int |
action
|
protected Date |
actionDate
|
protected String |
target
|
protected String |
type
|
protected 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 |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Constructor Summary | |
|---|---|
HistoryAbstract()
|
|
| 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 |
getAction()
getAction : |
Date |
getActionDate()
getActionDate : |
List<TopiaEntity> |
getComposite()
getComposite : |
String |
getTarget()
getTarget : |
String |
getType()
getType : |
String |
getUserId()
getUserId : |
void |
setAction(int value)
setAction : |
void |
setActionDate(Date value)
setActionDate : |
void |
setTarget(String value)
setTarget : |
void |
setType(String value)
setType : |
void |
setUserId(String value)
setUserId : |
String |
toString()
toString : |
void |
update()
update : |
| 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 |
| Field Detail |
|---|
protected Date actionDate
protected String userId
protected int action
protected String type
protected String target
| Constructor Detail |
|---|
public HistoryAbstract()
| Method Detail |
|---|
public void update()
throws TopiaException
update in interface TopiaEntityupdate in class TopiaEntityAbstractTopiaException
public void delete()
throws TopiaException
delete in interface TopiaEntitydelete in class TopiaEntityAbstractTopiaException
public void accept(EntityVisitor visitor)
throws TopiaException
accept in interface TopiaEntityvisitor - le visiteur de l'entite.
TopiaException
public List<TopiaEntity> accept()
throws TopiaException
TopiaException
public List<TopiaEntity> getComposite()
throws TopiaException
getComposite in interface TopiaEntitygetComposite in class TopiaEntityAbstractTopiaExceptionpublic void setActionDate(Date value)
setActionDate in interface Historyvalue - public Date getActionDate()
getActionDate in interface Historypublic void setUserId(String value)
setUserId in interface Historyvalue - public String getUserId()
getUserId in interface Historypublic void setAction(int value)
setAction in interface Historyvalue - public int getAction()
getAction in interface Historypublic void setType(String value)
setType in interface Historyvalue - public String getType()
getType in interface Historypublic void setTarget(String value)
setTarget in interface Historyvalue - public String getTarget()
getTarget in interface Historypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||