@Entity public class EProcess extends Object implements de.tsl2.nano.service.util.IPersistable<String>, de.tsl2.nano.core.messaging.IListener<Object>
| Constructor and Description |
|---|
EProcess() |
EProcess(Date startPeriod,
Date endPeriod) |
EProcess(Timestamp startedAt,
Date startPeriod,
Date endPeriod,
long items) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionDeactivate(ERes res) |
void |
actionResetTo(EConsilium lastActiveConsilium) |
List<EProcessLog> |
actionStart(EGrex grex) |
List<EProcessLog> |
actionStop() |
protected void |
checkAndSave() |
protected void |
checkAndSave(Set<ERes> parts) |
Date |
getEndedAt() |
Date |
getEndPeriod() |
String |
getId() |
long |
getItems() |
List<EProcessLog> |
getLog() |
Date |
getStartedAt() |
Date |
getStartPeriod() |
tsl2.nano.cursus.persistence.EProcess.Status |
getStatus() |
void |
handleEvent(Object event) |
protected void |
loadEffectree(EGrex grex) |
void |
setEndedAt(Date endedAt) |
void |
setEndPeriod(Date endPeriod) |
void |
setId(String id) |
void |
setItems(long items) |
protected void |
setLog(List<EProcessLog> log) |
void |
setStartedAt(Date startedAt) |
void |
setStartPeriod(Date startPeriod) |
void |
setStatus(tsl2.nano.cursus.persistence.EProcess.Status status) |
String |
toString() |
public String getId()
getId in interface de.tsl2.nano.service.util.IPersistable<String>public void setId(String id)
setId in interface de.tsl2.nano.service.util.IPersistable<String>public Date getStartPeriod()
public void setStartPeriod(Date startPeriod)
public Date getEndPeriod()
public void setEndPeriod(Date endPeriod)
public List<EProcessLog> getLog()
protected void setLog(List<EProcessLog> log)
public Date getStartedAt()
public void setStartedAt(Date startedAt)
public Date getEndedAt()
public void setEndedAt(Date endedAt)
public tsl2.nano.cursus.persistence.EProcess.Status getStatus()
public void setStatus(tsl2.nano.cursus.persistence.EProcess.Status status)
public long getItems()
public void setItems(long items)
public List<EProcessLog> actionStart(EGrex grex)
protected void loadEffectree(EGrex grex)
public List<EProcessLog> actionStop()
public void actionDeactivate(ERes res)
public void actionResetTo(EConsilium lastActiveConsilium)
protected void checkAndSave()
public void handleEvent(Object event)
handleEvent in interface de.tsl2.nano.core.messaging.IListener<Object>Copyright © 2012–2020. All rights reserved.