19 package org.turro.content;
21 import java.io.Writer;
22 import java.util.Collection;
23 import java.util.Collections;
24 import org.turro.string.Strings;
25 import org.turro.agreements.AgreementsUtil;
26 import org.turro.elephant.context.IConstructor;
27 import org.turro.elephant.entities.db.AgreementSignature;
28 import org.turro.jpa.content.EntityItemContentIterator;
29 import org.turro.marker.ElephantMarker;
30 import org.turro.plugin.contacts.IContact;
45 prepareValues(e, page);
52 prepareValues(e, page);
59 if(w.getId().equals(value)) {
77 return Collections.EMPTY_LIST;
82 return isMail() ?
"content/newsletter/sections/agreements" :
"agreement";
135 return "/user/myagreements";
static List< AgreementSignature > notSigned(IContact contact)
String getSummaryTemplate()
Object doCommentsCtrl(AgreementSignature e)
String title(AgreementSignature e)
Object doFilesCtrl(AgreementSignature e)
void renderItem(ElephantMarker marker, AgreementSignature e, int page)
Collection< String > metas(AgreementSignature e)
void renderSummary(ElephantMarker marker, AgreementSignature e, int page)
Object doPollsCtrl(AgreementSignature e)
AgreementContentIterator(IConstructor constructor, Writer writer, IContact contact, boolean mail, String pubPath)
Object doDescriptionsCtrl(AgreementSignature e)
String getItemLink(AgreementSignature e)
AgreementSignature entity(Long value)
Object doInterestCtrl(AgreementSignature e)
Object doVotesCtrl(AgreementSignature e)
String getRestrictedLink()
Object doAttachmentsCtrl(AgreementSignature e)
void prepareControls(E entity, int page)
void process(String rootTmpl, String tmpl)
Object put(Object key, Object value)