com.liferay.portlet.expando.service.persistence
Interface ExpandoRowPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ExpandoRowPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByT_C(long tableId,
long classPK)
|
int |
countByTableId(long tableId)
|
ExpandoRow |
create(long rowId)
|
ExpandoRow |
fetchByPrimaryKey(long rowId)
|
ExpandoRow |
fetchByT_C(long tableId,
long classPK)
|
java.util.List<ExpandoRow> |
findAll()
|
java.util.List<ExpandoRow> |
findAll(int start,
int end)
|
java.util.List<ExpandoRow> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ExpandoRow |
findByPrimaryKey(long rowId)
|
ExpandoRow |
findByT_C(long tableId,
long classPK)
|
ExpandoRow |
findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ExpandoRow |
findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ExpandoRow[] |
findByTableId_PrevAndNext(long rowId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ExpandoRow> |
findByTableId(long tableId)
|
java.util.List<ExpandoRow> |
findByTableId(long tableId,
int start,
int end)
|
java.util.List<ExpandoRow> |
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)
|
ExpandoRow |
remove(ExpandoRow expandoRow)
|
ExpandoRow |
remove(long rowId)
|
void |
removeAll()
|
void |
removeByT_C(long tableId,
long classPK)
|
void |
removeByTableId(long tableId)
|
ExpandoRow |
update(ExpandoRow expandoRow)
Deprecated. Use update(ExpandoRow expandoRow, boolean merge) . |
ExpandoRow |
update(ExpandoRow expandoRow,
boolean merge)
Add, update, or merge, the entity. |
ExpandoRow |
updateImpl(ExpandoRow expandoRow,
boolean merge)
|
create
ExpandoRow create(long rowId)
remove
ExpandoRow remove(long rowId)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
remove
ExpandoRow remove(ExpandoRow expandoRow)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
ExpandoRow update(ExpandoRow expandoRow)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(ExpandoRow expandoRow, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
ExpandoRow update(ExpandoRow expandoRow,
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:
expandoRow
- 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 expandoRow 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
ExpandoRow updateImpl(ExpandoRow expandoRow,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
ExpandoRow findByPrimaryKey(long rowId)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
fetchByPrimaryKey
ExpandoRow fetchByPrimaryKey(long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoRow> findByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoRow> 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<ExpandoRow> 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)
ExpandoRow findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
findByTableId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
ExpandoRow findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
findByTableId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
ExpandoRow[] findByTableId_PrevAndNext(long rowId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
findByT_C
@Transactional(propagation=SUPPORTS,
readOnly=true)
ExpandoRow findByT_C(long tableId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
fetchByT_C
ExpandoRow fetchByT_C(long tableId,
long classPK)
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<ExpandoRow> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoRow> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ExpandoRow> 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_C
void removeByT_C(long tableId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchRowException
- Throws:
com.liferay.portal.SystemException
NoSuchRowException
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_C
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByT_C(long tableId,
long classPK)
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