com.liferay.portlet.expando.service.persistence
Class ExpandoRowUtil

java.lang.Object
  extended by com.liferay.portlet.expando.service.persistence.ExpandoRowUtil

public class ExpandoRowUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
ExpandoRowPersistence, ExpandoRowPersistenceImpl
Generated:

Constructor Summary
ExpandoRowUtil()
           
 
Method Summary
static void cacheResult(ExpandoRow expandoRow)
           
static void cacheResult(java.util.List<ExpandoRow> expandoRows)
           
static void clearCache()
           
static void clearCache(ExpandoRow expandoRow)
           
static int countAll()
           
static int countByT_C(long tableId, long classPK)
           
static int countByTableId(long tableId)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static ExpandoRow create(long rowId)
           
static ExpandoRow fetchByPrimaryKey(long rowId)
           
static ExpandoRow fetchByT_C(long tableId, long classPK)
           
static ExpandoRow fetchByT_C(long tableId, long classPK, boolean retrieveFromCache)
           
static java.util.List<ExpandoRow> findAll()
           
static java.util.List<ExpandoRow> findAll(int start, int end)
           
static java.util.List<ExpandoRow> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoRow findByPrimaryKey(long rowId)
           
static ExpandoRow findByT_C(long tableId, long classPK)
           
static ExpandoRow findByTableId_First(long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoRow findByTableId_Last(long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoRow[] findByTableId_PrevAndNext(long rowId, long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<ExpandoRow> findByTableId(long tableId)
           
static java.util.List<ExpandoRow> findByTableId(long tableId, int start, int end)
           
static java.util.List<ExpandoRow> findByTableId(long tableId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static ExpandoRowPersistence getPersistence()
           
static ExpandoRow remove(ExpandoRow expandoRow)
           
static ExpandoRow remove(long rowId)
           
static void removeAll()
           
static void removeByT_C(long tableId, long classPK)
           
static void removeByTableId(long tableId)
           
 void setPersistence(ExpandoRowPersistence persistence)
           
static ExpandoRow update(ExpandoRow expandoRow)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static ExpandoRow update(ExpandoRow expandoRow, boolean merge)
           
static ExpandoRow updateImpl(ExpandoRow expandoRow, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoRowUtil

public ExpandoRowUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(ExpandoRow expandoRow)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(ExpandoRow)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

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

findWithDynamicQuery

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

remove

public static ExpandoRow remove(ExpandoRow expandoRow)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ExpandoRow update(ExpandoRow expandoRow,
                                boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(ExpandoRow expandoRow)

cacheResult

public static void cacheResult(java.util.List<ExpandoRow> expandoRows)

create

public static ExpandoRow create(long rowId)

remove

public static ExpandoRow remove(long rowId)
                         throws com.liferay.portal.SystemException,
                                NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

update

public static ExpandoRow update(ExpandoRow expandoRow)
                         throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

public static ExpandoRow updateImpl(ExpandoRow expandoRow,
                                    boolean merge)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static ExpandoRow findByPrimaryKey(long rowId)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

fetchByPrimaryKey

public static ExpandoRow fetchByPrimaryKey(long rowId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId

public static java.util.List<ExpandoRow> findByTableId(long tableId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId

public static java.util.List<ExpandoRow> findByTableId(long tableId,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId

public static java.util.List<ExpandoRow> findByTableId(long tableId,
                                                       int start,
                                                       int end,
                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId_First

public static ExpandoRow findByTableId_First(long tableId,
                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

findByTableId_Last

public static ExpandoRow findByTableId_Last(long tableId,
                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

findByTableId_PrevAndNext

public static ExpandoRow[] findByTableId_PrevAndNext(long rowId,
                                                     long tableId,
                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

findByT_C

public static ExpandoRow findByT_C(long tableId,
                                   long classPK)
                            throws com.liferay.portal.SystemException,
                                   NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

fetchByT_C

public static ExpandoRow fetchByT_C(long tableId,
                                    long classPK)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByT_C

public static ExpandoRow fetchByT_C(long tableId,
                                    long classPK,
                                    boolean retrieveFromCache)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ExpandoRow> findAll()
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ExpandoRow> findAll(int start,
                                                 int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ExpandoRow> findAll(int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByTableId

public static void removeByTableId(long tableId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByT_C

public static void removeByT_C(long tableId,
                               long classPK)
                        throws com.liferay.portal.SystemException,
                               NoSuchRowException
Throws:
com.liferay.portal.SystemException
NoSuchRowException

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByTableId

public static int countByTableId(long tableId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByT_C

public static int countByT_C(long tableId,
                             long classPK)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static ExpandoRowPersistence getPersistence()

setPersistence

public void setPersistence(ExpandoRowPersistence persistence)