BrightSide Workbench Full Report + Source Code
org.turro.content.WarningContentIterator Class Reference
Inheritance diagram for org.turro.content.WarningContentIterator:
Collaboration diagram for org.turro.content.WarningContentIterator:

Public Member Functions

 WarningContentIterator (IConstructor constructor, Writer writer, IContact contact, boolean mail, String pubPath)
 
- Public Member Functions inherited from org.turro.jpa.content.EntityItemContentIterator< E, ID >
 EntityItemContentIterator (List collection, IConstructor constructor, Writer writer, IContact contact, boolean mail, String contextPath)
 
String getContextPath ()
 
IContact getContact ()
 
boolean isAllowInterest ()
 
void setAllowInterest (boolean allowInterest)
 
boolean isAllowComments ()
 
void setAllowComments (boolean allowComments)
 
boolean isAllowVotes ()
 
void setAllowVotes (boolean allowVotes)
 
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 isMail ()
 
Object getVotesCtrl (E e)
 
Object getInterestCtrl (E e)
 
Object getCommentsCtrl (E e)
 
Object getAttachmentsCtrl (E e)
 
Object getFilesCtrl (E e)
 
Object getDescriptionsCtrl (E e)
 
Object getPollsCtrl (E e)
 
- Public Member Functions inherited from org.turro.collections.CollectionHtmlIterator< E, ID >
 CollectionHtmlIterator (List collection, ElephantMarker marker)
 
 CollectionHtmlIterator (List collection, ElephantMarker marker, Writer writer)
 
void setSummaryTemplate (String summaryTemplate)
 
String getSummaryTemplate ()
 
void setFullTemplate (String fullTemplate)
 
String getFullTemplate ()
 
boolean isNavigatorTop ()
 
void setNavigatorTop (boolean navigatorTop)
 
boolean isNavigatorBottom ()
 
void setNavigatorBottom (boolean navigatorBottom)
 
boolean isSearchOption ()
 
void setSearchOption (boolean searchOption)
 
boolean isForceSummary ()
 
void setForceSummary (boolean forceSummary)
 
boolean wantItem ()
 
boolean isItem ()
 
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 ()
 
boolean isEmpty ()
 
- Public Member Functions inherited from org.turro.collections.CollectionIterator< E, ID >
 CollectionIterator (List< E > collection)
 
int getPage ()
 
void setPage (int page)
 
void initClauses ()
 
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

void renderSummary (ElephantMarker marker, IWarning e, int page)
 
void renderItem (ElephantMarker marker, IWarning e, int page)
 
IWarning entity (String value)
 
String title (IWarning e)
 
Collection< String > metas (IWarning e)
 
String getTemplateRoot ()
 
Object doVotesCtrl (IWarning e)
 
Object doInterestCtrl (IWarning e)
 
Object doCommentsCtrl (IWarning e)
 
Object doAttachmentsCtrl (IWarning e)
 
Object doFilesCtrl (IWarning e)
 
Object doDescriptionsCtrl (IWarning e)
 
Object doPollsCtrl (IWarning e)
 
String getItemLink (IWarning e)
 
String getReadAllLink ()
 
String getRestrictedLink ()
 
- Protected Member Functions inherited from org.turro.jpa.content.EntityItemContentIterator< E, ID >
void prepareControls (E entity, int page)
 
abstract Object doVotesCtrl (E e)
 
abstract Object doInterestCtrl (E e)
 
abstract Object doCommentsCtrl (E e)
 
abstract Object doAttachmentsCtrl (E e)
 
abstract Object doFilesCtrl (E e)
 
abstract Object doDescriptionsCtrl (E e)
 
abstract Object doPollsCtrl (E e)
 
abstract String getItemLink (E e)
 
- Protected Member Functions inherited from org.turro.collections.CollectionHtmlIterator< E, ID >
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)
 
ID getIdentifier ()
 
void onRenderItem (E e)
 
boolean isValid (E e)
 
ID parseId (String value)
 
String stringId (ID value)
 

Additional Inherited Members

- Static Public Attributes inherited from org.turro.action.content.IContentIterator
static String PRELOAD_TMPL = "#preload"
 
- Protected Attributes inherited from org.turro.collections.CollectionHtmlIterator< E, ID >
HTMLHelper html
 
IConstructor constructor
 
ElephantMarker marker
 
- Protected Attributes inherited from org.turro.collections.CollectionIterator< E, ID >
List< E > items
 
int _total = -1
 

Detailed Description

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

Definition at line 37 of file WarningContentIterator.java.

Constructor & Destructor Documentation

◆ WarningContentIterator()

