BrightSide Workbench Full Report + Source Code
org.turro.jpa.iterator.DaoHtmlIterator< E, ID > Class Template Referenceabstract
Inheritance diagram for org.turro.jpa.iterator.DaoHtmlIterator< E, ID >:
Collaboration diagram for org.turro.jpa.iterator.DaoHtmlIterator< E, ID >:

Public Member Functions

 DaoHtmlIterator (Dao dao, ElephantMarker marker)
 
 DaoHtmlIterator (Dao dao, ElephantMarker marker, Writer writer)
 
void setSummaryTemplate (String summaryTemplate)
 
String getSummaryTemplate ()
 
void setFullTemplate (String fullTemplate)
 
String getFullTemplate ()
 
boolean isRestricted ()
 
void setRestricted (boolean restricted)
 
boolean isAllowInterest ()
 
void setAllowInterest (boolean allowInterest)
 
boolean isAllowComments ()
 
void setAllowComments (boolean allowComments)
 
boolean isAllowVotes ()
 
void setAllowVotes (boolean allowVotes)
 
boolean isAllowForum ()
 
void setAllowForum (boolean allowForum)
 
boolean isAllowDescriptions ()
 
void setAllowDescriptions (boolean allowDescriptions)
 
boolean isAllowAttachments ()
 
void setAllowAttachments (boolean allowAttachments)
 
boolean isAllowFiles ()
 
void setAllowFiles (boolean allowFiles)
 
boolean isAllowPolls ()
 
void setAllowPolls (boolean allowPolls)
 
boolean isAllowRanking ()
 
void setAllowRanking (boolean allowRanking)
 
boolean isAllowMatching ()
 
void setAllowMatching (boolean allowMatching)
 
boolean isDoMatching ()
 
void setDoMatching (boolean doMatching)
 
String getRankingInstance ()
 
void setRankingInstance (String rankingInstance)
 
String getMatchingInstance ()
 
void setMatchingInstance (String matchingInstance)
 
boolean isAllowSorting ()
 
void setAllowSorting (boolean allowSorting)
 
boolean isNavigatorTop ()
 
void setNavigatorTop (boolean navigatorTop)
 
boolean isNavigatorBottom ()
 
void setNavigatorBottom (boolean navigatorBottom)
 
DaoHtmlTree getNavigationTree ()
 
void setNavigationTree (DaoHtmlTree navigationTree)
 
DaoHtmlSearch getSearchEngine ()
 
void setSearchEngine (DaoHtmlSearch searchEngine)
 
boolean isSearchOption ()
 
void setSearchOption (boolean searchOption)
 
boolean isForceSummary ()
 
void setForceSummary (boolean forceSummary)
 
boolean wantItem ()
 
boolean isItem ()
 
boolean checkEntity (ID value)
 
Object addAttribute (String key, Object value)
 
Writer getWriter ()
 
void load ()
 
void forceItem (ID item)
 
String getTitle ()
 
Collection< String > getMetas ()
 
void render ()
 
boolean isFirst ()
 
boolean isLast ()
 
String renderSearchEngine ()
 
String renderTree ()
 
String renderTreeSelection ()
 
TagSet getCloudTags ()
 
TagSet getEntityTags (Object entity)
 
boolean isSeen (Object entity)
 
VisualElements getVisuals ()
 
boolean isEmpty ()
 
- Public Member Functions inherited from org.turro.jpa.iterator.DaoIterator< E, ID >
 DaoIterator (Dao dao)
 
int getPage ()
 
void setPage (int page)
 
List< E > getItems ()
 
int getTotalCount ()
 
List< E > getTotalItems ()
 
int item ()
 
void current (int value)
 
int current ()
 
int pages ()
 
boolean beginning ()
 
boolean end ()
 
void next ()
 
void previous ()
 

Protected Member Functions

VisualElements loadVisuals ()
 
abstract String entityRoot ()
 
abstract E entity (ID value)
 
abstract void renderSummary (ElephantMarker marker, E e, int page)
 
abstract void renderItem (ElephantMarker marker, E e, int page)
 
