com.liferay.portlet.expando.service
Class ExpandoColumnServiceUtil
java.lang.Object
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.
com.liferay.portlet.expando.service.ExpandoColumnServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
ExpandoColumnService
,
ExpandoColumnServiceFactory
Method Summary |
static ExpandoColumn |
addColumn(long tableId,
java.lang.String name,
int type)
|
static void |
deleteColumn(long columnId)
|
static void |
deleteColumns(long tableId)
|
static void |
deleteColumns(long classNameId,
java.lang.String tableName)
|
static void |
deleteColumns(java.lang.String className,
java.lang.String tableName)
|
static ExpandoColumn |
getColumn(long columnId)
|
static ExpandoColumn |
getColumn(long tableId,
java.lang.String name)
|
static ExpandoColumn |
getColumn(long classNameId,
java.lang.String tableName,
java.lang.String name)
|
static ExpandoColumn |
getColumn(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 classNameId,
java.lang.String tableName)
|
static java.util.List<ExpandoColumn> |
getColumns(java.lang.String className,
java.lang.String tableName)
|
static int |
getColumnsCount(long tableId)
|
static int |
getColumnsCount(long classNameId,
java.lang.String tableName)
|
static int |
getColumnsCount(java.lang.String className,
java.lang.String tableName)
|
static ExpandoColumn |
getDefaultTableColumn(long classNameId,
java.lang.String name)
|
static ExpandoColumn |
getDefaultTableColumn(java.lang.String className,
java.lang.String name)
|
static java.util.List<ExpandoColumn> |
getDefaultTableColumns(long classNameId)
|
static java.util.List<ExpandoColumn> |
getDefaultTableColumns(java.lang.String className)
|
static int |
getDefaultTableColumnsCount(long classNameId)
|
static int |
getDefaultTableColumnsCount(java.lang.String className)
|
static ExpandoColumn |
updateColumn(long columnId,
java.lang.String name,
int type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandoColumnServiceUtil
public ExpandoColumnServiceUtil()
addColumn
public static ExpandoColumn addColumn(long tableId,
java.lang.String name,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteColumn
public static void deleteColumn(long columnId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteColumns
public static void deleteColumns(long tableId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteColumns
public static void deleteColumns(java.lang.String className,
java.lang.String tableName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteColumns
public static void deleteColumns(long classNameId,
java.lang.String tableName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumn
public static ExpandoColumn getColumn(long columnId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumn
public static ExpandoColumn getColumn(long tableId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumn
public static ExpandoColumn getColumn(java.lang.String className,
java.lang.String tableName,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumn
public static ExpandoColumn getColumn(long classNameId,
java.lang.String tableName,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumns
public static java.util.List<ExpandoColumn> getColumns(long tableId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumns
public static java.util.List<ExpandoColumn> getColumns(java.lang.String className,
java.lang.String tableName)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumns
public static java.util.List<ExpandoColumn> getColumns(long classNameId,
java.lang.String tableName)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumnsCount
public static int getColumnsCount(long tableId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumnsCount
public static int getColumnsCount(java.lang.String className,
java.lang.String tableName)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getColumnsCount
public static int getColumnsCount(long classNameId,
java.lang.String tableName)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getDefaultTableColumn
public static ExpandoColumn getDefaultTableColumn(java.lang.String className,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getDefaultTableColumn
public static ExpandoColumn getDefaultTableColumn(long classNameId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getDefaultTableColumns
public static java.util.List<ExpandoColumn> getDefaultTableColumns(java.lang.String className)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getDefaultTableColumns
public static java.util.List<ExpandoColumn> getDefaultTableColumns(long classNameId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getDefaultTableColumnsCount
public static int getDefaultTableColumnsCount(java.lang.String className)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
getDefaultTableColumnsCount
public static int getDefaultTableColumnsCount(long classNameId)
throws com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException
updateColumn
public static ExpandoColumn updateColumn(long columnId,
java.lang.String name,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException