com.dotmarketing.util
Class UtilHTML

java.lang.Object
  extended by com.dotmarketing.util.UtilHTML

public class UtilHTML
extends java.lang.Object


Constructor Summary
UtilHTML()
           
 
Method Summary
static java.lang.String getAssetIcon(WebAsset webasset)
           
static java.lang.String getCategoriesByEntityName(java.lang.String parameterName, java.lang.String entityName, long childInode, boolean displayTitle, boolean multipleValues, int size, boolean readonly)
           
static java.lang.String getCategoriesByEntityName(java.lang.String parameterName, java.lang.String entityName, java.lang.String[] selectCatsString, boolean displayTitle, boolean multipleValues, int size, boolean readonly)
          This methods return the selects required for the categories of an entity
static java.lang.String getLanguagesIcons(HttpServletRequest request, Contentlet contentlet)
           
static java.lang.String getSelectCategories(Inode current)
           
static java.lang.String getSelectCategories(Inode parent, int level, Inode current)
           
static java.lang.String getSelectCategories(Inode parent, int level, Inode current, int maxlevel)
           
static java.lang.String getSelectCategories(Inode parent, int level, java.lang.String currentCats)
           
static java.lang.String getSelectCategories(Inode parent, int level, java.lang.String[] currentCats)
           
static java.lang.String getSelectCategories(Inode parent, int level, java.lang.String[] selectedCategoriesIds, int maxlevel)
           
static java.lang.String getSelectCategories(long x)
           
static java.lang.String getSelectCategoriesByParent(Inode parent)
           
static java.lang.String getSelectCategoriesTextMode(Inode parent, int level, java.lang.String currentCats)
           
static java.lang.String getSelectCategoriesTextMode(Inode parent, int level, java.lang.String[] currentCats)
           
static java.lang.String getSelectLanguages(Contentlet contentlet)
           
static java.lang.String getSelectTemplates(com.liferay.portal.model.User user, long templateInode)
           
static java.lang.String getSelectTemplates(long templateInode)
           
static java.lang.String getStatusIcons(boolean live, boolean working, boolean deleted, boolean locked, java.lang.String COMMON_IMG, boolean showWorking)
           
static java.lang.String getStatusIcons(WebAsset webasset, java.lang.String COMMON_IMG, boolean showWorking)
           
static java.lang.String recuranceToString(Event e, Recurance r)
           
static java.lang.String recuranceToString(Recurance r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilHTML

public UtilHTML()
Method Detail

getStatusIcons

public static java.lang.String getStatusIcons(WebAsset webasset,
                                              java.lang.String COMMON_IMG,
                                              boolean showWorking)

getStatusIcons

public static java.lang.String getStatusIcons(boolean live,
                                              boolean working,
                                              boolean deleted,
                                              boolean locked,
                                              java.lang.String COMMON_IMG,
                                              boolean showWorking)

getAssetIcon

public static java.lang.String getAssetIcon(WebAsset webasset)

getSelectCategories

public static java.lang.String getSelectCategories(Inode parent,
                                                   int level,
                                                   Inode current)

getLanguagesIcons

public static java.lang.String getLanguagesIcons(HttpServletRequest request,
                                                 Contentlet contentlet)

getSelectLanguages

public static java.lang.String getSelectLanguages(Contentlet contentlet)

getSelectCategories

public static java.lang.String getSelectCategories(Inode parent,
                                                   int level,
                                                   java.lang.String currentCats)

getSelectCategoriesTextMode

public static java.lang.String getSelectCategoriesTextMode(Inode parent,
                                                           int level,
                                                           java.lang.String currentCats)

getSelectCategories

public static java.lang.String getSelectCategories(Inode parent,
                                                   int level,
                                                   java.lang.String[] currentCats)

getSelectCategoriesTextMode

public static java.lang.String getSelectCategoriesTextMode(Inode parent,
                                                           int level,
                                                           java.lang.String[] currentCats)

getSelectTemplates

public static java.lang.String getSelectTemplates(com.liferay.portal.model.User user,
                                                  long templateInode)

getSelectTemplates

public static java.lang.String getSelectTemplates(long templateInode)

getSelectCategories

public static java.lang.String getSelectCategories(Inode current)

getSelectCategories

public static java.lang.String getSelectCategories(long x)

getSelectCategoriesByParent

public static java.lang.String getSelectCategoriesByParent(Inode parent)

getSelectCategories

public static java.lang.String getSelectCategories(Inode parent,
                                                   int level,
                                                   Inode current,
                                                   int maxlevel)

getSelectCategories

public static java.lang.String getSelectCategories(Inode parent,
                                                   int level,
                                                   java.lang.String[] selectedCategoriesIds,
                                                   int maxlevel)

recuranceToString

public static java.lang.String recuranceToString(Recurance r)

recuranceToString

public static java.lang.String recuranceToString(Event e,
                                                 Recurance r)

getCategoriesByEntityName

public static java.lang.String getCategoriesByEntityName(java.lang.String parameterName,
                                                         java.lang.String entityName,
                                                         java.lang.String[] selectCatsString,
                                                         boolean displayTitle,
                                                         boolean multipleValues,
                                                         int size,
                                                         boolean readonly)
This methods return the selects required for the categories of an entity

Parameters:
parameterName - value of the "name" attribute for the