abstract String title (E e)
 
abstract Collection< String > metas (E e)
 
void renderForbidden (ElephantMarker marker, int page)
 
ID getIDFromURL (String root)
 
ID getIdentifier ()
 
void preload ()
 
boolean isValid (E e)
 
boolean canShow (E e)
 
ID parseId (String value)
 
String stringId (ID value)
 
- Protected Member Functions inherited from org.turro.jpa.iterator.DaoIterator< E, ID >
void initClauses ()
 
abstract WhereClause getWhereClause ()
 
abstract WhereClause getCountClause ()
 

Protected Attributes

HTMLHelper html
 
IConstructor constructor
 
ElephantMarker marker
 
DaoHtmlSearch searchEngine
 
DaoHtmlTree navigationTree
 
- Protected Attributes inherited from org.turro.jpa.iterator.DaoIterator< E, ID >
List< E > items
 
Dao dao
 
int _total = -1
 

Additional Inherited Members

- Static Public Attributes inherited from org.turro.action.content.IContentIterator
static String PRELOAD_TMPL = "#preload"
 

Detailed Description

Author
Lluis Turró Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Parameters
<E>
<ID>

Definition at line 58 of file DaoHtmlIterator.java.

Constructor & Destructor Documentation

◆ DaoHtmlIterator() [1/2]

Definition at line 83 of file DaoHtmlIterator.java.

83  {
84  this(dao, marker, null);
85  }

◆ DaoHtmlIterator() [2/2]

org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.DaoHtmlIterator ( Dao  dao,
ElephantMarker  marker,
Writer  writer 
)

Definition at line 87 of file DaoHtmlIterator.java.

87  {
88  super(dao);
89  this.marker = marker;
91  this.writer = writer;
92  this.idClass = (Class<ID>) ((ParameterizedType) getClass()
93  .getGenericSuperclass()).getActualTypeArguments()[1];
94  markerAttributes = new HashMap<>();
95  }
Here is the call graph for this function:

Member Function Documentation

◆ addAttribute()

Object org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.addAttribute ( String  key,
Object  value 
)

Implements org.turro.action.content.IContentIterator.

Definition at line 295 of file DaoHtmlIterator.java.

295  {
296  return markerAttributes.put(key, value);
297  }

◆ canShow()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.canShow ( e)
protected

Definition at line 515 of file DaoHtmlIterator.java.

515  {
516  return true;
517  }
Here is the caller graph for this function:

◆ checkEntity()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.checkEntity ( ID  value)

Definition at line 290 of file DaoHtmlIterator.java.

290  {
291  return entity(value) != null;
292  }

◆ entity()

abstract E org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.entity ( ID  value)
abstractprotected

◆ entityRoot()

◆ forceItem()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.forceItem ( ID  item)

Definition at line 326 of file DaoHtmlIterator.java.

326  {
327  this.item = item;
328  if(item != null) {
329  entity = entity(item);
330  }
331  }
Here is the caller graph for this function:

◆ getCloudTags()

Definition at line 434 of file DaoHtmlIterator.java.

434  {
435  return TagCloud.getTags(constructor, entityRoot());
436  }
Here is the call graph for this function:

◆ getEntityTags()

TagSet org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getEntityTags ( Object  entity)

Definition at line 438 of file DaoHtmlIterator.java.

438  {
439  return Tags.getTags(entity);
440  }
Here is the call graph for this function:

◆ getFullTemplate()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getFullTemplate ( )

Definition at line 109 of file DaoHtmlIterator.java.

109  {
110  return Strings.isBlank(fullTemplate) ? "full" : fullTemplate;
111  }
Here is the caller graph for this function:

◆ getIdentifier()

ID org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getIdentifier ( )
protected

Reimplemented in org.turro.alliance.content.ProjectGrantContentIterator, org.turro.alliance.content.ProjectContentIterator, org.turro.alliance.content.ChallengeContentIterator, org.turro.publication.www.PublicationIterator, org.turro.publication.content.PublicationContentIterator, org.turro.dossier.www.DossierIterator, and org.turro.dossier.content.DossierContentIterator.

