|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.expando.service.persistence.ExpandoValueUtil
@ProviderType public class ExpandoValueUtil
The persistence utility for the expando value service. This utility wraps ExpandoValuePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
ExpandoValuePersistence
,
ExpandoValuePersistenceImpl
Constructor Summary | |
---|---|
ExpandoValueUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(ExpandoValue expandoValue)
Caches the expando value in the entity cache if it is enabled. |
static void |
cacheResult(List<ExpandoValue> expandoValues)
Caches the expando values in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(ExpandoValue expandoValue)
|
static int |
countAll()
Returns the number of expando values. |
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of expando values where classNameId = ? and classPK = ?. |
static int |
countByC_R(long columnId,
long rowId)
Returns the number of expando values where columnId = ? and rowId = ?. |
static int |
countByColumnId(long columnId)
Returns the number of expando values where columnId = ?. |
static int |
countByRowId(long rowId)
Returns the number of expando values where rowId = ?. |
static int |
countByT_C_C(long tableId,
long columnId,
long classPK)
Returns the number of expando values where tableId = ? and columnId = ? and classPK = ?. |
static int |
countByT_C_D(long tableId,
long columnId,
String data)
Returns the number of expando values where tableId = ? and columnId = ? and data = ?. |
static int |
countByT_C(long tableId,
long columnId)
Returns the number of expando values where tableId = ? and columnId = ?. |
static int |
countByT_CPK(long tableId,
long classPK)
Returns the number of expando values where tableId = ? and classPK = ?. |
static int |
countByT_R(long tableId,
long rowId)
Returns the number of expando values where tableId = ? and rowId = ?. |
static int |
countByTableId(long tableId)
Returns the number of expando values where tableId = ?. |
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static ExpandoValue |
create(long valueId)
Creates a new expando value with the primary key. |
static ExpandoValue |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where classNameId = ? and classPK = ?. |
static ExpandoValue |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where classNameId = ? and classPK = ?. |
static ExpandoValue |
fetchByC_R(long columnId,
long rowId)
Returns the expando value where columnId = ? and rowId = ? or returns null if it could not be found. |
static ExpandoValue |
fetchByC_R(long columnId,
long rowId,
boolean retrieveFromCache)
Returns the expando value where columnId = ? and rowId = ? or returns null if it could not be found, optionally using the finder cache. |
static ExpandoValue |
fetchByColumnId_First(long columnId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where columnId = ?. |
static ExpandoValue |
fetchByColumnId_Last(long columnId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where columnId = ?. |
static ExpandoValue |
fetchByPrimaryKey(long valueId)
Returns the expando value with the primary key or returns null if it could not be found. |
static ExpandoValue |
fetchByRowId_First(long rowId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where rowId = ?. |
static ExpandoValue |
fetchByRowId_Last(long rowId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where rowId = ?. |
static ExpandoValue |
fetchByT_C_C(long tableId,
long columnId,
long classPK)
Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found. |
static ExpandoValue |
fetchByT_C_C(long tableId,
long columnId,
long classPK,
boolean retrieveFromCache)
Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache. |
static ExpandoValue |
fetchByT_C_D_First(long tableId,
long columnId,
String data,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?. |
static ExpandoValue |
fetchByT_C_D_Last(long tableId,
long columnId,
String data,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?. |
static ExpandoValue |
fetchByT_C_First(long tableId,
long columnId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and columnId = ?. |
static ExpandoValue |
fetchByT_C_Last(long tableId,
long columnId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and columnId = ?. |
static ExpandoValue |
fetchByT_CPK_First(long tableId,
long classPK,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and classPK = ?. |
static ExpandoValue |
fetchByT_CPK_Last(long tableId,
long classPK,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and classPK = ?. |
static ExpandoValue |
fetchByT_R_First(long tableId,
long rowId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and rowId = ?. |
static ExpandoValue |
fetchByT_R_Last(long tableId,
long rowId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and rowId = ?. |
static ExpandoValue |
fetchByTableId_First(long tableId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ?. |
static ExpandoValue |
fetchByTableId_Last(long tableId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ?. |
static List<ExpandoValue> |
findAll()
Returns all the expando values. |
static List<ExpandoValue> |
findAll(int start,
int end)
Returns a range of all the expando values. |
static List<ExpandoValue> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values. |
static ExpandoValue |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where classNameId = ? and classPK = ?. |
static ExpandoValue |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where classNameId = ? and classPK = ?. |
static ExpandoValue[] |
findByC_C_PrevAndNext(long valueId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where classNameId = ? and classPK = ?. |
static List<ExpandoValue> |
findByC_C(long classNameId,
long classPK)
Returns all the expando values where classNameId = ? and classPK = ?. |
static List<ExpandoValue> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the expando values where classNameId = ? and classPK = ?. |
static List<ExpandoValue> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where classNameId = ? and classPK = ?. |
static ExpandoValue |
findByC_R(long columnId,
long rowId)
Returns the expando value where columnId = ? and rowId = ? or throws a NoSuchValueException if it could not be found. |
static ExpandoValue |
findByColumnId_First(long columnId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where columnId = ?. |
static ExpandoValue |
findByColumnId_Last(long columnId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where columnId = ?. |
static ExpandoValue[] |
findByColumnId_PrevAndNext(long valueId,
long columnId,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where columnId = ?. |
static List<ExpandoValue> |
findByColumnId(long columnId)
Returns all the expando values where columnId = ?. |
static List<ExpandoValue> |
findByColumnId(long columnId,
int start,
int end)
Returns a range of all the expando values where columnId = ?. |
static List<ExpandoValue> |
findByColumnId(long columnId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where columnId = ?. |
static ExpandoValue |
findByPrimaryKey(long valueId)
Returns the expando value with the primary key or throws a NoSuchValueException if it could not be found. |
static ExpandoValue |
findByRowId_First(long rowId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where rowId = ?. |
static ExpandoValue |
findByRowId_Last(long rowId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where rowId = ?. |
static ExpandoValue[] |
findByRowId_PrevAndNext(long valueId,
long rowId,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where rowId = ?. |
static List<ExpandoValue> |
findByRowId(long rowId)
Returns all the expando values where rowId = ?. |
static List<ExpandoValue> |
findByRowId(long rowId,
int start,
int end)
Returns a range of all the expando values where rowId = ?. |
static List<ExpandoValue> |
findByRowId(long rowId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where rowId = ?. |
static ExpandoValue |
findByT_C_C(long tableId,
long columnId,
long classPK)
Returns the expando value where tableId = ? and columnId = ? and classPK = ? or throws a NoSuchValueException if it could not be found. |
static ExpandoValue |
findByT_C_D_First(long tableId,
long columnId,
String data,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?. |
static ExpandoValue |
findByT_C_D_Last(long tableId,
long columnId,
String data,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?. |
static ExpandoValue[] |
findByT_C_D_PrevAndNext(long valueId,
long tableId,
long columnId,
String data,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ? and data = ?. |
static List<ExpandoValue> |
findByT_C_D(long tableId,
long columnId,
String data)
Returns all the expando values where tableId = ? and columnId = ? and data = ?. |
static List<ExpandoValue> |
findByT_C_D(long tableId,
long columnId,
String data,
int start,
int end)
Returns a range of all the expando values where tableId = ? and columnId = ? and data = ?. |
static List<ExpandoValue> |
findByT_C_D(long tableId,
long columnId,
String data,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?. |
static ExpandoValue |
findByT_C_First(long tableId,
long columnId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and columnId = ?. |
static ExpandoValue |
findByT_C_Last(long tableId,
long columnId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and columnId = ?. |
static ExpandoValue[] |
findByT_C_PrevAndNext(long valueId,
long tableId,
long columnId,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ?. |
static List<ExpandoValue> |
findByT_C(long tableId,
long columnId)
Returns all the expando values where tableId = ? and columnId = ?. |
static List<ExpandoValue> |
findByT_C(long tableId,
long columnId,
int start,
int end)
Returns a range of all the expando values where tableId = ? and columnId = ?. |
static List<ExpandoValue> |
findByT_C(long tableId,
long columnId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and columnId = ?. |
static ExpandoValue |
findByT_CPK_First(long tableId,
long classPK,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and classPK = ?. |
static ExpandoValue |
findByT_CPK_Last(long tableId,
long classPK,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and classPK = ?. |
static ExpandoValue[] |
findByT_CPK_PrevAndNext(long valueId,
long tableId,
long classPK,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where tableId = ? and classPK = ?. |
static List<ExpandoValue> |
findByT_CPK(long tableId,
long classPK)
Returns all the expando values where tableId = ? and classPK = ?. |
static List<ExpandoValue> |
findByT_CPK(long tableId,
long classPK,
int start,
int end)
Returns a range of all the expando values where tableId = ? and classPK = ?. |
static List<ExpandoValue> |
findByT_CPK(long tableId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and classPK = ?. |
static ExpandoValue |
findByT_R_First(long tableId,
long rowId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and rowId = ?. |
static ExpandoValue |
findByT_R_Last(long tableId,
long rowId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and rowId = ?. |
static ExpandoValue[] |
findByT_R_PrevAndNext(long valueId,
long tableId,
long rowId,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where tableId = ? and rowId = ?. |
static List<ExpandoValue> |
findByT_R(long tableId,
long rowId)
Returns all the expando values where tableId = ? and rowId = ?. |
static List<ExpandoValue> |
findByT_R(long tableId,
long rowId,
int start,
int end)
Returns a range of all the expando values where tableId = ? and rowId = ?. |
static List<ExpandoValue> |
findByT_R(long tableId,
long rowId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and rowId = ?. |
static ExpandoValue |
findByTableId_First(long tableId,
OrderByComparator orderByComparator)
Returns the first expando value in the ordered set where tableId = ?. |
static ExpandoValue |
findByTableId_Last(long tableId,
OrderByComparator orderByComparator)
Returns the last expando value in the ordered set where tableId = ?. |
static ExpandoValue[] |
findByTableId_PrevAndNext(long valueId,
long tableId,
OrderByComparator orderByComparator)
Returns the expando values before and after the current expando value in the ordered set where tableId = ?. |
static List<ExpandoValue> |
findByTableId(long tableId)
Returns all the expando values where tableId = ?. |
static List<ExpandoValue> |
findByTableId(long tableId,
int start,
int end)
Returns a range of all the expando values where tableId = ?. |
static List<ExpandoValue> |
findByTableId(long tableId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the expando values where tableId = ?. |
static List<ExpandoValue> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<ExpandoValue> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<ExpandoValue> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static ExpandoValuePersistence |
getPersistence()
|
static ExpandoValue |
remove(long valueId)
Removes the expando value with the primary key from the database. |
static void |
removeAll()
Removes all the expando values from the database. |
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the expando values where classNameId = ? and classPK = ? from the database. |
static ExpandoValue |
removeByC_R(long columnId,
long rowId)
Removes the expando value where columnId = ? and rowId = ? from the database. |
static void |
removeByColumnId(long columnId)
Removes all the expando values where columnId = ? from the database. |
static void |
removeByRowId(long rowId)
Removes all the expando values where rowId = ? from the database. |
static ExpandoValue |
removeByT_C_C(long tableId,
long columnId,
long classPK)
Removes the expando value where tableId = ? and columnId = ? and classPK = ? from the database. |
static void |
removeByT_C_D(long tableId,
long columnId,
String data)
Removes all the expando values where tableId = ? and columnId = ? and data = ? from the database. |
static void |
removeByT_C(long tableId,
long columnId)
Removes all the expando values where tableId = ? and columnId = ? from the database. |
static void |
removeByT_CPK(long tableId,
long classPK)
Removes all the expando values where tableId = ? and classPK = ? from the database. |
static void |
removeByT_R(long tableId,
long rowId)
Removes all the expando values where tableId = ? and rowId = ? from the database. |
static void |
removeByTableId(long tableId)
Removes all the expando values where tableId = ? from the database. |
void |
setPersistence(ExpandoValuePersistence persistence)
Deprecated. As of 6.2.0 |
static ExpandoValue |
update(ExpandoValue expandoValue)
|
static ExpandoValue |
update(ExpandoValue expandoValue,
ServiceContext serviceContext)
|
static ExpandoValue |
updateImpl(ExpandoValue expandoValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpandoValueUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ExpandoValue expandoValue)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ExpandoValue update(ExpandoValue expandoValue) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel)
public static ExpandoValue update(ExpandoValue expandoValue, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<ExpandoValue> findByTableId(long tableId) throws SystemException
tableId
- the table ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByTableId(long tableId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByTableId_First(long tableId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByTableId_First(long tableId, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByTableId_Last(long tableId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByTableId_Last(long tableId, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuetableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByTableId(long tableId) throws SystemException
tableId
- the table ID
SystemException
- if a system exception occurredpublic static int countByTableId(long tableId) throws SystemException
tableId
- the table ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByColumnId(long columnId) throws SystemException
columnId
- the column ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByColumnId(long columnId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
columnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
columnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByColumnId_First(long columnId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByColumnId_First(long columnId, OrderByComparator orderByComparator) throws SystemException
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByColumnId_Last(long columnId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByColumnId_Last(long columnId, OrderByComparator orderByComparator) throws SystemException
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuecolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByColumnId(long columnId) throws SystemException
columnId
- the column ID
SystemException
- if a system exception occurredpublic static int countByColumnId(long columnId) throws SystemException
columnId
- the column ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByRowId(long rowId) throws SystemException
rowId
- the row ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByRowId(long rowId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
rowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
rowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByRowId_First(long rowId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByRowId_First(long rowId, OrderByComparator orderByComparator) throws SystemException
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByRowId_Last(long rowId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByRowId_Last(long rowId, OrderByComparator orderByComparator) throws SystemException
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuerowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByRowId(long rowId) throws SystemException
rowId
- the row ID
SystemException
- if a system exception occurredpublic static int countByRowId(long rowId) throws SystemException
rowId
- the row ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_C(long tableId, long columnId) throws SystemException
tableId
- the table IDcolumnId
- the column ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDcolumnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDcolumnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByT_C_PrevAndNext(long valueId, long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuetableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByT_C(long tableId, long columnId) throws SystemException
tableId
- the table IDcolumnId
- the column ID
SystemException
- if a system exception occurredpublic static int countByT_C(long tableId, long columnId) throws SystemException
tableId
- the table IDcolumnId
- the column ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_CPK(long tableId, long classPK) throws SystemException
tableId
- the table IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByT_CPK_PrevAndNext(long valueId, long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuetableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByT_CPK(long tableId, long classPK) throws SystemException
tableId
- the table IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static int countByT_CPK(long tableId, long classPK) throws SystemException
tableId
- the table IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_R(long tableId, long rowId) throws SystemException
tableId
- the table IDrowId
- the row ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDrowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDrowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByT_R_PrevAndNext(long valueId, long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuetableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByT_R(long tableId, long rowId) throws SystemException
tableId
- the table IDrowId
- the row ID
SystemException
- if a system exception occurredpublic static int countByT_R(long tableId, long rowId) throws SystemException
tableId
- the table IDrowId
- the row ID
SystemException
- if a system exception occurredpublic static ExpandoValue findByC_R(long columnId, long rowId) throws SystemException, NoSuchValueException
NoSuchValueException
if it could not be found.
columnId
- the column IDrowId
- the row ID
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByC_R(long columnId, long rowId) throws SystemException
null
if it could not be found. Uses the finder cache.
columnId
- the column IDrowId
- the row ID
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByC_R(long columnId, long rowId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
columnId
- the column IDrowId
- the row IDretrieveFromCache
- whether to use the finder cache
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue removeByC_R(long columnId, long rowId) throws SystemException, NoSuchValueException
columnId
- the column IDrowId
- the row ID
SystemException
- if a system exception occurred
NoSuchValueException
public static int countByC_R(long columnId, long rowId) throws SystemException
columnId
- the column IDrowId
- the row ID
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByC_C(long classNameId, long classPK) throws SystemException
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByC_C_PrevAndNext(long valueId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valueclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByC_C(long classNameId, long classPK) throws SystemException
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static int countByC_C(long classNameId, long classPK) throws SystemException
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_C_C(long tableId, long columnId, long classPK) throws SystemException, NoSuchValueException
NoSuchValueException
if it could not be found.
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK) throws SystemException
null
if it could not be found. Uses the finder cache.
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p kretrieveFromCache
- whether to use the finder cache
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue removeByT_C_C(long tableId, long columnId, long classPK) throws SystemException, NoSuchValueException
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
SystemException
- if a system exception occurred
NoSuchValueException
public static int countByT_C_C(long tableId, long columnId, long classPK) throws SystemException
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data) throws SystemException
tableId
- the table IDcolumnId
- the column IDdata
- the data
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDcolumnId
- the column IDdata
- the datastart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
tableId
- the table IDcolumnId
- the column IDdata
- the datastart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue findByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue[] findByT_C_D_PrevAndNext(long valueId, long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException, NoSuchValueException
valueId
- the primary key of the current expando valuetableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByT_C_D(long tableId, long columnId, String data) throws SystemException
tableId
- the table IDcolumnId
- the column IDdata
- the data
SystemException
- if a system exception occurredpublic static int countByT_C_D(long tableId, long columnId, String data) throws SystemException
tableId
- the table IDcolumnId
- the column IDdata
- the data
SystemException
- if a system exception occurredpublic static void cacheResult(ExpandoValue expandoValue)
expandoValue
- the expando valuepublic static void cacheResult(List<ExpandoValue> expandoValues)
expandoValues
- the expando valuespublic static ExpandoValue create(long valueId)
valueId
- the primary key for the new expando value
public static ExpandoValue remove(long valueId) throws SystemException, NoSuchValueException
valueId
- the primary key of the expando value
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue updateImpl(ExpandoValue expandoValue) throws SystemException
SystemException
public static ExpandoValue findByPrimaryKey(long valueId) throws SystemException, NoSuchValueException
NoSuchValueException
if it could not be found.
valueId
- the primary key of the expando value
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static ExpandoValue fetchByPrimaryKey(long valueId) throws SystemException
null
if it could not be found.
valueId
- the primary key of the expando value
null
if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic static List<ExpandoValue> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static ExpandoValuePersistence getPersistence()
public void setPersistence(ExpandoValuePersistence persistence)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |