19 package org.turro.www.convocation;
21 import org.turro.string.Strings;
22 import org.turro.action.Contacts;
23 import org.turro.collections.KeyValueMap;
24 import org.turro.contacts.Convocation;
25 import org.turro.contacts.db.ContactsPU;
26 import org.turro.elephant.context.IConstructor;
27 import org.turro.marker.ElephantMarker;
28 import org.turro.marker.MarkerHelper;
29 import org.turro.plugin.contacts.IContact;
38 private String
template;
43 this.constructor = constructor;
47 this.
template =
template;
56 if(convocation !=
null && contact !=
null && contact.
isValid()) {
57 return getMarker().
parse(
"convocation", Strings.isBlank(
template) ?
"check" :
template);
64 marker.
put(
"actions",
this);
65 marker.
put(
"contact", contact);
66 marker.
put(
"convocation", convocation);
String parse(String rootTmpl, String tmpl)
Object put(Object key, Object value)
static KeyValueMap getObfuscatedParameters()
ConvocationCheck(IConstructor constructor)
void setTemplate(String template)