◆ generate()
void org.turro.activity.PublicationActivity.generate |
( |
| ) |
|
Implements org.turro.activity.IElephantActivity.
Definition at line 37 of file PublicationActivity.java.
38 Activities pubacts = Activities.of(
"Published");
39 SqlClause.select(
"pub").from(
"Publication pub")
40 .where().greater(
"pub.date", pubacts.lastDate())
41 .dao(dao.get()).forEach(Publication.class, pub -> {
42 IElephantEntity ipub = Entities.getController(pub);
43 pubacts.add(pub.getDate(), ipub.getPath(), ipub.getPath(), ipub.getHierarchicalPath());
The documentation for this class was generated from the following file: