com.liferay.portlet.expando.service
Class ExpandoColumnServiceUtil

java.lang.Object
  extended by com.liferay.portlet.expando.service.ExpandoColumnServiceUtil

public class ExpandoColumnServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.expando.service.ExpandoColumnService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
ExpandoColumnService

Constructor Summary
ExpandoColumnServiceUtil()
           
 
Method Summary
static ExpandoColumn addColumn(long tableId, java.lang.String name, int type)
           
static ExpandoColumn addColumn(long tableId, java.lang.String name, int type, java.lang.Object defaultData)
           
static void deleteColumn(long columnId)
           
static ExpandoColumnService getService()
           
 void setService(ExpandoColumnService service)
           
static ExpandoColumn updateColumn(long columnId, java.lang.String name, int type)
           
static ExpandoColumn updateColumn(long columnId, java.lang.String name, int type, java.lang.Object defaultData)
           
static ExpandoColumn updateTypeSettings(long columnId, java.lang.String typeSettings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoColumnServiceUtil

public ExpandoColumnServiceUtil()
Method Detail

addColumn

public static ExpandoColumn addColumn(long tableId,
                                      java.lang.String name,
                                      int type)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addColumn

public static ExpandoColumn addColumn(long tableId,
                                      java.lang.String name,
                                      int type,
                                      java.lang.Object defaultData)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteColumn

public static void deleteColumn(long columnId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateColumn

public static ExpandoColumn updateColumn(long columnId,
                                         java.lang.String name,
                                         int type)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateColumn

public static ExpandoColumn updateColumn(long columnId,
                                         java.lang.String name,
                                         int type,
                                         java.lang.Object defaultData)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateTypeSettings

public static ExpandoColumn updateTypeSettings(long columnId,
                                               java.lang.String typeSettings)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static ExpandoColumnService getService()

setService

public void setService(ExpandoColumnService service)