com.liferay.portlet.expando.service
Class ExpandoTableServiceUtil

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

public class ExpandoTableServiceUtil
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.ExpandoTableService 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.ExpandoTableServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
ExpandoTableService, ExpandoTableServiceFactory

Constructor Summary
ExpandoTableServiceUtil()
           
 
Method Summary
static ExpandoTable addDefaultTable(long classNameId)
           
static ExpandoTable addDefaultTable(java.lang.String className)
           
static ExpandoTable addTable(long classNameId, java.lang.String name)
           
static ExpandoTable addTable(java.lang.String className, java.lang.String name)
           
static void deleteTable(long tableId)
           
static void deleteTable(long classNameId, java.lang.String name)
           
static void deleteTable(java.lang.String className, java.lang.String name)
           
static void deleteTables(long classNameId)
           
static void deleteTables(java.lang.String className)
           
static ExpandoTable getDefaultTable(long classNameId)
           
static ExpandoTable getDefaultTable(java.lang.String className)
           
static ExpandoTable getTable(long tableId)
           
static ExpandoTable getTable(long classNameId, java.lang.String name)
           
static ExpandoTable getTable(java.lang.String className, java.lang.String name)
           
static java.util.List<ExpandoTable> getTables(long classNameId)
           
static java.util.List<ExpandoTable> getTables(java.lang.String className)
           
static ExpandoTable updateTable(long tableId, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoTableServiceUtil

public ExpandoTableServiceUtil()
Method Detail

addDefaultTable

public static ExpandoTable addDefaultTable(java.lang.String className)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addDefaultTable

public static ExpandoTable addDefaultTable(long classNameId)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addTable

public static ExpandoTable addTable(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

addTable

public static ExpandoTable addTable(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

deleteTable

public static void deleteTable(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

deleteTable

public static void deleteTable(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

deleteTable

public static void deleteTable(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

deleteTables

public static void deleteTables(java.lang.String className)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteTables

public static void deleteTables(long classNameId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getDefaultTable

public static ExpandoTable getDefaultTable(java.lang.String className)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getDefaultTable

public static ExpandoTable getDefaultTable(long classNameId)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getTable

public static ExpandoTable getTable(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

getTable

public static ExpandoTable getTable(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

getTable

public static ExpandoTable getTable(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

getTables

public static java.util.List<ExpandoTable> getTables(java.lang.String className)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException,
                                                     java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getTables

public static java.util.List<ExpandoTable> getTables(long classNameId)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException,
                                                     java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateTable

public static ExpandoTable updateTable(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