com.liferay.portlet.expando.service.persistence
Class ExpandoColumnUtil
java.lang.Object
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:
Method Summary |
static void |
cacheResult(ExpandoColumn expandoColumn)
|
static void |
cacheResult(java.util.List<ExpandoColumn> expandoColumns)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByT_N(long tableId,
java.lang.String name)
|
static int |
countByTableId(long tableId)
|
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 obc)
|
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 obc)
|
static ExpandoColumn |
findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoColumn[] |
findByTableId_PrevAndNext(long columnId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 obc)
|
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,
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 |
ExpandoColumnUtil
public ExpandoColumnUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static ExpandoColumn remove(ExpandoColumn expandoColumn)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static ExpandoColumn update(ExpandoColumn expandoColumn,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
updateImpl
public static ExpandoColumn updateImpl(ExpandoColumn expandoColumn,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static ExpandoColumn findByPrimaryKey(long columnId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
fetchByPrimaryKey
public static ExpandoColumn fetchByPrimaryKey(long columnId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByTableId
public static java.util.List<ExpandoColumn> findByTableId(long tableId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByTableId
public static java.util.List<ExpandoColumn> findByTableId(long tableId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByTableId
public static java.util.List<ExpandoColumn> findByTableId(long tableId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByTableId_First
public static ExpandoColumn findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
findByTableId_Last
public static ExpandoColumn findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
findByTableId_PrevAndNext
public static ExpandoColumn[] findByTableId_PrevAndNext(long columnId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
findByT_N
public static ExpandoColumn findByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
fetchByT_N
public static ExpandoColumn fetchByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByT_N
public static ExpandoColumn fetchByT_N(long tableId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ExpandoColumn> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ExpandoColumn> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ExpandoColumn> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByTableId
public static void removeByTableId(long tableId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByT_N
public static void removeByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchColumnException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByTableId
public static int countByTableId(long tableId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByT_N
public static int countByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static ExpandoColumnPersistence getPersistence()
setPersistence
public void setPersistence(ExpandoColumnPersistence persistence)