com.liferay.portlet.expando.service
Class ExpandoRowServiceUtil

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

public class ExpandoRowServiceUtil
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.ExpandoRowService 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.ExpandoRowServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
ExpandoRowService, ExpandoRowServiceFactory

Constructor Summary
ExpandoRowServiceUtil()
           
 
Method Summary
static ExpandoRow addRow(long tableId)
           
static void deleteRow(long rowId)
           
static java.util.List<ExpandoRow> getDefaultTableRows(long classNameId, int begin, int end)
           
static java.util.List<ExpandoRow> getDefaultTableRows(java.lang.String className, int begin, int end)
           
static int getDefaultTableRowsCount(long classNameId)
           
static int getDefaultTableRowsCount(java.lang.String className)
           
static java.util.List<ExpandoRow> getRows(long tableId, int begin, int end)
           
static java.util.List<ExpandoRow> getRows(long classNameId, java.lang.String tableName, int begin, int end)
           
static java.util.List<ExpandoRow> getRows(java.lang.String className, java.lang.String tableName, int begin, int end)
           
static int getRowsCount(long tableId)
           
static int getRowsCount(long classNameId, java.lang.String tableName)
           
static int getRowsCount(java.lang.String className, java.lang.String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoRowServiceUtil

public ExpandoRowServiceUtil()
Method Detail

addRow

public static ExpandoRow addRow(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

deleteRow

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

getDefaultTableRows

public static java.util.List<ExpandoRow> getDefaultTableRows(java.lang.String className,
                                                             int begin,
                                                             int end)
                                                      throws com.liferay.portal.SystemException,
                                                             java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getDefaultTableRows

public static java.util.List<ExpandoRow> getDefaultTableRows(long classNameId,
                                                             int begin,
                                                             int end)
                                                      throws com.liferay.portal.SystemException,
                                                             java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getDefaultTableRowsCount

public static int getDefaultTableRowsCount(java.lang.String className)
                                    throws com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getDefaultTableRowsCount

public static int getDefaultTableRowsCount(long classNameId)
                                    throws com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRows

public static java.util.List<ExpandoRow> getRows(long tableId,
                                                 int begin,
                                                 int end)
                                          throws com.liferay.portal.SystemException,
                                                 java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRows

public static java.util.List<ExpandoRow> getRows(java.lang.String className,
                                                 java.lang.String tableName,
                                                 int begin,
                                                 int end)
                                          throws com.liferay.portal.SystemException,
                                                 java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRows

public static java.util.List<ExpandoRow> getRows(long classNameId,
                                                 java.lang.String tableName,
                                                 int begin,
                                                 int end)
                                          throws com.liferay.portal.SystemException,
                                                 java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRowsCount

public static int getRowsCount(long tableId)
                        throws com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRowsCount

public static int getRowsCount(java.lang.String className,
                               java.lang.String tableName)
                        throws com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRowsCount

public static int getRowsCount(long classNameId,
                               java.lang.String tableName)
                        throws com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException