Public Member Functions | |
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 | |
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) |
Protected Attributes | |
HTMLHelper | html |
IConstructor | constructor |
ElephantMarker | marker |
Protected Attributes inherited from org.turro.collections.CollectionIterator< E, ID > | |
List< E > | items |
int | _total = -1 |
Additional Inherited Members | |
Static Public Attributes inherited from org.turro.action.content.IContentIterator | |
static String | PRELOAD_TMPL = "#preload" |
Definition at line 43 of file CollectionHtmlIterator.java.
org.turro.collections.CollectionHtmlIterator< E, ID >.CollectionHtmlIterator | ( | List | collection, |
ElephantMarker | marker | ||
) |
Definition at line 61 of file CollectionHtmlIterator.java.
org.turro.collections.CollectionHtmlIterator< E, ID >.CollectionHtmlIterator | ( | List | collection, |
ElephantMarker | marker, | ||
Writer | writer | ||
) |
Definition at line 65 of file CollectionHtmlIterator.java.
Object org.turro.collections.CollectionHtmlIterator< E, ID >.addAttribute | ( | String | key, |
Object | value | ||
) |
Implements org.turro.action.content.IContentIterator.
Definition at line 148 of file CollectionHtmlIterator.java.
|
abstractprotected |
void org.turro.collections.CollectionHtmlIterator< E, ID >.forceItem | ( | ID | item | ) |
Definition at line 170 of file CollectionHtmlIterator.java.
String org.turro.collections.CollectionHtmlIterator< E, ID >.getFullTemplate | ( | ) |
Definition at line 87 of file CollectionHtmlIterator.java.
|
protected |
Definition at line 271 of file CollectionHtmlIterator.java.
Collection<String> org.turro.collections.CollectionHtmlIterator< E, ID >.getMetas | ( | ) |
Definition at line 181 of file CollectionHtmlIterator.java.
String org.turro.collections.CollectionHtmlIterator< E, ID >.getSummaryTemplate | ( | ) |
Definition at line 79 of file CollectionHtmlIterator.java.
String org.turro.collections.CollectionHtmlIterator< E, ID >.getTitle | ( | ) |
Definition at line 177 of file CollectionHtmlIterator.java.
Writer org.turro.collections.CollectionHtmlIterator< E, ID >.getWriter | ( | ) |
Implements org.turro.action.content.IContentIterator.
Definition at line 153 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isEmpty | ( | ) |
Implements org.turro.action.content.IContentIterator.
Definition at line 261 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isFirst | ( | ) |
Definition at line 240 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isForceSummary | ( | ) |
Definition at line 131 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isItem | ( | ) |
Definition at line 143 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isLast | ( | ) |
Definition at line 244 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isNavigatorBottom | ( | ) |
Definition at line 99 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isNavigatorTop | ( | ) |
Definition at line 91 of file CollectionHtmlIterator.java.
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.isSearchOption | ( | ) |
Definition at line 123 of file CollectionHtmlIterator.java.
|
protected |
Definition at line 285 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.load | ( | ) |
Implements org.turro.action.content.IContentIterator.
Definition at line 163 of file CollectionHtmlIterator.java.
|
abstractprotected |
|
protected |
Definition at line 283 of file CollectionHtmlIterator.java.
|
protected |
Reimplemented in org.turro.alliance.client.ProjectGrantCollectionIterator.
Definition at line 289 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.render | ( | ) |
Implements org.turro.action.content.IContentIterator.
Definition at line 186 of file CollectionHtmlIterator.java.
|
abstractprotected |
String org.turro.collections.CollectionHtmlIterator< E, ID >.renderSearchEngine | ( | ) |
Reimplemented in org.turro.alliance.client.ProjectGrantCollectionIterator.
Definition at line 248 of file CollectionHtmlIterator.java.
|
abstractprotected |
String org.turro.collections.CollectionHtmlIterator< E, ID >.renderTree | ( | ) |
Definition at line 252 of file CollectionHtmlIterator.java.
String org.turro.collections.CollectionHtmlIterator< E, ID >.renderTreeSelection | ( | ) |
Definition at line 256 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.setForceSummary | ( | boolean | forceSummary | ) |
Definition at line 135 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.setFullTemplate | ( | String | fullTemplate | ) |
Definition at line 83 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.setNavigatorBottom | ( | boolean | navigatorBottom | ) |
Definition at line 103 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.setNavigatorTop | ( | boolean | navigatorTop | ) |
Definition at line 95 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.setSearchOption | ( | boolean | searchOption | ) |
Definition at line 127 of file CollectionHtmlIterator.java.
void org.turro.collections.CollectionHtmlIterator< E, ID >.setSummaryTemplate | ( | String | summaryTemplate | ) |
Definition at line 75 of file CollectionHtmlIterator.java.
|
protected |
Definition at line 293 of file CollectionHtmlIterator.java.
|
abstractprotected |
boolean org.turro.collections.CollectionHtmlIterator< E, ID >.wantItem | ( | ) |
Definition at line 139 of file CollectionHtmlIterator.java.
|
protected |
Definition at line 46 of file CollectionHtmlIterator.java.
|
protected |
Definition at line 45 of file CollectionHtmlIterator.java.
|
protected |
Definition at line 47 of file CollectionHtmlIterator.java.