com.liferay.portlet.expando.service.persistence
Interface ExpandoColumnPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ExpandoColumnPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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)
|
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)
|
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoColumn> findByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoColumn> findByTableId(long tableId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoColumn> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoColumn> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByT_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByT_N(long tableId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException