| java.lang.Object com.liferay.portlet.journal.util.JournalUtil
JournalUtil | public class JournalUtil (Code) | | View Source
author: Brian Wing Shun Chan author: Raymond Augé |
Method Summary | |
public static void | addAllReservedEls(Element root, Map tokens, JournalArticle article) | public static void | addRecentArticle(PortletRequest req, JournalArticle article) | public static void | addRecentStructure(PortletRequest req, JournalStructure structure) | public static void | addRecentTemplate(PortletRequest req, JournalTemplate template) | public static void | addReservedEl(Element root, Map tokens, String name, double value) | public static void | addReservedEl(Element root, Map tokens, String name, Date value) | public static void | addReservedEl(Element root, Map tokens, String name, String value) | public static String | formatVM(String vm) | public static String | formatXML(String xml) | public static String | formatXML(Document doc) | public static OrderByComparator | getArticleOrderByComparator(String orderByCol, String orderByType) | public static String | getEmailArticleApprovalDeniedBody(PortletPreferences prefs) | public static boolean | getEmailArticleApprovalDeniedEnabled(PortletPreferences prefs) | public static String | getEmailArticleApprovalDeniedSubject(PortletPreferences prefs) | public static String | getEmailArticleApprovalGrantedBody(PortletPreferences prefs) | public static boolean | getEmailArticleApprovalGrantedEnabled(PortletPreferences prefs) | public static String | getEmailArticleApprovalGrantedSubject(PortletPreferences prefs) | public static String | getEmailArticleApprovalRequestedBody(PortletPreferences prefs) | public static boolean | getEmailArticleApprovalRequestedEnabled(PortletPreferences prefs) | public static String | getEmailArticleApprovalRequestedSubject(PortletPreferences prefs) | public static String | getEmailArticleReviewBody(PortletPreferences prefs) | public static boolean | getEmailArticleReviewEnabled(PortletPreferences prefs) | public static String | getEmailArticleReviewSubject(PortletPreferences prefs) | public static String | getEmailFromAddress(PortletPreferences prefs) | public static String | getEmailFromName(PortletPreferences prefs) | public static Stack | getRecentArticles(PortletRequest req) | public static Stack | getRecentStructures(PortletRequest req) | public static Stack | getRecentTemplates(PortletRequest req) | public static String | getTemplateScript(long groupId, String templateId, Map tokens, String languageId) | public static String | getTemplateScript(long groupId, String templateId, Map tokens, String languageId, boolean transform) | public static String | getTemplateScript(JournalTemplate template, Map tokens, String languageId, boolean transform) | public static Map | getTokens(long groupId, ThemeDisplay themeDisplay) | public static String | mergeLocaleContent(String curContent, String newContent, String xsd) | public static String | removeArticleLocale(String content, String languageId) | public static void | removeArticleLocale(Element el, String languageId) | public static String | removeOldContent(String content, String xsd) | public static void | removeRecentArticle(PortletRequest req, String articleId) | public static void | removeRecentStructure(PortletRequest req, String structureId) | public static void | removeRecentTemplate(PortletRequest req, String templateId) | public static String | transform(Map tokens, String languageId, String xml, String script, String langType) |
MAX_STACK_SIZE | final public static int MAX_STACK_SIZE(Code) | | |
addRecentArticle | public static void addRecentArticle(PortletRequest req, JournalArticle article)(Code) | | |
addRecentTemplate | public static void addRecentTemplate(PortletRequest req, JournalTemplate template)(Code) | | |
addReservedEl | public static void addReservedEl(Element root, Map tokens, String name, double value)(Code) | | |
addReservedEl | public static void addReservedEl(Element root, Map tokens, String name, Date value)(Code) | | |
getEmailArticleApprovalDeniedBody | public static String getEmailArticleApprovalDeniedBody(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleApprovalDeniedEnabled | public static boolean getEmailArticleApprovalDeniedEnabled(PortletPreferences prefs)(Code) | | |
getEmailArticleApprovalDeniedSubject | public static String getEmailArticleApprovalDeniedSubject(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleApprovalGrantedBody | public static String getEmailArticleApprovalGrantedBody(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleApprovalGrantedEnabled | public static boolean getEmailArticleApprovalGrantedEnabled(PortletPreferences prefs)(Code) | | |
getEmailArticleApprovalGrantedSubject | public static String getEmailArticleApprovalGrantedSubject(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleApprovalRequestedBody | public static String getEmailArticleApprovalRequestedBody(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleApprovalRequestedEnabled | public static boolean getEmailArticleApprovalRequestedEnabled(PortletPreferences prefs)(Code) | | |
getEmailArticleApprovalRequestedSubject | public static String getEmailArticleApprovalRequestedSubject(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleReviewBody | public static String getEmailArticleReviewBody(PortletPreferences prefs) throws IOException(Code) | | |
getEmailArticleReviewEnabled | public static boolean getEmailArticleReviewEnabled(PortletPreferences prefs)(Code) | | |
getEmailArticleReviewSubject | public static String getEmailArticleReviewSubject(PortletPreferences prefs) throws IOException(Code) | | |
getEmailFromAddress | public static String getEmailFromAddress(PortletPreferences prefs)(Code) | | |
getEmailFromName | public static String getEmailFromName(PortletPreferences prefs)(Code) | | |
getRecentArticles | public static Stack getRecentArticles(PortletRequest req)(Code) | | |
getRecentStructures | public static Stack getRecentStructures(PortletRequest req)(Code) | | |
getRecentTemplates | public static Stack getRecentTemplates(PortletRequest req)(Code) | | |
removeRecentArticle | public static void removeRecentArticle(PortletRequest req, String articleId)(Code) | | |
removeRecentStructure | public static void removeRecentStructure(PortletRequest req, String structureId)(Code) | | |
removeRecentTemplate | public static void removeRecentTemplate(PortletRequest req, String templateId)(Code) | | |
|
|