org.turro.content.WarningContentIterator.WarningContentIterator ( IConstructor  constructor,
Writer  writer,
IContact  contact,
boolean  mail,
String  pubPath 
)

Definition at line 40 of file WarningContentIterator.java.

40  {
41  super(ElephantWarnings.getWarningList(), constructor, writer, contact, mail, pubPath);
42  }
Here is the call graph for this function:

Member Function Documentation

◆ doAttachmentsCtrl()

Object org.turro.content.WarningContentIterator.doAttachmentsCtrl ( IWarning  e)
protected

Definition at line 103 of file WarningContentIterator.java.

103  {
104  return null;
105  }

◆ doCommentsCtrl()

Object org.turro.content.WarningContentIterator.doCommentsCtrl ( IWarning  e)
protected

Definition at line 98 of file WarningContentIterator.java.

98  {
99  return null;
100  }

◆ doDescriptionsCtrl()

Object org.turro.content.WarningContentIterator.doDescriptionsCtrl ( IWarning  e)
protected

Definition at line 113 of file WarningContentIterator.java.

113  {
114  return null;
115  }

◆ doFilesCtrl()

Object org.turro.content.WarningContentIterator.doFilesCtrl ( IWarning  e)
protected

Definition at line 108 of file WarningContentIterator.java.

108  {
109  return null;
110  }

◆ doInterestCtrl()

Object org.turro.content.WarningContentIterator.doInterestCtrl ( IWarning  e)
protected

Definition at line 93 of file WarningContentIterator.java.

93  {
94  return null;
95  }

◆ doPollsCtrl()

Object org.turro.content.WarningContentIterator.doPollsCtrl ( IWarning  e)
protected

Definition at line 118 of file WarningContentIterator.java.

118  {
119  return null;
120  }

◆ doVotesCtrl()

Object org.turro.content.WarningContentIterator.doVotesCtrl ( IWarning  e)
protected

Definition at line 88 of file WarningContentIterator.java.

88  {
89  return null;
90  }

◆ entity()

IWarning org.turro.content.WarningContentIterator.entity ( String  value)
protected

Definition at line 59 of file WarningContentIterator.java.

59  {
60  for(IWarning w : collection) {
61  if(w.getEntity().equals(value)) {
62  return w;
63  }
64  }
65  return null;
66  }

◆ getItemLink()

String org.turro.content.WarningContentIterator.getItemLink ( IWarning  e)
protected

Definition at line 123 of file WarningContentIterator.java.

123  {
124  return null;
125  }

◆ getReadAllLink()

String org.turro.content.WarningContentIterator.getReadAllLink ( )
protected

Reimplemented from org.turro.jpa.content.EntityItemContentIterator< E, ID >.

Definition at line 128 of file WarningContentIterator.java.

128  {
129  if(Strings.isBlank(getContextPath())) {
130  return "/app/frame?" + Interceptors.parameters("warnings").encoded();
131  }
132  return getContextPath();
133  }
Here is the call graph for this function:

◆ getRestrictedLink()

String org.turro.content.WarningContentIterator.getRestrictedLink ( )
protected

Reimplemented from org.turro.jpa.content.EntityItemContentIterator< E, ID >.

Definition at line 136 of file WarningContentIterator.java.

136  {
137  return null;
138  }

◆ getTemplateRoot()

String org.turro.content.WarningContentIterator.getTemplateRoot ( )
protected

Reimplemented from org.turro.jpa.content.EntityItemContentIterator< E, ID >.

Definition at line 83 of file WarningContentIterator.java.

83  {
84  return isMail() ? "content/newsletter/sections/warnings" : "warning";
85  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ metas()

Collection<String> org.turro.content.WarningContentIterator.metas ( IWarning  e)
protected

Definition at line 78 of file WarningContentIterator.java.

78  {
79  return Collections.EMPTY_LIST;
80  }

◆ renderItem()

void org.turro.content.WarningContentIterator.renderItem ( ElephantMarker  marker,
IWarning  e,
int  page 
)
protected

Definition at line 52 of file WarningContentIterator.java.

Here is the call graph for this function:

◆ renderSummary()

void org.turro.content.WarningContentIterator.renderSummary ( ElephantMarker  marker,
IWarning  e,
int  page 
)
protected

Definition at line 45 of file WarningContentIterator.java.

45  {
46  marker.put("warning", e);
47  prepareValues(e, page);
49  }
Here is the call graph for this function:

◆ title()

String org.turro.content.WarningContentIterator.title ( IWarning  e)
protected

Definition at line 73 of file WarningContentIterator.java.

73  {
74  return "/**/";
75  }

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