com.liferay.portlet.expando.service.persistence
Class ExpandoValueUtil
java.lang.Object
com.liferay.portlet.expando.service.persistence.ExpandoValueUtil
public class ExpandoValueUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
static int |
countByC_R(long columnId,
long rowId)
|
static int |
countByColumnId(long columnId)
|
static int |
countByRowId(long rowId)
|
static int |
countByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK)
|
static int |
countByT_C_R(long tableId,
long columnId,
long rowId)
|
static int |
countByT_R(long tableId,
long rowId)
|
static int |
countByTableId(long tableId)
|
static ExpandoValue |
create(long valueId)
|
static ExpandoValue |
fetchByC_R(long columnId,
long rowId)
|
static ExpandoValue |
fetchByPrimaryKey(long valueId)
|
static ExpandoValue |
fetchByT_C_R(long tableId,
long columnId,
long rowId)
|
static java.util.List<ExpandoValue> |
findAll()
|
static java.util.List<ExpandoValue> |
findAll(int start,
int end)
|
static java.util.List<ExpandoValue> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue[] |
findByC_C_PrevAndNext(long valueId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ExpandoValue> |
findByC_C(long classNameId,
long classPK)
|
static java.util.List<ExpandoValue> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
|
static java.util.List<ExpandoValue> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByC_R(long columnId,
long rowId)
|
static ExpandoValue |
findByColumnId_First(long columnId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByColumnId_Last(long columnId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue[] |
findByColumnId_PrevAndNext(long valueId,
long columnId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ExpandoValue> |
findByColumnId(long columnId)
|
static java.util.List<ExpandoValue> |
findByColumnId(long columnId,
int start,
int end)
|
static java.util.List<ExpandoValue> |
findByColumnId(long columnId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByPrimaryKey(long valueId)
|
static ExpandoValue |
findByRowId_First(long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByRowId_Last(long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue[] |
findByRowId_PrevAndNext(long valueId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ExpandoValue> |
findByRowId(long rowId)
|
static java.util.List<ExpandoValue> |
findByRowId(long rowId,
int start,
int end)
|
static java.util.List<ExpandoValue> |
findByRowId(long rowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByT_C_C_C_First(long tableId,
long columnId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByT_C_C_C_Last(long tableId,
long columnId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue[] |
findByT_C_C_C_PrevAndNext(long valueId,
long tableId,
long columnId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ExpandoValue> |
findByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK)
|
static java.util.List<ExpandoValue> |
findByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK,
int start,
int end)
|
static java.util.List<ExpandoValue> |
findByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByT_C_R(long tableId,
long columnId,
long rowId)
|
static ExpandoValue |
findByT_R_First(long tableId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByT_R_Last(long tableId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue[] |
findByT_R_PrevAndNext(long valueId,
long tableId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ExpandoValue> |
findByT_R(long tableId,
long rowId)
|
static java.util.List<ExpandoValue> |
findByT_R(long tableId,
long rowId,
int start,
int end)
|
static java.util.List<ExpandoValue> |
findByT_R(long tableId,
long rowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue |
findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ExpandoValue[] |
findByTableId_PrevAndNext(long valueId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ExpandoValue> |
findByTableId(long tableId)
|
static java.util.List<ExpandoValue> |
findByTableId(long tableId,
int start,
int end)
|
static java.util.List<ExpandoValue> |
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 ExpandoValuePersistence |
getPersistence()
|
static ExpandoValue |
remove(ExpandoValue expandoValue)
|
static ExpandoValue |
remove(long valueId)
|
static void |
removeAll()
|
static void |
removeByC_C(long classNameId,
long classPK)
|
static void |
removeByC_R(long columnId,
long rowId)
|
static void |
removeByColumnId(long columnId)
|
static void |
removeByRowId(long rowId)
|
static void |
removeByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK)
|
static void |
removeByT_C_R(long tableId,
long columnId,
long rowId)
|
static void |
removeByT_R(long tableId,
long rowId)
|
static void |
removeByTableId(long tableId)
|
void |
setPersistence(ExpandoValuePersistence persistence)
|
static ExpandoValue |
update(ExpandoValue expandoValue)
Deprecated. Use update(ExpandoValue expandoValue, boolean merge) . |
static ExpandoValue |
update(ExpandoValue expandoValue,
boolean merge)
Add, update, or merge, the entity. |
static ExpandoValue |
updateImpl(ExpandoValue expandoValue,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandoValueUtil
public ExpandoValueUtil()
create
public static ExpandoValue create(long valueId)
remove
public static ExpandoValue remove(long valueId)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
remove
public static ExpandoValue remove(ExpandoValue expandoValue)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static ExpandoValue update(ExpandoValue expandoValue)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(ExpandoValue expandoValue, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static ExpandoValue update(ExpandoValue expandoValue,
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:
expandoValue
- 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 expandoValue 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
public static ExpandoValue updateImpl(ExpandoValue expandoValue,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static ExpandoValue findByPrimaryKey(long valueId)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
fetchByPrimaryKey
public static ExpandoValue fetchByPrimaryKey(long valueId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
public static java.util.List<ExpandoValue> findByTableId(long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
public static java.util.List<ExpandoValue> findByTableId(long tableId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTableId
public static java.util.List<ExpandoValue> 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
public static ExpandoValue findByTableId_First(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByTableId_Last
public static ExpandoValue findByTableId_Last(long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByTableId_PrevAndNext
public static ExpandoValue[] findByTableId_PrevAndNext(long valueId,
long tableId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByColumnId
public static java.util.List<ExpandoValue> findByColumnId(long columnId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByColumnId
public static java.util.List<ExpandoValue> findByColumnId(long columnId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByColumnId
public static java.util.List<ExpandoValue> findByColumnId(long columnId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByColumnId_First
public static ExpandoValue findByColumnId_First(long columnId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByColumnId_Last
public static ExpandoValue findByColumnId_Last(long columnId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByColumnId_PrevAndNext
public static ExpandoValue[] findByColumnId_PrevAndNext(long valueId,
long columnId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByRowId
public static java.util.List<ExpandoValue> findByRowId(long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRowId
public static java.util.List<ExpandoValue> findByRowId(long rowId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRowId
public static java.util.List<ExpandoValue> findByRowId(long rowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRowId_First
public static ExpandoValue findByRowId_First(long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByRowId_Last
public static ExpandoValue findByRowId_Last(long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByRowId_PrevAndNext
public static ExpandoValue[] findByRowId_PrevAndNext(long valueId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByT_R
public static java.util.List<ExpandoValue> findByT_R(long tableId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_R
public static java.util.List<ExpandoValue> findByT_R(long tableId,
long rowId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_R
public static java.util.List<ExpandoValue> findByT_R(long tableId,
long rowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_R_First
public static ExpandoValue findByT_R_First(long tableId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByT_R_Last
public static ExpandoValue findByT_R_Last(long tableId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByT_R_PrevAndNext
public static ExpandoValue[] findByT_R_PrevAndNext(long valueId,
long tableId,
long rowId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByC_R
public static ExpandoValue findByC_R(long columnId,
long rowId)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
fetchByC_R
public static ExpandoValue fetchByC_R(long columnId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
public static java.util.List<ExpandoValue> findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
public static java.util.List<ExpandoValue> findByC_C(long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
public static java.util.List<ExpandoValue> findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_First
public static ExpandoValue findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByC_C_Last
public static ExpandoValue findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByC_C_PrevAndNext
public static ExpandoValue[] findByC_C_PrevAndNext(long valueId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByT_C_R
public static ExpandoValue findByT_C_R(long tableId,
long columnId,
long rowId)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
fetchByT_C_R
public static ExpandoValue fetchByT_C_R(long tableId,
long columnId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_C_C_C
public static java.util.List<ExpandoValue> findByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_C_C_C
public static java.util.List<ExpandoValue> findByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_C_C_C
public static java.util.List<ExpandoValue> findByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_C_C_C_First
public static ExpandoValue findByT_C_C_C_First(long tableId,
long columnId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByT_C_C_C_Last
public static ExpandoValue findByT_C_C_C_Last(long tableId,
long columnId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
findByT_C_C_C_PrevAndNext
public static ExpandoValue[] findByT_C_C_C_PrevAndNext(long valueId,
long tableId,
long columnId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
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
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
findAll
public static java.util.List<ExpandoValue> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<ExpandoValue> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<ExpandoValue> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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
removeByColumnId
public static void removeByColumnId(long columnId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRowId
public static void removeByRowId(long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByT_R
public static void removeByT_R(long tableId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_R
public static void removeByC_R(long columnId,
long rowId)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByT_C_R
public static void removeByT_C_R(long tableId,
long columnId,
long rowId)
throws com.liferay.portal.SystemException,
NoSuchValueException
- Throws:
com.liferay.portal.SystemException
NoSuchValueException
removeByT_C_C_C
public static void removeByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
countByColumnId
public static int countByColumnId(long columnId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRowId
public static int countByRowId(long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByT_R
public static int countByT_R(long tableId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_R
public static int countByC_R(long columnId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByT_C_R
public static int countByT_C_R(long tableId,
long columnId,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByT_C_C_C
public static int countByT_C_C_C(long tableId,
long columnId,
long classNameId,
long classPK)
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 ExpandoValuePersistence getPersistence()
setPersistence
public void setPersistence(ExpandoValuePersistence persistence)