com.liferay.portal.atom
Class AtomUtil
java.lang.Object
com.liferay.portal.atom.AtomUtil
public class AtomUtil
- extends java.lang.Object
- Author:
- Igor Spasic
|
Method Summary |
static java.lang.String |
createCollectionLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
java.lang.String collectionName)
|
static java.lang.String |
createEntryLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
java.lang.String collectionName,
java.lang.String entryName)
|
static java.lang.String |
createFeedTitleFromPortletName(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
java.lang.String portletId)
|
static java.lang.String |
createIdTagPrefix(java.lang.String title)
|
static com.liferay.portal.model.Company |
getCompany()
|
static AtomPager |
getPager(org.apache.abdera.protocol.server.RequestContext requestContext)
|
static com.liferay.portal.model.User |
getUser(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
|
static java.lang.String |
resolveCollectionUrl(java.lang.String url,
java.lang.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.model.User user)
|
static java.lang.String |
setPageInUrl(java.lang.String url,
int page)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomUtil
public AtomUtil()
createCollectionLink
public static java.lang.String createCollectionLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
java.lang.String collectionName)
createEntryLink
public static java.lang.String createEntryLink(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
java.lang.String collectionName,
java.lang.String entryName)
createFeedTitleFromPortletName
public static java.lang.String createFeedTitleFromPortletName(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
java.lang.String portletId)
createIdTagPrefix
public static java.lang.String createIdTagPrefix(java.lang.String title)
getCompany
public static com.liferay.portal.model.Company getCompany()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getPager
public static AtomPager getPager(org.apache.abdera.protocol.server.RequestContext requestContext)
getUser
public static com.liferay.portal.model.User getUser(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext)
resolveCollectionUrl
public static java.lang.String resolveCollectionUrl(java.lang.String url,
java.lang.String collectionName)
saveAtomPagerInRequest
public static void saveAtomPagerInRequest(com.liferay.portal.kernel.atom.AtomRequestContext atomRequestContext,
AtomPager atomPager)
saveUserInRequest
public static void saveUserInRequest(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.model.User user)
setPageInUrl
public static java.lang.String setPageInUrl(java.lang.String url,
int page)