BrightSide Workbench Full Report + Source Code
org.turro.dossier.search.DossierDirectQuery Class Reference
Inheritance diagram for org.turro.dossier.search.DossierDirectQuery:
Collaboration diagram for org.turro.dossier.search.DossierDirectQuery:

Protected Member Functions

String getIdentifier ()
 
List doSearch (KeyValueMap map, String query)
 
- Protected Member Functions inherited from org.turro.elephant.direct.AbstractDirectQuery
String generateJson (String rootElement, String itemElement, List results)
 
JsonObjectBuilder createJsonItem (String itemElement, Object item)
 
void writeJsonResponse (HttpServletResponse response, String json)
 

Additional Inherited Members

- Public Member Functions inherited from org.turro.elephant.direct.AbstractDirectQuery
String createQueryURL (String values)
 
boolean itsMe (String id)
 
boolean myTurn (HttpServletRequest request)
 
void execute (ServletContext context, HttpServletRequest request, HttpServletResponse response)
 
void execute (IConstructor constructor)
 

Detailed Description

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

Definition at line 33 of file DossierDirectQuery.java.

Member Function Documentation

◆ doSearch()

List org.turro.dossier.search.DossierDirectQuery.doSearch ( KeyValueMap  map,
String  query 
)
protected

Reimplemented from org.turro.elephant.direct.AbstractDirectQuery.

Definition at line 41 of file DossierDirectQuery.java.

41  {
42  WhereClause wc = new WhereClause();
43  wc.addClause("select d.description from Dossier d");
44  wc.addClause("where 1=1");
45  wc.addLikeFields(new String[] { "d.description" }, query);
46  return new DossierPU().getResultList(wc);
47  }
Here is the call graph for this function:

◆ getIdentifier()

String org.turro.dossier.search.DossierDirectQuery.getIdentifier ( )
protected

Reimplemented from org.turro.elephant.direct.AbstractDirectQuery.

Definition at line 36 of file DossierDirectQuery.java.

36  {
37  return DossierDirectQuery.class.getAnnotation(DirectContent.class).identifier();
38  }

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