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

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

public class ExpandoTableUtil
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:
ExpandoTablePersistence, ExpandoTablePersistenceImpl
Generated:

Constructor Summary
ExpandoTableUtil()
           
 
Method Summary
static void cacheResult(ExpandoTable expandoTable)
           
static void cacheResult(java.util.List<ExpandoTable> expandoTables)
           
static void clearCache()
           
static void clearCache(ExpandoTable expandoTable)
           
static int countAll()
           
static int countByC_C_N(long companyId, long classNameId, java.lang.String name)
           
static int countByC_C(long companyId, long classNameId)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static ExpandoTable create(long tableId)
           
static ExpandoTable fetchByC_C_N(long companyId, long classNameId, java.lang.String name)
           
static ExpandoTable fetchByC_C_N(long companyId, long classNameId, java.lang.String name, boolean retrieveFromCache)
           
static ExpandoTable fetchByPrimaryKey(long tableId)
           
static java.util.List<ExpandoTable> findAll()
           
static java.util.List<ExpandoTable> findAll(int start, int end)
           
static java.util.List<ExpandoTable> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoTable findByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoTable findByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoTable findByC_C_N(long companyId, long classNameId, java.lang.String name)
           
static ExpandoTable[] findByC_C_PrevAndNext(long tableId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<ExpandoTable> findByC_C(long companyId, long classNameId)
           
static java.util.List<ExpandoTable> findByC_C(long companyId, long classNameId, int start, int end)
           
static java.util.List<ExpandoTable> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoTable findByPrimaryKey(long tableId)
           
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 ExpandoTablePersistence getPersistence()
           
static ExpandoTable remove(ExpandoTable expandoTable)
           
static ExpandoTable remove(long tableId)
           
static void removeAll()
           
static void removeByC_C_N(long companyId, long classNameId, java.lang.String name)
           
static void removeByC_C(long companyId, long classNameId)
           
 void setPersistence(ExpandoTablePersistence persistence)
           
static ExpandoTable update(ExpandoTable expandoTable)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static ExpandoTable update(ExpandoTable expandoTable, boolean merge)
           
static ExpandoTable updateImpl(ExpandoTable expandoTable, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoTableUtil

public ExpandoTableUtil()
Method Detail

clearCache

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

clearCache

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

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 ExpandoTable remove(ExpandoTable expandoTable)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ExpandoTable update(ExpandoTable expandoTable,
                                  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(ExpandoTable expandoTable)

cacheResult

public static void cacheResult(java.util.List<ExpandoTable> expandoTables)

create

public static ExpandoTable create(long tableId)

remove

public static ExpandoTable remove(long tableId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

update

public static ExpandoTable update(ExpandoTable expandoTable)
                           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 ExpandoTable updateImpl(ExpandoTable expandoTable,
                                      boolean merge)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static ExpandoTable findByPrimaryKey(long tableId)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

fetchByPrimaryKey

public static ExpandoTable fetchByPrimaryKey(long tableId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

public static java.util.List<ExpandoTable> findByC_C(long companyId,
                                                     long classNameId)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

public static java.util.List<ExpandoTable> findByC_C(long companyId,
                                                     long classNameId,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

public static java.util.List<ExpandoTable> findByC_C(long companyId,
                                                     long classNameId,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C_First

public static ExpandoTable findByC_C_First(long companyId,
                                           long classNameId,
                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByC_C_Last

public static ExpandoTable findByC_C_Last(long companyId,
                                          long classNameId,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByC_C_PrevAndNext

public static ExpandoTable[] findByC_C_PrevAndNext(long tableId,
                                                   long companyId,
                                                   long classNameId,
                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByC_C_N

public static ExpandoTable findByC_C_N(long companyId,
                                       long classNameId,
                                       java.lang.String name)
                                throws com.liferay.portal.SystemException,
                                       NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

fetchByC_C_N

public static ExpandoTable fetchByC_C_N(long companyId,
                                        long classNameId,
                                        java.lang.String name)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C_N

public static ExpandoTable fetchByC_C_N(long companyId,
                                        long classNameId,
                                        java.lang.String name,
                                        boolean retrieveFromCache)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByC_C

public static void removeByC_C(long companyId,
                               long classNameId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C_N

public static void removeByC_C_N(long companyId,
                                 long classNameId,
                                 java.lang.String name)
                          throws com.liferay.portal.SystemException,
                                 NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

removeAll

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

countByC_C

public static int countByC_C(long companyId,
                             long classNameId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C_N

public static int countByC_C_N(long companyId,
                               long classNameId,
                               java.lang.String name)
                        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 ExpandoTablePersistence getPersistence()

setPersistence

public void setPersistence(ExpandoTablePersistence persistence)