BrightSide Workbench Full Report + Source Code
org.turro.dossier.monitor.DossierMonitor Class Reference

Public Member Functions

 DossierMonitor (Dossier dossier)
 
 DossierMonitor (DossierWrapper wrapper)
 
 DossierMonitor (Dao dao, Long dossierId)
 
Dossier getDossier ()
 
DossierWrapper getWrapper ()
 
DossierDWReport getReport ()
 
DossierData getData ()
 

Detailed Description

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

Definition at line 31 of file DossierMonitor.java.

Constructor & Destructor Documentation

◆ DossierMonitor() [1/3]

org.turro.dossier.monitor.DossierMonitor.DossierMonitor ( Dossier  dossier)

Definition at line 37 of file DossierMonitor.java.

37  {
38  this(new DossierWrapper(dossier));
39  }

◆ DossierMonitor() [2/3]

org.turro.dossier.monitor.DossierMonitor.DossierMonitor ( DossierWrapper  wrapper)

Definition at line 41 of file DossierMonitor.java.

41  {
42  this.wrapper = wrapper;
43  }

◆ DossierMonitor() [3/3]

org.turro.dossier.monitor.DossierMonitor.DossierMonitor ( Dao  dao,
Long  dossierId 
)

Definition at line 45 of file DossierMonitor.java.

45  {
46  this.dao = dao;
47  this.dossierId = dossierId;
48  }

Member Function Documentation

◆ getData()

DossierData org.turro.dossier.monitor.DossierMonitor.getData ( )

Definition at line 68 of file DossierMonitor.java.

Here is the call graph for this function:

◆ getDossier()

Dossier org.turro.dossier.monitor.DossierMonitor.getDossier ( )

Definition at line 50 of file DossierMonitor.java.

50  {
51  return getWrapper().getEntity();
52  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getReport()

DossierDWReport org.turro.dossier.monitor.DossierMonitor.getReport ( )

Definition at line 64 of file DossierMonitor.java.

64  {
65  return getWrapper().getReport();
66  }
Here is the call graph for this function:

◆ getWrapper()

DossierWrapper org.turro.dossier.monitor.DossierMonitor.getWrapper ( )

Definition at line 54 of file DossierMonitor.java.

54  {
55  if(wrapper == null) {
56  Dossier dossier = dao.find(Dossier.class, Long.valueOf(dossierId));
57  if(dossier != null) {
58  wrapper = new DossierWrapper(dossier);
59  }
60  }
61  return wrapper;
62  }
Here is the caller graph for this function:

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