com.liferay.portlet.expando.service
Class ExpandoValueServiceUtil

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

public class ExpandoValueServiceUtil
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.ExpandoValueService 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.ExpandoValueServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
ExpandoValueService, ExpandoValueServiceFactory

Constructor Summary
ExpandoValueServiceUtil()
           
 
Method Summary
static ExpandoValue addValue(long columnId, long rowId, long classPK, java.lang.String data)
           
static void deleteColumnValues(long columnId)
           
static void deleteRowValues(long rowId)
           
static void deleteTableValues(long tableId)
           
static void deleteValue(long valueId)
           
static void deleteValues(long classNameId, long classPK)
           
static void deleteValues(java.lang.String className, long classPK)
           
static java.util.List<ExpandoValue> getColumnValues(long columnId, int begin, int end)
           
static java.util.List<ExpandoValue> getColumnValues(long classNameId, java.lang.String tableName, java.lang.String columnName, int begin, int end)
           
static java.util.List<ExpandoValue> getColumnValues(java.lang.String className, java.lang.String tableName, java.lang.String columnName, int begin, int end)
           
static int getColumnValuesCount(long columnId)
           
static int getColumnValuesCount(long classNameId, java.lang.String tableName, java.lang.String columnName)
           
static int getColumnValuesCount(java.lang.String className, java.lang.String tableName, java.lang.String columnName)
           
static java.util.List<ExpandoValue> getDefaultTableColumnValues(long classNameId, java.lang.String columnName, int begin, int end)
           
static java.util.List<ExpandoValue> getDefaultTableColumnValues(java.lang.String className, java.lang.String columnName, int begin, int end)
           
static int getDefaultTableColumnValuesCount(long classNameId, java.lang.String columnName)
           
static int getDefaultTableColumnValuesCount(java.lang.String className, java.lang.String columnName)
           
static java.util.List<ExpandoValue> getRowValues(long rowId)
           
static java.util.List<ExpandoValue> getRowValues(long rowId, int begin, int end)
           
static int getRowValuesCount(long rowId)
           
static ExpandoValue getValue(long valueId)
           
static ExpandoValue getValue(long columnId, long rowId)
           
static ExpandoValue getValue(long classNameId, java.lang.String tableName, java.lang.String name, long rowId)
           
static ExpandoValue getValue(java.lang.String className, java.lang.String tableName, java.lang.String name, long rowId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoValueServiceUtil

public ExpandoValueServiceUtil()
Method Detail

addValue

public static ExpandoValue addValue(long columnId,
                                    long rowId,
                                    long classPK,
                                    java.lang.String data)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteColumnValues

public static void deleteColumnValues(long columnId)
                               throws com.liferay.portal.SystemException,
                                      java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteRowValues

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

deleteTableValues

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

deleteValue

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

deleteValues

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

deleteValues

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

getColumnValues

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

getColumnValues

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

getColumnValues

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

getColumnValuesCount

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

getColumnValuesCount

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

getColumnValuesCount

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

getDefaultTableColumnValues

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

getDefaultTableColumnValues

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

getDefaultTableColumnValuesCount

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

getDefaultTableColumnValuesCount

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

getRowValues

public static java.util.List<ExpandoValue> getRowValues(long rowId)
                                                 throws com.liferay.portal.SystemException,
                                                        java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

getRowValues

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

getRowValuesCount

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

getValue

public static ExpandoValue getValue(long valueId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getValue

public static ExpandoValue getValue(long columnId,
                                    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

getValue

public static ExpandoValue getValue(java.lang.String className,
                                    java.lang.String tableName,
                                    java.lang.String name,
                                    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

getValue

public static ExpandoValue getValue(long classNameId,
                                    java.lang.String tableName,
                                    java.lang.String name,
                                    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