com.liferay.portlet.tags.util
Class TagsUtil

java.lang.Object
  extended by com.liferay.portlet.tags.util.TagsUtil

public class TagsUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String[] ASSET_TYPE_CLASS_NAMES
           
static java.lang.String[] ASSET_TYPE_PORTLET_IDS
           
static char[] INVALID_CHARACTERS
           
 
Constructor Summary
TagsUtil()
           
 
Method Summary
static java.util.Set<java.lang.String> addLayoutTagsEntries(javax.servlet.http.HttpServletRequest request, java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)
           
static java.util.Set<java.lang.String> getLayoutTagsEntries(javax.servlet.http.HttpServletRequest request)
           
static java.lang.String[] getTagsCategories(javax.portlet.PortletRequest portletRequest)
           
static java.lang.String[] getTagsEntries(javax.portlet.PortletRequest portletRequest)
           
static boolean isValidWord(java.lang.String word)
           
static java.lang.String substitutePropertyVariables(long groupId, java.lang.String entryName, 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
 

Field Detail

ASSET_TYPE_CLASS_NAMES

public static final java.lang.String[] ASSET_TYPE_CLASS_NAMES

ASSET_TYPE_PORTLET_IDS

public static final java.lang.String[] ASSET_TYPE_PORTLET_IDS

INVALID_CHARACTERS

public static char[] INVALID_CHARACTERS
Constructor Detail

TagsUtil

public TagsUtil()
Method Detail

addLayoutTagsEntries

public static java.util.Set<java.lang.String> addLayoutTagsEntries(javax.servlet.http.HttpServletRequest request,
                                                                   java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)

getLayoutTagsEntries

public static java.util.Set<java.lang.String> getLayoutTagsEntries(javax.servlet.http.HttpServletRequest request)

getTagsCategories

public static java.lang.String[] getTagsCategories(javax.portlet.PortletRequest portletRequest)

getTagsEntries

public static java.lang.String[] getTagsEntries(javax.portlet.PortletRequest portletRequest)

isValidWord

public static boolean isValidWord(java.lang.String word)

substitutePropertyVariables

public static java.lang.String substitutePropertyVariables(long groupId,
                                                           java.lang.String entryName,
                                                           java.lang.String s)
                                                    throws com.liferay.portal.PortalException,
                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

toWord

public static java.lang.String toWord(java.lang.String text)