com.liferay.portlet.expando.service
Class ExpandoColumnLocalServiceUtil

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

public class ExpandoColumnLocalServiceUtil
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 ExpandoColumnLocalService 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:
ExpandoColumnLocalService
Generated:

Constructor Summary
ExpandoColumnLocalServiceUtil()
           
 
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 ExpandoColumn addExpandoColumn(ExpandoColumn expandoColumn)
           
static ExpandoColumn createExpandoColumn(long columnId)
           
static void deleteColumn(ExpandoColumn column)
           
static void deleteColumn(long columnId)
           
static void deleteColumn(long companyId, long classNameId, java.lang.String tableName, java.lang.String name)
           
static void deleteColumn(long tableId, java.lang.String name)
           
static void deleteColumn(long companyId, java.lang.String className, java.lang.String tableName, java.lang.String name)
           
static void deleteColumns(long tableId)
           
static void deleteColumns(long companyId, long classNameId, java.lang.String tableName)
           
static void deleteColumns(long companyId, java.lang.String className, java.lang.String tableName)
           
static void deleteExpandoColumn(ExpandoColumn expandoColumn)
           
static void deleteExpandoColumn(long columnId)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static ExpandoColumn getColumn(long columnId)
           
static ExpandoColumn getColumn(long companyId, long classNameId, java.lang.String tableName, java.lang.String name)
           
static ExpandoColumn getColumn(long tableId, java.lang.String name)
           
static ExpandoColumn getColumn(long companyId, java.lang.String className, java.lang.String tableName, java.lang.String name)
           
static java.util.List<ExpandoColumn> getColumns(long tableId)
           
static java.util.List<ExpandoColumn> getColumns(long companyId, long classNameId, java.lang.String tableName)
           
static java.util.List<ExpandoColumn> getColumns(long companyId, java.lang.String className, java.lang.String tableName)
           
static int getColumnsCount(long tableId)
           
static int getColumnsCount(long companyId, long classNameId, java.lang.String tableName)
           
static int getColumnsCount(long companyId, java.lang.String className, java.lang.String tableName)
           
static ExpandoColumn getDefaultTableColumn(long companyId, long classNameId, java.lang.String name)
           
static ExpandoColumn getDefaultTableColumn(long companyId, java.lang.String className, java.lang.String name)
           
static java.util.List<ExpandoColumn> getDefaultTableColumns(long companyId, long classNameId)
           
static java.util.List<ExpandoColumn> getDefaultTableColumns(long companyId, java.lang.String className)
           
static int getDefaultTableColumnsCount(long companyId, long classNameId)
           
static int getDefaultTableColumnsCount(long companyId, java.lang.String className)
           
static ExpandoColumn getExpandoColumn(long columnId)
           
static java.util.List<ExpandoColumn> getExpandoColumns(int start, int end)
           
static int getExpandoColumnsCount()
           
static ExpandoColumnLocalService getService()
           
 void setService(ExpandoColumnLocalService 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 updateExpandoColumn(ExpandoColumn expandoColumn)
           
static ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn, boolean merge)
           
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

ExpandoColumnLocalServiceUtil

public ExpandoColumnLocalServiceUtil()
Method Detail

addExpandoColumn

public static ExpandoColumn addExpandoColumn(ExpandoColumn expandoColumn)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createExpandoColumn

public static ExpandoColumn createExpandoColumn(long columnId)

deleteExpandoColumn

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

deleteExpandoColumn

public static void deleteExpandoColumn(ExpandoColumn expandoColumn)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getExpandoColumn

public static ExpandoColumn getExpandoColumn(long columnId)
                                      throws com.liferay.portal.kernel.exception.PortalException,
                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getExpandoColumns

public static java.util.List<ExpandoColumn> getExpandoColumns(int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getExpandoColumnsCount

public static int getExpandoColumnsCount()
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateExpandoColumn

public static ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateExpandoColumn

public static ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn,
                                                boolean merge)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addColumn

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

addColumn

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

deleteColumn

public static void deleteColumn(ExpandoColumn column)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteColumn

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

deleteColumn

public static void deleteColumn(long companyId,
                                long classNameId,
                                java.lang.String tableName,
                                java.lang.String name)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteColumn

public static void deleteColumn(long tableId,
                                java.lang.String name)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteColumn

public static void deleteColumn(long companyId,
                                java.lang.String className,
                                java.lang.String tableName,
                                java.lang.String name)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteColumns

public static void deleteColumns(long tableId)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteColumns

public static void deleteColumns(long companyId,
                                 long classNameId,
                                 java.lang.String tableName)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteColumns

public static void deleteColumns(long companyId,
                                 java.lang.String className,
                                 java.lang.String tableName)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getColumn

public static ExpandoColumn getColumn(long columnId)
                               throws com.liferay.portal.kernel.exception.PortalException,
                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getColumn

public static ExpandoColumn getColumn(long companyId,
                                      long classNameId,
                                      java.lang.String tableName,
                                      java.lang.String name)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumn

public static ExpandoColumn getColumn(long tableId,
                                      java.lang.String name)
                               throws com.liferay.portal.kernel.exception.PortalException,
                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getColumn

public static ExpandoColumn getColumn(long companyId,
                                      java.lang.String className,
                                      java.lang.String tableName,
                                      java.lang.String name)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumns

public static java.util.List<ExpandoColumn> getColumns(long tableId)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumns

public static java.util.List<ExpandoColumn> getColumns(long companyId,
                                                       long classNameId,
                                                       java.lang.String tableName)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumns

public static java.util.List<ExpandoColumn> getColumns(long companyId,
                                                       java.lang.String className,
                                                       java.lang.String tableName)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumnsCount

public static int getColumnsCount(long tableId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumnsCount

public static int getColumnsCount(long companyId,
                                  long classNameId,
                                  java.lang.String tableName)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getColumnsCount

public static int getColumnsCount(long companyId,
                                  java.lang.String className,
                                  java.lang.String tableName)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumn

public static ExpandoColumn getDefaultTableColumn(long companyId,
                                                  long classNameId,
                                                  java.lang.String name)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumn

public static ExpandoColumn getDefaultTableColumn(long companyId,
                                                  java.lang.String className,
                                                  java.lang.String name)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumns

public static java.util.List<ExpandoColumn> getDefaultTableColumns(long companyId,
                                                                   long classNameId)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumns

public static java.util.List<ExpandoColumn> getDefaultTableColumns(long companyId,
                                                                   java.lang.String className)
                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumnsCount

public static int getDefaultTableColumnsCount(long companyId,
                                              long classNameId)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumnsCount

public static int getDefaultTableColumnsCount(long companyId,
                                              java.lang.String className)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateColumn

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

updateColumn

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

updateTypeSettings

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

getService

public static ExpandoColumnLocalService getService()

setService

public void setService(ExpandoColumnLocalService service)