|
MacroMap | macros = new MacroMap() |
|
◆ doProcess()
Reimplemented from org.turro.parser.processor.AbstractMacroProcessor.
Definition at line 40 of file ContactsProcessor.java.
41 final MacroAdapter macro = context.getMacro();
42 switch(macro.getName()) {
44 DaoHtmlSearch.renderInstance(context.getConstructor());
45 DirectoryContentIterator pci =
new DirectoryContentIterator(
46 context.getConstructor(), context.getWriter(),
47 Authentication.getIContact(),
false, context.getContextPath(
true));
48 pci.setAllowAttachments(
true);
49 pci.setAllowFiles(
true);
50 pci.setTypes(macro.get(
"type"));
51 pci.setSyndications(macro.get(
"syndicationId"));
52 pci.setContactIds(Strings.csvToList(macro.get(
"contactId")));
53 pci.assignDefaultsByMacro(context);
◆ explainMacros()
void org.turro.parser.processor.ContactsProcessor.explainMacros |
( |
MacroMap |
macros | ) |
|
|
protected |
Reimplemented from org.turro.parser.processor.AbstractMacroProcessor.
Definition at line 61 of file ContactsProcessor.java.
62 macros.addMacro(
"directory")
63 .addParameter(MacroParameter.strict(
"type",
"typed",
64 "companies",
"centers",
"professionals",
65 "educators",
"students",
"singletons").multiple())
66 .addParameter(MacroParameter.optional(
"syndicationId").multiple())
67 .addParameter(MacroParameter.optional(
"contactId").multiple())
68 .addIterator(12,
true,
false,
false,
false)
69 .addTemplate(
"summary");
◆ getName()
String org.turro.parser.processor.ContactsProcessor.getName |
( |
| ) |
|
The documentation for this class was generated from the following file: