public class AtomUtil
extends Object
Constructor and Description |
---|
AtomUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
createCollectionLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
String collectionName) |
static String |
createEntryLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
String collectionName,
String entryName) |
static String |
createFeedTitleFromPortletName(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
String portletId) |
static String |
createIdTagPrefix(String title) |
static com.liferay.portal.kernel.model.Company |
getCompany() |
static AtomPager |
getPager(org.apache.abdera.protocol.server.RequestContext requestContext) |
static com.liferay.portal.kernel.model.User |
getUser(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext) |
static String |
resolveCollectionUrl(String url,
String collectionName) |
static void |
saveAtomPagerInRequest(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
AtomPager atomPager) |
static void |
saveUserInRequest(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.User user) |
static String |
setPageInUrl(String url,
int page) |
public static String createCollectionLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext, String collectionName)
public static String createEntryLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext, String collectionName, String entryName)
public static String createFeedTitleFromPortletName(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext, String portletId)
public static String createIdTagPrefix(String title)
public static com.liferay.portal.kernel.model.Company getCompany() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AtomPager getPager(org.apache.abdera.protocol.server.RequestContext requestContext)
public static com.liferay.portal.kernel.model.User getUser(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
public static String resolveCollectionUrl(String url, String collectionName)
public static void saveAtomPagerInRequest(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext, AtomPager atomPager)
public static void saveUserInRequest(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.User user)
public static String setPageInUrl(String url, int page)