Class ExpandoValueUtil
com.liferay.portlet.expando.service.persistence.impl.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
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
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
(long tableId, long columnId) Returns the number of expando values where tableId = ? and columnId = ?.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_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<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.static ExpandoValue
fetchByC_C_Last
(long classNameId, long classPK, OrderByComparator<ExpandoValue> 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 returnsnull
if it could not be found.static ExpandoValue
fetchByC_R
(long columnId, long rowId, boolean useFinderCache) Returns the expando value where columnId = ? and rowId = ? or returnsnull
if it could not be found, optionally using the finder cache.static ExpandoValue
fetchByColumnId_First
(long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where columnId = ?.static ExpandoValue
fetchByColumnId_Last
(long columnId, OrderByComparator<ExpandoValue> 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 returnsnull
if it could not be found.static Map<Serializable,
ExpandoValue> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static ExpandoValue
fetchByRowId_First
(long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where rowId = ?.static ExpandoValue
fetchByRowId_Last
(long rowId, OrderByComparator<ExpandoValue> 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 returnsnull
if it could not be found.static ExpandoValue
fetchByT_C_C
(long tableId, long columnId, long classPK, boolean useFinderCache) Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.static ExpandoValue
fetchByT_C_D_First
(long tableId, long columnId, String data, OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and columnId = ?.static ExpandoValue
fetchByT_C_Last
(long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and columnId = ?.static ExpandoValue
fetchByT_CPK_First
(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and classPK = ?.static ExpandoValue
fetchByT_CPK_Last
(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and classPK = ?.static ExpandoValue
fetchByT_R_First
(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and rowId = ?.static ExpandoValue
fetchByT_R_Last
(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and rowId = ?.static ExpandoValue
fetchByTableId_First
(long tableId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ?.static ExpandoValue
fetchByTableId_Last
(long tableId, OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values.static List<ExpandoValue>
findAll
(int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where classNameId = ? and classPK = ?.static List<ExpandoValue>
findByC_C
(long classNameId, long classPK, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where classNameId = ? and classPK = ?.static ExpandoValue
findByC_C_First
(long classNameId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.static ExpandoValue
findByC_C_Last
(long classNameId, long classPK, OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where classNameId = ? and classPK = ?.static ExpandoValue
findByC_R
(long columnId, long rowId) Returns the expando value where columnId = ? and rowId = ? or throws aNoSuchValueException
if it could not be found.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where columnId = ?.static List<ExpandoValue>
findByColumnId
(long columnId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where columnId = ?.static ExpandoValue
findByColumnId_First
(long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where columnId = ?.static ExpandoValue
findByColumnId_Last
(long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where columnId = ?.static ExpandoValue[]
findByColumnId_PrevAndNext
(long valueId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where columnId = ?.static ExpandoValue
findByPrimaryKey
(long valueId) Returns the expando value with the primary key or throws aNoSuchValueException
if it could not be found.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where rowId = ?.static List<ExpandoValue>
findByRowId
(long rowId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where rowId = ?.static ExpandoValue
findByRowId_First
(long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where rowId = ?.static ExpandoValue
findByRowId_Last
(long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where rowId = ?.static ExpandoValue[]
findByRowId_PrevAndNext
(long valueId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where rowId = ?.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and columnId = ?.static List<ExpandoValue>
findByT_C
(long tableId, long columnId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and columnId = ?.static ExpandoValue
findByT_C_C
(long tableId, long columnId, long classPK) Returns the expando value where tableId = ? and columnId = ? and classPK = ? or throws aNoSuchValueException
if it could not be found.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<ExpandoValue> orderByComparator) Returns an ordered 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<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?.static ExpandoValue
findByT_C_D_First
(long tableId, long columnId, String data, OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ? and data = ?.static ExpandoValue
findByT_C_First
(long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and columnId = ?.static ExpandoValue
findByT_C_Last
(long tableId, long columnId, OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ?.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and classPK = ?.static List<ExpandoValue>
findByT_CPK
(long tableId, long classPK, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and classPK = ?.static ExpandoValue
findByT_CPK_First
(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and classPK = ?.static ExpandoValue
findByT_CPK_Last
(long tableId, long classPK, OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where tableId = ? and classPK = ?.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and rowId = ?.static List<ExpandoValue>
findByT_R
(long tableId, long rowId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and rowId = ?.static ExpandoValue
findByT_R_First
(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and rowId = ?.static ExpandoValue
findByT_R_Last
(long tableId, long rowId, OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set where tableId = ? and rowId = ?.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<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ?.static List<ExpandoValue>
findByTableId
(long tableId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ?.static ExpandoValue
findByTableId_First
(long tableId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ?.static ExpandoValue
findByTableId_Last
(long tableId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ?.static ExpandoValue[]
findByTableId_PrevAndNext
(long valueId, long tableId, OrderByComparator<ExpandoValue> orderByComparator) Returns the expando values before and after the current expando value in the ordered set 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<ExpandoValue> orderByComparator) static ExpandoValuePersistence
static ExpandoValue
remove
(long valueId) Removes the expando value with the primary key from the database.static void
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 void
removeByT_C
(long tableId, long columnId) Removes all the expando values where tableId = ? and columnId = ? 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_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.static void
setPersistence
(ExpandoValuePersistence persistence) static ExpandoValue
update
(ExpandoValue expandoValue) static ExpandoValue
update
(ExpandoValue expandoValue, ServiceContext serviceContext) static ExpandoValue
updateImpl
(ExpandoValue expandoValue)
-
Constructor Details
-
ExpandoValueUtil
public ExpandoValueUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) -
update
-
update
-
findByTableId
Returns all the expando values where tableId = ?.- Parameters:
tableId
- the table ID- Returns:
- the matching expando values
-
findByTableId
Returns a range of all the expando values where tableId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
tableId
- the table IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of matching expando values
-
findByTableId
public static List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByTableId
public static List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByTableId_First
public static ExpandoValue findByTableId_First(long tableId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where tableId = ?.- Parameters:
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByTableId_First
public static ExpandoValue fetchByTableId_First(long tableId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ?.- Parameters:
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByTableId_Last
public static ExpandoValue findByTableId_Last(long tableId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where tableId = ?.- Parameters:
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByTableId_Last
public static ExpandoValue fetchByTableId_Last(long tableId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ?.- Parameters:
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByTableId_PrevAndNext
public static ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where tableId = ?.- Parameters:
valueId
- the primary key of the current expando valuetableId
- the table IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByTableId
public static void removeByTableId(long tableId) Removes all the expando values where tableId = ? from the database.- Parameters:
tableId
- the table ID
-
countByTableId
public static int countByTableId(long tableId) Returns the number of expando values where tableId = ?.- Parameters:
tableId
- the table ID- Returns:
- the number of matching expando values
-
findByColumnId
Returns all the expando values where columnId = ?.- Parameters:
columnId
- the column ID- Returns:
- the matching expando values
-
findByColumnId
Returns a range of all the expando values where columnId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
columnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of matching expando values
-
findByColumnId
public static List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where columnId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByColumnId
public static List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where columnId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByColumnId_First
public static ExpandoValue findByColumnId_First(long columnId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where columnId = ?.- Parameters:
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByColumnId_First
public static ExpandoValue fetchByColumnId_First(long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where columnId = ?.- Parameters:
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByColumnId_Last
public static ExpandoValue findByColumnId_Last(long columnId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where columnId = ?.- Parameters:
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByColumnId_Last
public static ExpandoValue fetchByColumnId_Last(long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where columnId = ?.- Parameters:
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByColumnId_PrevAndNext
public static ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where columnId = ?.- Parameters:
valueId
- the primary key of the current expando valuecolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByColumnId
public static void removeByColumnId(long columnId) Removes all the expando values where columnId = ? from the database.- Parameters:
columnId
- the column ID
-
countByColumnId
public static int countByColumnId(long columnId) Returns the number of expando values where columnId = ?.- Parameters:
columnId
- the column ID- Returns:
- the number of matching expando values
-
findByRowId
Returns all the expando values where rowId = ?.- Parameters:
rowId
- the row ID- Returns:
- the matching expando values
-
findByRowId
Returns a range of all the expando values where rowId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
rowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of matching expando values
-
findByRowId
public static List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where rowId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByRowId
public static List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where rowId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByRowId_First
public static ExpandoValue findByRowId_First(long rowId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where rowId = ?.- Parameters:
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByRowId_First
public static ExpandoValue fetchByRowId_First(long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where rowId = ?.- Parameters:
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByRowId_Last
public static ExpandoValue findByRowId_Last(long rowId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where rowId = ?.- Parameters:
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByRowId_Last
public static ExpandoValue fetchByRowId_Last(long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where rowId = ?.- Parameters:
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByRowId_PrevAndNext
public static ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where rowId = ?.- Parameters:
valueId
- the primary key of the current expando valuerowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByRowId
public static void removeByRowId(long rowId) Removes all the expando values where rowId = ? from the database.- Parameters:
rowId
- the row ID
-
countByRowId
public static int countByRowId(long rowId) Returns the number of expando values where rowId = ?.- Parameters:
rowId
- the row ID- Returns:
- the number of matching expando values
-
findByT_C
Returns all the expando values where tableId = ? and columnId = ?.- Parameters:
tableId
- the table IDcolumnId
- the column ID- Returns:
- the matching expando values
-
findByT_C
Returns a range of all the expando values where tableId = ? and columnId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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)- Returns:
- the range of matching expando values
-
findByT_C
public static List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and columnId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByT_C
public static List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and columnId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByT_C_First
public static ExpandoValue findByT_C_First(long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where tableId = ? and columnId = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_C_First
public static ExpandoValue fetchByT_C_First(long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and columnId = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByT_C_Last
public static ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where tableId = ? and columnId = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_C_Last
public static ExpandoValue fetchByT_C_Last(long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and columnId = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByT_C_PrevAndNext
public static ExpandoValue[] findByT_C_PrevAndNext(long valueId, long tableId, long columnId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ?.- Parameters:
valueId
- the primary key of the current expando valuetableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByT_C
public static void removeByT_C(long tableId, long columnId) Removes all the expando values where tableId = ? and columnId = ? from the database.- Parameters:
tableId
- the table IDcolumnId
- the column ID
-
countByT_C
public static int countByT_C(long tableId, long columnId) Returns the number of expando values where tableId = ? and columnId = ?.- Parameters:
tableId
- the table IDcolumnId
- the column ID- Returns:
- the number of matching expando values
-
findByT_R
Returns all the expando values where tableId = ? and rowId = ?.- Parameters:
tableId
- the table IDrowId
- the row ID- Returns:
- the matching expando values
-
findByT_R
Returns a range of all the expando values where tableId = ? and rowId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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)- Returns:
- the range of matching expando values
-
findByT_R
public static List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and rowId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByT_R
public static List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and rowId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByT_R_First
public static ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where tableId = ? and rowId = ?.- Parameters:
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_R_First
public static ExpandoValue fetchByT_R_First(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and rowId = ?.- Parameters:
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByT_R_Last
public static ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where tableId = ? and rowId = ?.- Parameters:
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_R_Last
public static ExpandoValue fetchByT_R_Last(long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and rowId = ?.- Parameters:
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByT_R_PrevAndNext
public static ExpandoValue[] findByT_R_PrevAndNext(long valueId, long tableId, long rowId, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where tableId = ? and rowId = ?.- Parameters:
valueId
- the primary key of the current expando valuetableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByT_R
public static void removeByT_R(long tableId, long rowId) Removes all the expando values where tableId = ? and rowId = ? from the database.- Parameters:
tableId
- the table IDrowId
- the row ID
-
countByT_R
public static int countByT_R(long tableId, long rowId) Returns the number of expando values where tableId = ? and rowId = ?.- Parameters:
tableId
- the table IDrowId
- the row ID- Returns:
- the number of matching expando values
-
findByT_CPK
Returns all the expando values where tableId = ? and classPK = ?.- Parameters:
tableId
- the table IDclassPK
- the class pk- Returns:
- the matching expando values
-
findByT_CPK
Returns a range of all the expando values where tableId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
tableId
- the table IDclassPK
- the class pkstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of matching expando values
-
findByT_CPK
public static List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
tableId
- the table IDclassPK
- the class pkstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByT_CPK
public static List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
tableId
- the table IDclassPK
- the class pkstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByT_CPK_First
public static ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where tableId = ? and classPK = ?.- Parameters:
tableId
- the table IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_CPK_First
public static ExpandoValue fetchByT_CPK_First(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and classPK = ?.- Parameters:
tableId
- the table IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByT_CPK_Last
public static ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where tableId = ? and classPK = ?.- Parameters:
tableId
- the table IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_CPK_Last
public static ExpandoValue fetchByT_CPK_Last(long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and classPK = ?.- Parameters:
tableId
- the table IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByT_CPK_PrevAndNext
public static ExpandoValue[] findByT_CPK_PrevAndNext(long valueId, long tableId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where tableId = ? and classPK = ?.- Parameters:
valueId
- the primary key of the current expando valuetableId
- the table IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByT_CPK
public static void removeByT_CPK(long tableId, long classPK) Removes all the expando values where tableId = ? and classPK = ? from the database.- Parameters:
tableId
- the table IDclassPK
- the class pk
-
countByT_CPK
public static int countByT_CPK(long tableId, long classPK) Returns the number of expando values where tableId = ? and classPK = ?.- Parameters:
tableId
- the table IDclassPK
- the class pk- Returns:
- the number of matching expando values
-
findByC_R
Returns the expando value where columnId = ? and rowId = ? or throws aNoSuchValueException
if it could not be found.- Parameters:
columnId
- the column IDrowId
- the row ID- Returns:
- the matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByC_R
Returns the expando value where columnId = ? and rowId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
columnId
- the column IDrowId
- the row ID- Returns:
- the matching expando value, or
null
if a matching expando value could not be found
-
fetchByC_R
Returns the expando value where columnId = ? and rowId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
columnId
- the column IDrowId
- the row IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching expando value, or
null
if a matching expando value could not be found
-
removeByC_R
Removes the expando value where columnId = ? and rowId = ? from the database.- Parameters:
columnId
- the column IDrowId
- the row ID- Returns:
- the expando value that was removed
- Throws:
NoSuchValueException
-
countByC_R
public static int countByC_R(long columnId, long rowId) Returns the number of expando values where columnId = ? and rowId = ?.- Parameters:
columnId
- the column IDrowId
- the row ID- Returns:
- the number of matching expando values
-
findByC_C
Returns all the expando values where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching expando values
-
findByC_C
Returns a range of all the expando values where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of matching expando values
-
findByC_C
public static List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByC_C
public static List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByC_C_First
public static ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByC_C_First
public static ExpandoValue fetchByC_C_First(long classNameId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByC_C_Last
public static ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByC_C_Last
public static ExpandoValue fetchByC_C_Last(long classNameId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByC_C_PrevAndNext
public static ExpandoValue[] findByC_C_PrevAndNext(long valueId, long classNameId, long classPK, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where classNameId = ? and classPK = ?.- Parameters:
valueId
- the primary key of the current expando valueclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByC_C
public static void removeByC_C(long classNameId, long classPK) Removes all the expando values where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of expando values where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching expando values
-
findByT_C_C
public static ExpandoValue findByT_C_C(long tableId, long columnId, long classPK) throws NoSuchValueException Returns the expando value where tableId = ? and columnId = ? and classPK = ? or throws aNoSuchValueException
if it could not be found.- Parameters:
tableId
- the table IDcolumnId
- the column IDclassPK
- the class pk- Returns:
- the matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_C_C
Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
tableId
- the table IDcolumnId
- the column IDclassPK
- the class pk- Returns:
- the matching expando value, or
null
if a matching expando value could not be found
-
fetchByT_C_C
public static ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK, boolean useFinderCache) Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
tableId
- the table IDcolumnId
- the column IDclassPK
- the class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching expando value, or
null
if a matching expando value could not be found
-
removeByT_C_C
public static ExpandoValue removeByT_C_C(long tableId, long columnId, long classPK) throws NoSuchValueException Removes the expando value where tableId = ? and columnId = ? and classPK = ? from the database.- Parameters:
tableId
- the table IDcolumnId
- the column IDclassPK
- the class pk- Returns:
- the expando value that was removed
- Throws:
NoSuchValueException
-
countByT_C_C
public static int countByT_C_C(long tableId, long columnId, long classPK) Returns the number of expando values where tableId = ? and columnId = ? and classPK = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDclassPK
- the class pk- Returns:
- the number of matching expando values
-
findByT_C_D
Returns all the expando values where tableId = ? and columnId = ? and data = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the data- Returns:
- the matching expando values
-
findByT_C_D
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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)- Returns:
- the range of matching expando values
-
findByT_C_D
public static List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching expando values
-
findByT_C_D
public static List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching expando values
-
findByT_C_D_First
public static ExpandoValue findByT_C_D_First(long tableId, long columnId, String data, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_C_D_First
public static ExpandoValue fetchByT_C_D_First(long tableId, long columnId, String data, OrderByComparator<ExpandoValue> orderByComparator) Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching expando value, or
null
if a matching expando value could not be found
-
findByT_C_D_Last
public static ExpandoValue findByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value
- Throws:
NoSuchValueException
- if a matching expando value could not be foundNoSuchValueException
-
fetchByT_C_D_Last
public static ExpandoValue fetchByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator<ExpandoValue> orderByComparator) Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching expando value, or
null
if a matching expando value could not be found
-
findByT_C_D_PrevAndNext
public static ExpandoValue[] findByT_C_D_PrevAndNext(long valueId, long tableId, long columnId, String data, OrderByComparator<ExpandoValue> orderByComparator) throws NoSuchValueException Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ? and data = ?.- Parameters:
valueId
- the primary key of the current expando valuetableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
removeByT_C_D
Removes all the expando values where tableId = ? and columnId = ? and data = ? from the database.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the data
-
countByT_C_D
Returns the number of expando values where tableId = ? and columnId = ? and data = ?.- Parameters:
tableId
- the table IDcolumnId
- the column IDdata
- the data- Returns:
- the number of matching expando values
-
cacheResult
Caches the expando value in the entity cache if it is enabled.- Parameters:
expandoValue
- the expando value
-
cacheResult
Caches the expando values in the entity cache if it is enabled.- Parameters:
expandoValues
- the expando values
-
create
Creates a new expando value with the primary key. Does not add the expando value to the database.- Parameters:
valueId
- the primary key for the new expando value- Returns:
- the new expando value
-
remove
Removes the expando value with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
valueId
- the primary key of the expando value- Returns:
- the expando value that was removed
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
updateImpl
-
findByPrimaryKey
Returns the expando value with the primary key or throws aNoSuchValueException
if it could not be found.- Parameters:
valueId
- the primary key of the expando value- Returns:
- the expando value
- Throws:
NoSuchValueException
- if a expando value with the primary key could not be foundNoSuchValueException
-
fetchByPrimaryKey
Returns the expando value with the primary key or returnsnull
if it could not be found.- Parameters:
valueId
- the primary key of the expando value- Returns:
- the expando value, or
null
if a expando value with the primary key could not be found
-
findAll
Returns all the expando values.- Returns:
- the expando values
-
findAll
Returns a range of all the expando values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of expando values
-
findAll
public static List<ExpandoValue> findAll(int start, int end, OrderByComparator<ExpandoValue> orderByComparator) Returns an ordered range of all the expando values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of expando values
-
findAll
public static List<ExpandoValue> findAll(int start, int end, OrderByComparator<ExpandoValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the expando values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromExpandoValueModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of expando values
-
removeAll
public static void removeAll()Removes all the expando values from the database. -
countAll
public static int countAll()Returns the number of expando values.- Returns:
- the number of expando values
-
getPersistence
-
setPersistence
-