19 package org.turro.content;
21 import java.io.Writer;
22 import java.util.Collection;
23 import java.util.Collections;
24 import org.turro.action.Interceptors;
25 import org.turro.string.Strings;
26 import org.turro.elephant.context.IConstructor;
27 import org.turro.jpa.content.EntityItemContentIterator;
28 import org.turro.marker.ElephantMarker;
29 import org.turro.plugin.contacts.IContact;
30 import org.turro.warnings.ElephantWarnings;
31 import org.turro.warnings.IWarning;
47 prepareValues(e, page);
54 prepareValues(e, page);
61 if(w.getEntity().equals(value)) {
68 private void prepareValues(
IWarning w,
int page) {
79 return Collections.EMPTY_LIST;
84 return isMail() ?
"content/newsletter/sections/warnings" :
"warning";
static Parameters parameters(String root)
String getSummaryTemplate()
Collection< String > metas(IWarning e)
Object doInterestCtrl(IWarning e)
Object doDescriptionsCtrl(IWarning e)
Object doFilesCtrl(IWarning e)
WarningContentIterator(IConstructor constructor, Writer writer, IContact contact, boolean mail, String pubPath)
void renderSummary(ElephantMarker marker, IWarning e, int page)
IWarning entity(String value)
void renderItem(ElephantMarker marker, IWarning e, int page)
Object doAttachmentsCtrl(IWarning e)
String getItemLink(IWarning e)
Object doCommentsCtrl(IWarning e)
Object doVotesCtrl(IWarning e)
Object doPollsCtrl(IWarning e)
String getRestrictedLink()
void prepareControls(E entity, int page)
void process(String rootTmpl, String tmpl)
Object put(Object key, Object value)
static List< IWarning > getWarningList()