Public Member Functions | |
ChallengeContentIterator (IConstructor constructor, Writer writer, IContact contact, boolean mail, String pubPath) | |
boolean | isMine (Challenge challenge, IContact contact) |
boolean | isMine (Response response, IContact contact) |
boolean | isVisible (Response response, IContact contact) |
boolean | isStudentRelated () |
void | setStudentRelated (boolean studentRelated) |
boolean | isChallengerRelated () |
void | setChallengerRelated (boolean challengerRelated) |
String | getStatus () |
void | setStatus (String status) |
void | setResponseFrom (int days) |
Object | getResponseAttachCtrl (Response response) |
Collection< Path > | getCategories () |
Public Member Functions inherited from org.turro.jpa.content.EntityDaoContentIterator< E, ID > | |
EntityDaoContentIterator (Dao dao, IConstructor constructor, Writer writer, IContact contact, boolean mail, String contextPath) | |
void | setSeenStatus (SeenStatusCheck seenStatus) |
SeenStatusCheck | getSeenStatus () |
String | getId () |
String | getContextPath () |
IContact | getContact () |
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) |
Object | getForumCtrl (E e) |
void | assignDefaultsByName (String name) |
void | assignDefaultsByMacro (MacroProcessorContext context) |
Object | getParticipationCtrl (E e, ParticipationReason reason) |
Object | getSpamCtrl (E e) |
Object | getFollowCtrl (E e) |
Object | getSeenCtrl (E e) |
Object | getLikeCtrl (E e) |
Object | getApplyCtrl (E e) |
Object | getCtrlByLabel (String ctrl, E e, IContact contact) |
Public Member Functions inherited from org.turro.jpa.iterator.DaoHtmlIterator< E, ID > | |
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 | |
WhereClause | getWhereClause () |
WhereClause | getCountClause () |
void | renderSummary (ElephantMarker marker, Challenge e, int page) |
void | renderItem (ElephantMarker marker, Challenge e, int page) |
String | entityRoot () |
Challenge | entity (Long value) |
VisualElements | loadVisuals () |
boolean | isValid (Challenge e) |
String | title (Challenge e) |
Collection< String > | metas (Challenge e) |
String | getTemplateRoot () |
Object | doVotesCtrl (Challenge e) |
Object | doInterestCtrl (Challenge e) |
Object | doCommentsCtrl (Challenge e) |
Object | doAttachmentsCtrl (Challenge e) |
Object | doFilesCtrl (Challenge e) |
Object | doDescriptionsCtrl (Challenge e) |
Object | doPollsCtrl (Challenge e) |
String | getItemLink (Challenge e) |
String | getReadAllLink () |
String | getRestrictedLink () |
Protected Member Functions inherited from org.turro.jpa.content.EntityDaoContentIterator< E, ID > | |
void | prepareControls (E entity, int page) |
String | doItemLink (E entity, ID id, boolean obfuscated) |
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.jpa.iterator.DaoHtmlIterator< 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) |
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 () |
Additional Inherited Members | |
Static Public Attributes inherited from org.turro.action.content.IContentIterator | |
static String | PRELOAD_TMPL = "#preload" |
Protected Attributes inherited from org.turro.jpa.iterator.DaoHtmlIterator< E, ID > | |
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 |
Definition at line 62 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
org.turro.students.content.ChallengeContentIterator.ChallengeContentIterator | ( | IConstructor | constructor, |
Writer | writer, | ||
IContact | contact, | ||
boolean | mail, | ||
String | pubPath | ||
) |
Definition at line 68 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 297 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 291 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 309 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 303 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 285 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 315 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 279 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 175 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.
Definition at line 170 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
Collection<Path> org.turro.students.content.ChallengeContentIterator.getCategories | ( | ) |
Definition at line 117 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.iterator.DaoIterator< E, ID >.
Definition at line 144 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 321 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.content.EntityDaoContentIterator< E, ID >.
Definition at line 326 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
Object org.turro.students.content.ChallengeContentIterator.getResponseAttachCtrl | ( | Response | response | ) |
Definition at line 112 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.content.EntityDaoContentIterator< E, ID >.
Definition at line 338 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
String org.turro.students.content.ChallengeContentIterator.getStatus | ( | ) |
Definition at line 100 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.content.EntityDaoContentIterator< E, ID >.
Definition at line 274 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.iterator.DaoIterator< E, ID >.
Definition at line 127 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
boolean org.turro.students.content.ChallengeContentIterator.isChallengerRelated | ( | ) |
Definition at line 92 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
boolean org.turro.students.content.ChallengeContentIterator.isMine | ( | Challenge | challenge, |
IContact | contact | ||
) |
Definition at line 72 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
boolean org.turro.students.content.ChallengeContentIterator.isMine | ( | Response | response, |
IContact | contact | ||
) |
Definition at line 76 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
boolean org.turro.students.content.ChallengeContentIterator.isStudentRelated | ( | ) |
Definition at line 84 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 241 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
boolean org.turro.students.content.ChallengeContentIterator.isVisible | ( | Response | response, |
IContact | contact | ||
) |
Definition at line 80 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Reimplemented from org.turro.jpa.iterator.DaoHtmlIterator< E, ID >.
Definition at line 187 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 259 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 163 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 154 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
void org.turro.students.content.ChallengeContentIterator.setChallengerRelated | ( | boolean | challengerRelated | ) |
Definition at line 96 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
void org.turro.students.content.ChallengeContentIterator.setResponseFrom | ( | int | days | ) |
Definition at line 108 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
void org.turro.students.content.ChallengeContentIterator.setStatus | ( | String | status | ) |
Definition at line 104 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
void org.turro.students.content.ChallengeContentIterator.setStudentRelated | ( | boolean | studentRelated | ) |
Definition at line 88 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.
|
protected |
Definition at line 251 of file elephant-students/src/main/java/org/turro/students/content/ChallengeContentIterator.java.