Definition at line 497 of file DaoHtmlIterator.java.

497  {
498  if(constructor.isHeadless() || forceSummary) {
499  return null;
500  }
501  KeyValueMap kvm = MarkerHelper.getObfuscatedParameters();
502  if(kvm != null && !kvm.isEmpty() && kvm.containsKey("item")) {
503  return parseId(kvm.get("item"));
504  }
505  return parseId(constructor.getParameter("item"));
506  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIDFromURL()

ID org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getIDFromURL ( String  root)
protected

Definition at line 480 of file DaoHtmlIterator.java.

480  {
481  if(constructor != null && !constructor.isHeadless()) {
482  String url = ElContext.extractPath(constructor.getRequest().getServletPath()),
483  contextPath = constructor.getCurrentContext().getPath();
484  if(!EntityWebUrls.sameURL(url, contextPath)) {
485  String entityPath = EntityWebUrls.getEntityPath(root, url.substring(contextPath.length()));
486  if(!Strings.isBlank(entityPath)) {
487  Path path = new Path(entityPath);
488  if(path.getSize() == 2) {
489  return parseId(path.getNode(1));
490  }
491  }
492  }
493  }
494  return null;
495  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMatchingInstance()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getMatchingInstance ( )

Definition at line 217 of file DaoHtmlIterator.java.

217  {
218  return matchingInstance;
219  }

◆ getMetas()

Collection<String> org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getMetas ( )

Definition at line 337 of file DaoHtmlIterator.java.

337  {
338  return entity != null ? metas(entity) : null;
339  }
abstract Collection< String > metas(E e)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNavigationTree()

DaoHtmlTree org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getNavigationTree ( )

Definition at line 249 of file DaoHtmlIterator.java.

249  {
250  return navigationTree;
251  }

◆ getRankingInstance()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getRankingInstance ( )

Definition at line 209 of file DaoHtmlIterator.java.

209  {
210  return rankingInstance;
211  }

◆ getSearchEngine()

Definition at line 257 of file DaoHtmlIterator.java.

257  {
258  return searchEngine;
259  }

◆ getSummaryTemplate()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getSummaryTemplate ( )

Definition at line 101 of file DaoHtmlIterator.java.

101  {
102  return Strings.isBlank(summaryTemplate) ? "summary" : summaryTemplate;
103  }
Here is the caller graph for this function:

◆ getTitle()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getTitle ( )

Definition at line 333 of file DaoHtmlIterator.java.

333  {
334  return entity != null ? title(entity) : null;
335  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getVisuals()

VisualElements org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getVisuals ( )

Definition at line 450 of file DaoHtmlIterator.java.

450  {
451  if(_visuals == null) {
452  _visuals = loadVisuals();
453  }
454  return _visuals;
455  }
Here is the call graph for this function:

◆ getWriter()

Writer org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.getWriter ( )

Implements org.turro.action.content.IContentIterator.

Definition at line 300 of file DaoHtmlIterator.java.

300  {
301  try {
302  return writer != null ? writer : constructor.getOut();
303  } catch (IOException ex) {
304  Logger.getLogger(DaoHtmlIterator.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
305  }
306  return null;
307  }
DaoHtmlIterator(Dao dao, ElephantMarker marker)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isAllowAttachments()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowAttachments ( )

Definition at line 161 of file DaoHtmlIterator.java.

161  {
162  return allowAttachments;
163  }
Here is the caller graph for this function:

◆ isAllowComments()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowComments ( )

Definition at line 129 of file DaoHtmlIterator.java.

129  {
130  return allowComments;
131  }
Here is the caller graph for this function:

◆ isAllowDescriptions()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowDescriptions ( )

Definition at line 153 of file DaoHtmlIterator.java.

153  {
154  return allowDescriptions;
155  }
Here is the caller graph for this function:

◆ isAllowFiles()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowFiles ( )

Definition at line 169 of file DaoHtmlIterator.java.

169  {
170  return allowFiles;
171  }
Here is the caller graph for this function:

◆ isAllowForum()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowForum ( )

Definition at line 145 of file DaoHtmlIterator.java.

145  {
146  return allowForum;
147  }
Here is the caller graph for this function:

◆ isAllowInterest()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowInterest ( )

Definition at line 121 of file DaoHtmlIterator.java.

121  {
122  return allowInterest;
123  }
Here is the caller graph for this function:

◆ isAllowMatching()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowMatching ( )

Definition at line 193 of file DaoHtmlIterator.java.

193  {
194  return allowMatching;
195  }
Here is the caller graph for this function:

◆ isAllowPolls()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowPolls ( )

Definition at line 177 of file DaoHtmlIterator.java.

177  {
178  return allowPolls;
179  }
Here is the caller graph for this function:

◆ isAllowRanking()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowRanking ( )

Definition at line 185 of file DaoHtmlIterator.java.

185  {
186  return allowRanking;
187  }
Here is the caller graph for this function:

◆ isAllowSorting()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowSorting ( )

Definition at line 225 of file DaoHtmlIterator.java.

225  {
226  return allowSorting;
227  }

◆ isAllowVotes()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isAllowVotes ( )

Definition at line 137 of file DaoHtmlIterator.java.

137  {
138  return allowVotes;
139  }
Here is the caller graph for this function:

◆ isDoMatching()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isDoMatching ( )

Definition at line 201 of file DaoHtmlIterator.java.

201  {
202  return doMatching;
203  }
Here is the caller graph for this function:

◆ isEmpty()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isEmpty ( )

Implements org.turro.action.content.IContentIterator.

Definition at line 466 of file DaoHtmlIterator.java.

466  {
467  return getTotalCount() < 1;
468  }
Here is the call graph for this function:

◆ isFirst()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isFirst ( )

Definition at line 412 of file DaoHtmlIterator.java.

412  {
413  return currentIndex == 0;
414  }
Here is the caller graph for this function:

◆ isForceSummary()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isForceSummary ( )

Definition at line 274 of file DaoHtmlIterator.java.

274  {
275  return forceSummary;
276  }

◆ isItem()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isItem ( )

Definition at line 286 of file DaoHtmlIterator.java.

286  {
287  return entity != null;
288  }
Here is the caller graph for this function:

◆ isLast()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isLast ( )

Definition at line 416 of file DaoHtmlIterator.java.

416  {
417  return currentIndex == currentSize - 1;
418  }
Here is the caller graph for this function:

◆ isNavigatorBottom()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isNavigatorBottom ( )

Definition at line 241 of file DaoHtmlIterator.java.

241  {
242  return navigatorBottom;
243  }

◆ isNavigatorTop()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isNavigatorTop ( )

Definition at line 233 of file DaoHtmlIterator.java.

233  {
234  return navigatorTop;
235  }

◆ isRestricted()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isRestricted ( )

Definition at line 113 of file DaoHtmlIterator.java.

113  {
114  return restricted;
115  }
Here is the caller graph for this function:

◆ isSearchOption()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isSearchOption ( )

Definition at line 266 of file DaoHtmlIterator.java.

266  {
267  return searchOption && !constructor.isHeadless();
268  }
Here is the call graph for this function:

◆ isSeen()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isSeen ( Object  entity)

Definition at line 442 of file DaoHtmlIterator.java.

442  {
443  return new ParticipationInfo(entity, ParticipationReason.REASON_SEEN).isChecked();
444  }
Here is the call graph for this function:

◆ isValid()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.isValid ( e)
protected

Definition at line 511 of file DaoHtmlIterator.java.

511  {
512  return e != null;
513  }
Here is the caller graph for this function:

◆ load()

Implements org.turro.action.content.IContentIterator.

Reimplemented in org.turro.contacts.www.ContactIterator.

Definition at line 310 of file DaoHtmlIterator.java.

310  {
311  if(PRELOAD_TMPL.equals(summaryTemplate)) {
312  preload();
313  } else {
314  if(!constructor.isHeadless()) {
315  TagCloud.toggleTags(constructor, entityRoot());
316  SkillCloud.toggleSkills(constructor, entityRoot(), true);
317  SkillCloud.toggleSkills(constructor, entityRoot(), false);
318  }
319  item = getIdentifier();
320  if(item != null) {
321  entity = entity(item);
322  }
323  }
324  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadVisuals()

VisualElements org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.loadVisuals ( )
protected

Reimplemented in org.turro.students.content.ChallengeContentIterator, org.turro.dossier.www.DossierIterator, and org.turro.dossier.content.DossierContentIterator.

Definition at line 459 of file DaoHtmlIterator.java.

459  {
460  return new EmptyVisualElements();
461  }
Here is the caller graph for this function:

◆ metas()

abstract Collection<String> org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.metas ( e)
abstractprotected
Here is the caller graph for this function:

◆ parseId()

ID org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.parseId ( String  value)
protected

Reimplemented in org.turro.alliance.content.ProjectGrantContentIterator, org.turro.alliance.content.ProjectContentIterator, and org.turro.alliance.content.ChallengeContentIterator.

Definition at line 519 of file DaoHtmlIterator.java.

519  {
520  return (ID) ObjectString.parseString(value, idClass, false);
521  }
Here is the caller graph for this function:

◆ preload()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.preload ( )
protected

Reimplemented in org.turro.contacts.content.ContactServiceContentIterator.

Definition at line 508 of file DaoHtmlIterator.java.

508 {}
Here is the caller graph for this function:

◆ render()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.render ( )

Implements org.turro.action.content.IContentIterator.

Definition at line 342 of file DaoHtmlIterator.java.

342  {
343  if(PRELOAD_TMPL.equals(summaryTemplate)) return;
344  initClauses();
345  marker.putAll(markerAttributes);
346  marker.put("iterator", this);
347  marker.put("navigatorTop", navigatorTop);
348  marker.put("navigatorBottom", navigatorBottom);
349  marker.put("searchOption", searchOption);
350  page = constructor.isHeadless() ? 0 : (Integer) ObjectString.parseString(constructor.getParameter("page"), Integer.class, true);
351  if(entity != null) {
352  if(isValid(entity)) {
353  html = new HTMLHelper(constructor, writer);
354  DaoNavigator navigator = new DaoNavigator(this);
355  marker.put("navigator", navigator);
356  marker.put("empty", false);
357  marker.put("divider", false);
358  marker.put("header", true);
359  marker.put("footer", true);
360  marker.put("single", true);
361  if(canShow(entity)) {
362  renderItem(marker, entity, page);
363  } else {
364  renderForbidden(marker, page);
365  }
366  html.endAllTags();
367  markAsSeen(entity);
368  }
369  } else {
370  current(page);
371  if(items == null) {
372  return;
373  }
374  html = new HTMLHelper(constructor, writer);
375  DaoNavigator navigator = new DaoNavigator(this);
376  marker.put("navigator", navigator);
377  currentIndex = 0;
378  currentSize = items.size();
379  if(currentSize == 0) {
380  marker.put("empty", true);
381  marker.put("divider", false);
382  marker.put("header", true);
383  marker.put("footer", true);
384  marker.put("single", false);
385  renderSummary(marker, null, current());
386  } else {
387  marker.put("empty", false);
388  marker.put("single", false);
389  int countValids = 0;
390  for(E e : items) {
391  if(isValid(e)) {
392  countValids++;
393  marker.put("divider", !isFirst());
394  marker.put("header", isFirst());
395  marker.put("footer", isLast());
396  renderSummary(marker, e, page);
397  }
398  currentIndex++;
399  }
400  if(countValids == 0) {
401  marker.put("empty", true);
402  marker.put("divider", false);
403  marker.put("header", true);
404  marker.put("footer", true);
405  marker.put("single", false);
406  renderSummary(marker, null, current());
407  }
408  }
409  }
410  }
abstract void renderItem(ElephantMarker marker, E e, int page)
abstract void renderSummary(ElephantMarker marker, E e, int page)
void renderForbidden(ElephantMarker marker, int page)
Object put(Object key, Object value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderForbidden()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.renderForbidden ( ElephantMarker  marker,
int  page 
)
protected

Reimplemented in org.turro.forum.content.ForumContentIterator.

Definition at line 477 of file DaoHtmlIterator.java.

477  {
478  }
Here is the caller graph for this function:

◆ renderItem()

abstract void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.renderItem ( ElephantMarker  marker,
e,
int  page 
)
abstractprotected
Here is the caller graph for this function:

◆ renderSearchEngine()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.renderSearchEngine ( )

Definition at line 422 of file DaoHtmlIterator.java.

422  {
423  return searchEngine != null ? searchEngine.render(constructor) : "";
424  }
String render(IConstructor constructor)
Here is the call graph for this function:

◆ renderSummary()

abstract void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.renderSummary ( ElephantMarker  marker,
e,
int  page 
)
abstractprotected
Here is the caller graph for this function:

◆ renderTree()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.renderTree ( )

Definition at line 426 of file DaoHtmlIterator.java.

426  {
427  return navigationTree != null ? navigationTree.parse() : "";
428  }
Here is the call graph for this function:

◆ renderTreeSelection()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.renderTreeSelection ( )

Definition at line 430 of file DaoHtmlIterator.java.

430  {
431  return navigationTree != null ? navigationTree.parseSelected() : "";
432  }
Here is the call graph for this function:

◆ setAllowAttachments()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowAttachments ( boolean  allowAttachments)

Definition at line 165 of file DaoHtmlIterator.java.

165  {
166  this.allowAttachments = allowAttachments;
167  }
Here is the caller graph for this function:

◆ setAllowComments()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowComments ( boolean  allowComments)

Reimplemented in org.turro.financials.product.www.ProductIterator.

Definition at line 133 of file DaoHtmlIterator.java.

133  {
134  this.allowComments = allowComments;
135  }
Here is the caller graph for this function:

◆ setAllowDescriptions()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowDescriptions ( boolean  allowDescriptions)

Definition at line 157 of file DaoHtmlIterator.java.

157  {
158  this.allowDescriptions = allowDescriptions;
159  }
Here is the caller graph for this function:

◆ setAllowFiles()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowFiles ( boolean  allowFiles)

Definition at line 173 of file DaoHtmlIterator.java.

173  {
174  this.allowFiles = allowFiles;
175  }
Here is the caller graph for this function:

◆ setAllowForum()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowForum ( boolean  allowForum)

Definition at line 149 of file DaoHtmlIterator.java.

149  {
150  this.allowForum = allowForum;
151  }

◆ setAllowInterest()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowInterest ( boolean  allowInterest)

Reimplemented in org.turro.financials.product.www.ProductIterator.

Definition at line 125 of file DaoHtmlIterator.java.

125  {
126  this.allowInterest = allowInterest;
127  }
Here is the caller graph for this function:

◆ setAllowMatching()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowMatching ( boolean  allowMatching)

Definition at line 197 of file DaoHtmlIterator.java.

197  {
198  this.allowMatching = allowMatching;
199  }
Here is the caller graph for this function:

◆ setAllowPolls()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowPolls ( boolean  allowPolls)

Definition at line 181 of file DaoHtmlIterator.java.

181  {
182  this.allowPolls = allowPolls;
183  }
Here is the caller graph for this function:

◆ setAllowRanking()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowRanking ( boolean  allowRanking)

Definition at line 189 of file DaoHtmlIterator.java.

189  {
190  this.allowRanking = allowRanking;
191  }
Here is the caller graph for this function:

◆ setAllowSorting()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowSorting ( boolean  allowSorting)

Definition at line 229 of file DaoHtmlIterator.java.

229  {
230  this.allowSorting = allowSorting;
231  }
Here is the caller graph for this function:

◆ setAllowVotes()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setAllowVotes ( boolean  allowVotes)

Reimplemented in org.turro.financials.product.www.ProductIterator.

Definition at line 141 of file DaoHtmlIterator.java.

141  {
142  this.allowVotes = allowVotes;
143  }
Here is the caller graph for this function:

◆ setDoMatching()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setDoMatching ( boolean  doMatching)

Definition at line 205 of file DaoHtmlIterator.java.

205  {
206  this.doMatching = doMatching;
207  }
Here is the caller graph for this function:

◆ setForceSummary()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setForceSummary ( boolean  forceSummary)

Definition at line 278 of file DaoHtmlIterator.java.

278  {
279  this.forceSummary = forceSummary;
280  }
Here is the caller graph for this function:

◆ setFullTemplate()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setFullTemplate ( String  fullTemplate)

Definition at line 105 of file DaoHtmlIterator.java.

105  {
106  this.fullTemplate = fullTemplate;
107  }
Here is the caller graph for this function:

◆ setMatchingInstance()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setMatchingInstance ( String  matchingInstance)

Definition at line 221 of file DaoHtmlIterator.java.

221  {
222  this.matchingInstance = matchingInstance;
223  }

◆ setNavigationTree()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setNavigationTree ( DaoHtmlTree  navigationTree)

Definition at line 253 of file DaoHtmlIterator.java.

253  {
255  }
Here is the caller graph for this function:

◆ setNavigatorBottom()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setNavigatorBottom ( boolean  navigatorBottom)

Definition at line 245 of file DaoHtmlIterator.java.

245  {
246  this.navigatorBottom = navigatorBottom;
247  }
Here is the caller graph for this function:

◆ setNavigatorTop()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setNavigatorTop ( boolean  navigatorTop)

Definition at line 237 of file DaoHtmlIterator.java.

237  {
238  this.navigatorTop = navigatorTop;
239  }
Here is the caller graph for this function:

◆ setRankingInstance()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setRankingInstance ( String  rankingInstance)

Definition at line 213 of file DaoHtmlIterator.java.

213  {
214  this.rankingInstance = rankingInstance;
215  }

◆ setRestricted()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setRestricted ( boolean  restricted)

Definition at line 117 of file DaoHtmlIterator.java.

117  {
118  this.restricted = restricted;
119  }
Here is the caller graph for this function:

◆ setSearchEngine()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setSearchEngine ( DaoHtmlSearch  searchEngine)

Definition at line 261 of file DaoHtmlIterator.java.

261  {
262  this.searchEngine = searchEngine;
263  if(searchEngine != null) searchEngine.setIterator(this);
264  }
void setIterator(IContentIterator iterator)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSearchOption()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setSearchOption ( boolean  searchOption)

Definition at line 270 of file DaoHtmlIterator.java.

270  {
271  this.searchOption = searchOption;
272  }
Here is the caller graph for this function:

◆ setSummaryTemplate()

void org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.setSummaryTemplate ( String  summaryTemplate)

Definition at line 97 of file DaoHtmlIterator.java.

97  {
98  this.summaryTemplate = summaryTemplate;
99  }
Here is the caller graph for this function:

◆ stringId()

String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.stringId ( ID  value)
protected

Definition at line 523 of file DaoHtmlIterator.java.

523  {
524  return String.valueOf(value);
525  }
Here is the caller graph for this function:

◆ title()

abstract String org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.title ( e)
abstractprotected
Here is the caller graph for this function:

◆ wantItem()

boolean org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.wantItem ( )

Definition at line 282 of file DaoHtmlIterator.java.

282  {
283  return getIdentifier() != null;
284  }
Here is the call graph for this function:

Member Data Documentation

◆ constructor

IConstructor org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.constructor
protected

Definition at line 61 of file DaoHtmlIterator.java.

◆ html

Definition at line 60 of file DaoHtmlIterator.java.

◆ marker

Definition at line 62 of file DaoHtmlIterator.java.

◆ navigationTree

DaoHtmlTree org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.navigationTree
protected

Definition at line 64 of file DaoHtmlIterator.java.

◆ searchEngine

DaoHtmlSearch org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.searchEngine
protected

Definition at line 63 of file DaoHtmlIterator.java.


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