BrightSide Workbench Full Report + Source Code
org.turro.dossier.search.DossierIds Class Reference

Public Member Functions

 DossierIds (Long dossierId, Long categoryId, String categoryPath)
 
void setDao (Dao dao)
 
Dossier getDossier ()
 
Category getCategory ()
 

Static Public Member Functions

static void initDaoList (Dao dao, Collection< DossierIds > list)
 

Public Attributes

long dossierId
 
String categoryPath
 

Detailed Description

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

Definition at line 30 of file DossierIds.java.

Constructor & Destructor Documentation

◆ DossierIds()

org.turro.dossier.search.DossierIds.DossierIds ( Long  dossierId,
Long  categoryId,
String  categoryPath 
)

Definition at line 39 of file DossierIds.java.

39  {
40  this.dossierId = dossierId;
41  this.categoryId = categoryId;
43  }

Member Function Documentation

◆ getCategory()

Category org.turro.dossier.search.DossierIds.getCategory ( )

Definition at line 58 of file DossierIds.java.

58  {
59  if(category == null) {
60  if(dao != null) {
61  category = dao.find(Category.class, Long.valueOf(categoryId));
62  }
63  }
64  return category;
65  }

◆ getDossier()

Dossier org.turro.dossier.search.DossierIds.getDossier ( )

Definition at line 49 of file DossierIds.java.

49  {
50  if(dossier == null) {
51  if(dao != null) {
52  dossier = dao.find(Dossier.class, Long.valueOf(dossierId));
53  }
54  }
55  return dossier;
56  }

◆ initDaoList()

static void org.turro.dossier.search.DossierIds.initDaoList ( Dao  dao,
Collection< DossierIds list 
)
static

Definition at line 67 of file DossierIds.java.

67  {
68  for(DossierIds di : list) {
69  di.setDao(dao);
70  }
71  }
DossierIds(Long dossierId, Long categoryId, String categoryPath)
Definition: DossierIds.java:39
Here is the caller graph for this function:

◆ setDao()

void org.turro.dossier.search.DossierIds.setDao ( Dao  dao)

Definition at line 45 of file DossierIds.java.

45  {
46  this.dao = dao;
47  }

Member Data Documentation

◆ categoryPath

String org.turro.dossier.search.DossierIds.categoryPath

Definition at line 33 of file DossierIds.java.

◆ dossierId

long org.turro.dossier.search.DossierIds.dossierId

Definition at line 32 of file DossierIds.java.


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