◆ generate()
void org.turro.activity.AttachActivity.generate |
( |
| ) |
|
Implements org.turro.activity.IElephantActivity.
Definition at line 36 of file AttachActivity.java.
37 Activities attacts = Activities.of(
"Attached");
38 SqlClause.select(
"attach").from(
"Attachment attach")
39 .where().greater(
"attach.modification", attacts.lastDate())
40 .dao(dao.get()).forEach(Attachment.class, attach -> {
41 IElephantEntity iattach = attach.getOwnerEntity();
42 if(!iattach.isEmpty()) {
43 attacts.add(attach.getModification(), AttachPU.getObjectPath(attach), iattach.getPath(), iattach.getHierarchicalPath());
The documentation for this class was generated from the following file: