◆ getMatchingsFor() [1/2]
List<IElephantEntity> org.turro.dossier.entity.GrantMatchCriteria.getMatchingsFor |
( |
Object |
entity | ) |
|
◆ getMatchingsFor() [2/2]
List<IElephantEntity> org.turro.dossier.entity.GrantMatchCriteria.getMatchingsFor |
( |
String |
entityPath | ) |
|
Definition at line 93 of file GrantMatchCriteria.java.
94 if(
isEmpty())
return Collections.EMPTY_LIST;
95 Path path = Path.pathFrom(entityPath);
96 if(
"dossier".equals(path.getRoot())) {
98 }
else if(
"project-grant".equals(path.getRoot())) {
101 return Collections.EMPTY_LIST;
List< IElephantEntity > getMatchingsForProjectGrant(Long projectGrantId)
List< IElephantEntity > getMatchingsForDossier(Long dossierId)
◆ getMatchingsForDossier()
List<IElephantEntity> org.turro.dossier.entity.GrantMatchCriteria.getMatchingsForDossier |
( |
Long |
dossierId | ) |
|
Definition at line 104 of file GrantMatchCriteria.java.
105 WhereClause wc =
new WhereClause();
106 wc.addClause(
"select e from ProjectGrant e");
107 wc.addClause(
"where (e.recurrent = TRUE or (e.endDate is null or e.endDate > now()))");
110 addTagIds(wc,
"e.id",
"/dossier/" + dossierId,
"project-grant");
111 return new EntityListAdapter(
new DossierPU().getResultList(wc));
◆ getMatchingsForProjectGrant()
List<IElephantEntity> org.turro.dossier.entity.GrantMatchCriteria.getMatchingsForProjectGrant |
( |
Long |
projectGrantId | ) |
|
Definition at line 114 of file GrantMatchCriteria.java.
115 WhereClause wc =
new WhereClause();
116 wc.addClause(
"select d from Dossier d");
117 wc.addClause(
"join d.project e");
118 wc.addClause(
"where 1=1");
121 addTagIds(wc,
"d.id",
"/project-grant/" + projectGrantId,
"dossier");
122 return new EntityListAdapter(
new DossierPU().getResultList(wc));
◆ isEmpty()
boolean org.turro.dossier.entity.GrantMatchCriteria.isEmpty |
( |
| ) |
|
◆ isFormation()
boolean org.turro.dossier.entity.GrantMatchCriteria.isFormation |
( |
| ) |
|
◆ isHiring()
boolean org.turro.dossier.entity.GrantMatchCriteria.isHiring |
( |
| ) |
|
◆ isIdi()
boolean org.turro.dossier.entity.GrantMatchCriteria.isIdi |
( |
| ) |
|
◆ isInvestment()
boolean org.turro.dossier.entity.GrantMatchCriteria.isInvestment |
( |
| ) |
|
◆ isStartUp()
boolean org.turro.dossier.entity.GrantMatchCriteria.isStartUp |
( |
| ) |
|
◆ setFormation()
void org.turro.dossier.entity.GrantMatchCriteria.setFormation |
( |
boolean |
formation | ) |
|
◆ setHiring()
void org.turro.dossier.entity.GrantMatchCriteria.setHiring |
( |
boolean |
hiring | ) |
|
◆ setIdi()
void org.turro.dossier.entity.GrantMatchCriteria.setIdi |
( |
boolean |
idi | ) |
|
◆ setInvestment()
void org.turro.dossier.entity.GrantMatchCriteria.setInvestment |
( |
boolean |
investment | ) |
|
◆ setStartUp()
void org.turro.dossier.entity.GrantMatchCriteria.setStartUp |
( |
boolean |
startUp | ) |
|
The documentation for this class was generated from the following file: