BrightSide Workbench Full Report + Source Code
org.turro.activity.AttachActivity Class Reference
Inheritance diagram for org.turro.activity.AttachActivity:
Collaboration diagram for org.turro.activity.AttachActivity:

Public Member Functions

void generate ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 33 of file AttachActivity.java.

Member Function Documentation

◆ generate()

void org.turro.activity.AttachActivity.generate ( )

Implements org.turro.activity.IElephantActivity.

Definition at line 36 of file AttachActivity.java.

36  {
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());
44  }
45  });
46  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: