com.liferay.portlet.webform.util
Class WebFormUtil

java.lang.Object
  extended by com.liferay.portlet.webform.util.WebFormUtil

public class WebFormUtil
extends java.lang.Object

View Source

Author:
Daniel Weisser, Jorge Ferrer

Field Summary
static int MAX_FIELDS
           
 
Constructor Summary
WebFormUtil()
           
 
Method Summary
static com.liferay.portlet.expando.model.ExpandoTable addTable(java.lang.String tableName)
           
static com.liferay.portlet.expando.model.ExpandoTable checkTable(java.lang.String tableName, javax.portlet.PortletPreferences prefs)
           
static java.lang.String getNewDatabaseTableName(java.lang.String portletId)
           
static int getTableRowsCount(java.lang.String tableName)
           
static java.lang.String[] split(java.lang.String s)
           
static java.lang.String[] split(java.lang.String s, java.lang.String delimiter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_FIELDS

public static final int MAX_FIELDS
Constructor Detail

WebFormUtil

public WebFormUtil()
Method Detail

addTable

public static com.liferay.portlet.expando.model.ExpandoTable addTable(java.lang.String tableName)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkTable

public static com.liferay.portlet.expando.model.ExpandoTable checkTable(java.lang.String tableName,
                                                                        javax.portlet.PortletPreferences prefs)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getNewDatabaseTableName

public static java.lang.String getNewDatabaseTableName(java.lang.String portletId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTableRowsCount

public static int getTableRowsCount(java.lang.String tableName)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

split

public static java.lang.String[] split(java.lang.String s)

split

public static java.lang.String[] split(java.lang.String s,
                                       java.lang.String delimiter)