com.liferay.portlet.expando.service.persistence
Interface ExpandoColumnPersistence
- All Superinterfaces:
- BasePersistence
public interface ExpandoColumnPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(ExpandoColumn expandoColumn)
|
void |
cacheResult(java.util.List<ExpandoColumn> expandoColumns)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByT_N(long tableId,
java.lang.String name)
|
int |
countByTableId(long tableId)
|
ExpandoColumn |
create(long columnId)
|
ExpandoColumn |
fetchByPrimaryKey(long columnId)
|
ExpandoColumn |
fetchByT_N(long tableId,
java.lang.String name)
|
ExpandoColumn |
fetchByT_N(long tableId,
java.lang.String name,
boolean retrieveFromCache)
|
java.util.List<ExpandoColumn> |
findAll()
|
java.util.List<ExpandoColumn> |
findAll(int start,
int end)
|
java.util.List<ExpandoColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ExpandoColumn |
findByPrimaryKey(long columnId)
|
ExpandoColumn |
findByT_N(long tableId,
java.lang.String name)
|
ExpandoColumn |
findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ExpandoColumn |
findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ExpandoColumn[] |
findByTableId_PrevAndNext(long columnId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ExpandoColumn> |
findByTableId(long tableId)
|
java.util.List<ExpandoColumn> |
findByTableId(long tableId,
int start,
int end)
|
java.util.List<ExpandoColumn> |
findByTableId(long tableId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
ExpandoColumn |
remove(ExpandoColumn expandoColumn)
|
ExpandoColumn |
remove(long columnId)
|
void |
removeAll()
|
void |
removeByT_N(long tableId,
java.lang.String name)
|
void |
removeByTableId(long tableId)
|
ExpandoColumn |
update(ExpandoColumn expandoColumn)
Deprecated. Use update(ExpandoColumn expandoColumn, boolean merge) . |
ExpandoColumn |
update(ExpandoColumn expandoColumn,
boolean merge)
Add, update, or merge, the entity. |
ExpandoColumn |
updateImpl(ExpandoColumn expandoColumn,
boolean merge)
|
cacheResult
void cacheResult(ExpandoColumn expandoColumn)
cacheResult
void cacheResult(java.util.List<ExpandoColumn> expandoColumns)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
ExpandoColumn create(long columnId)
remove
ExpandoColumn remove(long columnId)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
remove
ExpandoColumn remove(ExpandoColumn expandoColumn)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
ExpandoColumn update(ExpandoColumn expandoColumn)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(ExpandoColumn expandoColumn, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
ExpandoColumn update(ExpandoColumn expandoColumn,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
expandoColumn
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when expandoColumn is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
ExpandoColumn updateImpl(ExpandoColumn expandoColumn,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ExpandoColumn findByPrimaryKey(long columnId)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
fetchByPrimaryKey
ExpandoColumn fetchByPrimaryKey(long columnId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
java.util.List<ExpandoColumn> findByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
java.util.List<ExpandoColumn> findByTableId(long tableId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
java.util.List<ExpandoColumn> findByTableId(long tableId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId_First
ExpandoColumn findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
findByTableId_Last
ExpandoColumn findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
findByTableId_PrevAndNext
ExpandoColumn[] findByTableId_PrevAndNext(long columnId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
findByT_N
ExpandoColumn findByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
fetchByT_N
ExpandoColumn fetchByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByT_N
ExpandoColumn fetchByT_N(long tableId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
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
findWithDynamicQuery
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
findAll
java.util.List<ExpandoColumn> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ExpandoColumn> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ExpandoColumn> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByTableId
void removeByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByT_N
void removeByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchColumnException
- Throws:
com.liferay.portal.SystemException
NoSuchColumnException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByTableId
int countByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByT_N
int countByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException