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

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

public class ExpandoColumnUtil
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:
ExpandoColumnPersistence, ExpandoColumnPersistenceImpl
Generated:

Constructor Summary
ExpandoColumnUtil()
           
 
Method Summary
static void cacheResult(ExpandoColumn expandoColumn)
           
static void cacheResult(java.util.List<ExpandoColumn> expandoColumns)
           
static void clearCache()
           
static void clearCache(ExpandoColumn expandoColumn)
           
static int countAll()
           
static int countByT_N(long tableId, java.lang.String name)
           
static int countByTableId(long tableId)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static ExpandoColumn create(long columnId)
           
static ExpandoColumn fetchByPrimaryKey(long columnId)
           
static ExpandoColumn fetchByT_N(long tableId, java.lang.String name)
           
static ExpandoColumn fetchByT_N(long tableId, java.lang.String name, boolean retrieveFromCache)
           
static java.util.List<ExpandoColumn> findAll()
           
static java.util.List<ExpandoColumn> findAll(int start, int end)
           
static java.util.List<ExpandoColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoColumn findByPrimaryKey(long columnId)
           
static ExpandoColumn findByT_N(long tableId, java.lang.String name)
           
static ExpandoColumn findByTableId_First(long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoColumn findByTableId_Last(long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ExpandoColumn[] findByTableId_PrevAndNext(long columnId, long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<ExpandoColumn> findByTableId(long tableId)
           
static java.util.List<ExpandoColumn> findByTableId(long tableId, int start, int end)
           
static java.util.List<ExpandoColumn> 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 ExpandoColumnPersistence getPersistence()
           
static ExpandoColumn remove(ExpandoColumn expandoColumn)
           
static ExpandoColumn remove(long columnId)
           
static void removeAll()
           
static void removeByT_N(long tableId, java.lang.String name)
           
static void removeByTableId(long tableId)
           
 void setPersistence(ExpandoColumnPersistence persistence)
           
static ExpandoColumn update(ExpandoColumn expandoColumn)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static ExpandoColumn update(ExpandoColumn expandoColumn, boolean merge)
           
static ExpandoColumn updateImpl(ExpandoColumn expandoColumn, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoColumnUtil

public ExpandoColumnUtil()
Method Detail

clearCache

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

clearCache

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

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

update

public static ExpandoColumn update(ExpandoColumn expandoColumn,
                                   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(ExpandoColumn expandoColumn)

cacheResult

public static void cacheResult(java.util.List<ExpandoColumn> expandoColumns)

create

public static ExpandoColumn create(long columnId)

remove

public static ExpandoColumn remove(long columnId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

update

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

findByPrimaryKey

public static ExpandoColumn findByPrimaryKey(long columnId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

fetchByPrimaryKey

public static ExpandoColumn fetchByPrimaryKey(long columnId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId

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

findByTableId

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

findByTableId

public static java.util.List<ExpandoColumn> 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 ExpandoColumn findByTableId_First(long tableId,
                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

findByTableId_Last

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

findByTableId_PrevAndNext

public static ExpandoColumn[] findByTableId_PrevAndNext(long columnId,
                                                        long tableId,
                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                 throws com.liferay.portal.SystemException,
                                                        NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

findByT_N

public static ExpandoColumn findByT_N(long tableId,
                                      java.lang.String name)
                               throws com.liferay.portal.SystemException,
                                      NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

fetchByT_N

public static ExpandoColumn fetchByT_N(long tableId,
                                       java.lang.String name)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByT_N

public static ExpandoColumn fetchByT_N(long tableId,
                                       java.lang.String name,
                                       boolean retrieveFromCache)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

public static java.util.List<ExpandoColumn> 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_N

public static void removeByT_N(long tableId,
                               java.lang.String name)
                        throws com.liferay.portal.SystemException,
                               NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

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_N

public static int countByT_N(long tableId,
                             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 ExpandoColumnPersistence getPersistence()

setPersistence

public void setPersistence(ExpandoColumnPersistence persistence)