BrightSide Workbench Full Report + Source Code
org.turro.dossier.dw.DatawarehouseUtil Class Reference

Static Public Member Functions

static void generateData ()
 
static void remove (Dao dao, Dossier dossier)
 
static void remove (Dao dao, Issue issue)
 

Detailed Description

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

Definition at line 33 of file DatawarehouseUtil.java.

Member Function Documentation

◆ generateData()

static void org.turro.dossier.dw.DatawarehouseUtil.generateData ( )
static

Definition at line 37 of file DatawarehouseUtil.java.

37  {
38  Dao dao = new DossierPU();
39  lock.lock();
40  try {
41  if(checkModifications(dao)) {
42  generateDossiers(dao);
43  generateIssues(dao);
44  }
45  } finally {
46  lock.unlock();
47  }
48  }

◆ remove() [1/2]

static void org.turro.dossier.dw.DatawarehouseUtil.remove ( Dao  dao,
Dossier  dossier 
)
static

Definition at line 118 of file DatawarehouseUtil.java.

118  {
119  SqlClause.delete("DWDossier")
120  .where().equal("dossierId", dossier.getId())
121  .dao(dao)
122  .execute();
123  }
Here is the caller graph for this function:

◆ remove() [2/2]

static void org.turro.dossier.dw.DatawarehouseUtil.remove ( Dao  dao,
Issue  issue 
)
static

Definition at line 125 of file DatawarehouseUtil.java.

125  {
126  SqlClause.delete("DWIssue")
127  .where().equal("issueId", issue.getId())
128  .dao(dao)
129  .execute();
130  }

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