com.liferay.portlet.asset.util
Class AssetUtil
java.lang.Object
com.liferay.portlet.asset.util.AssetUtil
public class AssetUtil
- extends Object
Method Summary |
static Set<String> |
addLayoutTags(javax.servlet.http.HttpServletRequest request,
List<AssetTag> tags)
|
static void |
addPortletBreadcrumbEntries(long assetCategoryId,
javax.servlet.http.HttpServletRequest request,
PortletURL portletURL)
|
static void |
addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url)
|
static String |
getAssetKeywords(String className,
long classPK)
|
static Set<String> |
getLayoutTagNames(javax.servlet.http.HttpServletRequest request)
|
static boolean |
isValidWord(String word)
|
static String |
substituteCategoryPropertyVariables(long groupId,
long categoryId,
String s)
|
static String |
substituteTagPropertyVariables(long groupId,
String tagName,
String s)
|
static String |
toWord(String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INVALID_CHARACTERS
public static final char[] INVALID_CHARACTERS
AssetUtil
public AssetUtil()
addLayoutTags
public static Set<String> addLayoutTags(javax.servlet.http.HttpServletRequest request,
List<AssetTag> tags)
addPortletBreadcrumbEntries
public static void addPortletBreadcrumbEntries(long assetCategoryId,
javax.servlet.http.HttpServletRequest request,
PortletURL portletURL)
throws Exception
- Throws:
Exception
addPortletBreadcrumbEntry
public static void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest request,
String title,
String url)
throws Exception
- Throws:
Exception
getAssetKeywords
public static String getAssetKeywords(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getLayoutTagNames
public static Set<String> getLayoutTagNames(javax.servlet.http.HttpServletRequest request)
isValidWord
public static boolean isValidWord(String word)
substituteCategoryPropertyVariables
public static String substituteCategoryPropertyVariables(long groupId,
long categoryId,
String s)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
substituteTagPropertyVariables
public static String substituteTagPropertyVariables(long groupId,
String tagName,
String s)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
toWord
public static String toWord(String text)