com.liferay.portlet.asset.util
Class AssetUtil
java.lang.Object
com.liferay.portlet.asset.util.AssetUtil
public class AssetUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan, Jorge Ferrer
Method Summary |
static java.util.Set<java.lang.String> |
addLayoutTags(javax.servlet.http.HttpServletRequest request,
java.util.List<com.liferay.portlet.asset.model.AssetTag> tags)
|
static void |
addPortletBreadcrumbEntries(long assetCategoryId,
javax.servlet.http.HttpServletRequest request,
javax.portlet.PortletURL portletURL)
|
static java.lang.String |
getAssetKeywords(java.lang.String className,
long classPK)
|
static java.util.Set<java.lang.String> |
getLayoutTagNames(javax.servlet.http.HttpServletRequest request)
|
static boolean |
isValidWord(java.lang.String word)
|
static java.lang.String |
substituteCategoryPropertyVariables(long groupId,
long categoryId,
java.lang.String s)
|
static java.lang.String |
substituteTagPropertyVariables(long groupId,
java.lang.String tagName,
java.lang.String s)
|
static java.lang.String |
toWord(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INVALID_CHARACTERS
public static char[] INVALID_CHARACTERS
AssetUtil
public AssetUtil()
addLayoutTags
public static java.util.Set<java.lang.String> addLayoutTags(javax.servlet.http.HttpServletRequest request,
java.util.List<com.liferay.portlet.asset.model.AssetTag> tags)
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(long assetCategoryId,
javax.servlet.http.HttpServletRequest request,
javax.portlet.PortletURL portletURL)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAssetKeywords
public static java.lang.String getAssetKeywords(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getLayoutTagNames
public static java.util.Set<java.lang.String> getLayoutTagNames(javax.servlet.http.HttpServletRequest request)
isValidWord
public static boolean isValidWord(java.lang.String word)
substituteCategoryPropertyVariables
public static java.lang.String substituteCategoryPropertyVariables(long groupId,
long categoryId,
java.lang.String s)
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
substituteTagPropertyVariables
public static java.lang.String substituteTagPropertyVariables(long groupId,
java.lang.String tagName,
java.lang.String s)
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
toWord
public static java.lang.String toWord(java.lang.String text)