19 package org.turro.parser;
21 import org.turro.string.ObjectString;
22 import org.turro.string.Strings;
23 import org.turro.annotation.ExternalParser;
24 import org.turro.elephant.context.ElephantContext;
25 import org.turro.i18n.I_;
26 import org.turro.publication.www.PublicationIterator;
27 import org.turro.util.IdGenerator;
38 return "Publications";
47 IdGenerator.generate());
48 pi.
setGroupId((Integer) ObjectString.parseNativeString(
getToken(2), Integer.class,
true));
50 pi.
setPage((Integer) ObjectString.parseNativeString(
getToken(4), Integer.class,
true));
53 pi.
setLang(Strings.isBlank(lang,
"_" +
I_.
api().used().getLanguage()));
65 IdGenerator.generate());
90 macros.
addMacro(
"publication-summary")
92 macros.
addMacro(
"single-publication")
static String getRootWebPath()
static I18nApiWrapper api()
void setFullTemplate(String fullTemplate)
void setNavigatorBottom(boolean navigatorBottom)
void setSearchOption(boolean searchOption)
void setSummaryTemplate(String summaryTemplate)
void setNavigatorTop(boolean navigatorTop)
String getToken(String name)
ParserMacro addMacro(String macroName)
ParserMacro addPossibleValue(String value)
void copyParametersFrom(String macroName, ParserMacroSet macros)
ParserMacro addParameter(String name, boolean optional)
void explainMacros(ParserMacroSet macros)
void setLang(String lang)
void setCategoryId(long categoryId)
void setGroupId(long groupId)