Liferay 6.0.5

com.liferay.portlet.expando.service.persistence
Class ExpandoValueUtil

java.lang.Object
  extended by com.liferay.portlet.expando.service.persistence.ExpandoValueUtil

public class ExpandoValueUtil
extends Object

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.

Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

See Also:
ExpandoValuePersistence, ExpandoValuePersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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()
          Counts all the expando values.
static int countByC_C(long classNameId, long classPK)
          Counts all the expando values where classNameId = ? and classPK = ?.
static int countByC_R(long columnId, long rowId)
          Counts all the expando values where columnId = ? and rowId = ?.
static int countByColumnId(long columnId)
          Counts all the expando values where columnId = ?.
static int countByRowId(long rowId)
          Counts all the expando values where rowId = ?.
static int countByT_C_C(long tableId, long columnId, long classPK)
          Counts all the expando values where tableId = ? and columnId = ? and classPK = ?.
static int countByT_C_D(long tableId, long columnId, String data)
          Counts all the expando values where tableId = ? and columnId = ? and data = ?.
static int countByT_C(long tableId, long columnId)
          Counts all the expando values where tableId = ? and columnId = ?.
static int countByT_CPK(long tableId, long classPK)
          Counts all the expando values where tableId = ? and classPK = ?.
static int countByT_R(long tableId, long rowId)
          Counts all the expando values where tableId = ? and rowId = ?.
static int countByTableId(long tableId)
          Counts all the expando values where tableId = ?.
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static ExpandoValue create(long valueId)
          Creates a new expando value with the primary key.
static ExpandoValue fetchByC_R(long columnId, long rowId)
          Finds 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)
          Finds the expando value where columnId = ? and rowId = ? or returns null if it could not be found, optionally using the finder cache.
static ExpandoValue fetchByPrimaryKey(long valueId)
          Finds the expando value with the primary key or returns null if it could not be found.
static ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK)
          Finds 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)
          Finds the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
static List<ExpandoValue> findAll()
          Finds all the expando values.
static List<ExpandoValue> findAll(int start, int end)
          Finds a range of all the expando values.
static List<ExpandoValue> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values.
static ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where classNameId = ? and classPK = ?.
static ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the expando values where classNameId = ? and classPK = ?.
static List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where classNameId = ? and classPK = ?.
static ExpandoValue findByC_R(long columnId, long rowId)
          Finds 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)
          Finds the first expando value in the ordered set where columnId = ?.
static ExpandoValue findByColumnId_Last(long columnId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where columnId = ?.
static ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, OrderByComparator orderByComparator)
          Finds the expando values before and after the current expando value in the ordered set where columnId = ?.
static List<ExpandoValue> findByColumnId(long columnId)
          Finds all the expando values where columnId = ?.
static List<ExpandoValue> findByColumnId(long columnId, int start, int end)
          Finds a range of all the expando values where columnId = ?.
static List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values where columnId = ?.
static ExpandoValue findByPrimaryKey(long valueId)
          Finds 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)
          Finds the first expando value in the ordered set where rowId = ?.
static ExpandoValue findByRowId_Last(long rowId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where rowId = ?.
static ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, OrderByComparator orderByComparator)
          Finds the expando values before and after the current expando value in the ordered set where rowId = ?.
static List<ExpandoValue> findByRowId(long rowId)
          Finds all the expando values where rowId = ?.
static List<ExpandoValue> findByRowId(long rowId, int start, int end)
          Finds a range of all the expando values where rowId = ?.
static List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values where rowId = ?.
static ExpandoValue findByT_C_C(long tableId, long columnId, long classPK)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds the first expando value in the ordered set where tableId = ? and columnId = ?.
static ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the expando values where tableId = ? and columnId = ?.
static List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and columnId = ?.
static ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ? and classPK = ?.
static ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the expando values where tableId = ? and classPK = ?.
static List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and classPK = ?.
static ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ? and rowId = ?.
static ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the expando values where tableId = ? and rowId = ?.
static List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and rowId = ?.
static ExpandoValue findByTableId_First(long tableId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ?.
static ExpandoValue findByTableId_Last(long tableId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where tableId = ?.
static ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, OrderByComparator orderByComparator)
          Finds the expando values before and after the current expando value in the ordered set where tableId = ?.
static List<ExpandoValue> findByTableId(long tableId)
          Finds all the expando values where tableId = ?.
static List<ExpandoValue> findByTableId(long tableId, int start, int end)
          Finds a range of all the expando values where tableId = ?.
static List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator)
          Finds 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(ExpandoValue expandoValue)
           
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 void 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_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)
           
static ExpandoValue update(ExpandoValue expandoValue, boolean merge)
           
static ExpandoValue update(ExpandoValue expandoValue, boolean merge, ServiceContext serviceContext)
           
static ExpandoValue updateImpl(ExpandoValue expandoValue, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoValueUtil

public ExpandoValueUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(ExpandoValue expandoValue)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<ExpandoValue> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static ExpandoValue remove(ExpandoValue expandoValue)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ExpandoValue update(ExpandoValue expandoValue,
                                  boolean merge)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static ExpandoValue update(ExpandoValue expandoValue,
                                  boolean merge,
                                  ServiceContext serviceContext)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(ExpandoValue expandoValue)
Caches the expando value in the entity cache if it is enabled.

Parameters:
expandoValue - the expando value to cache

cacheResult

public static void cacheResult(List<ExpandoValue> expandoValues)
Caches the expando values in the entity cache if it is enabled.

Parameters:
expandoValues - the expando values to cache

create

public static ExpandoValue create(long valueId)
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

public static ExpandoValue remove(long valueId)
                           throws SystemException,
                                  NoSuchValueException
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 to remove
Returns:
the expando value that was removed
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

public static ExpandoValue updateImpl(ExpandoValue expandoValue,
                                      boolean merge)
                               throws SystemException
Throws:
SystemException

findByPrimaryKey

public static ExpandoValue findByPrimaryKey(long valueId)
                                     throws SystemException,
                                            NoSuchValueException
Finds the expando value with the primary key or throws a NoSuchValueException if it could not be found.

Parameters:
valueId - the primary key of the expando value to find
Returns:
the expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public static ExpandoValue fetchByPrimaryKey(long valueId)
                                      throws SystemException
Finds the expando value with the primary key or returns null if it could not be found.

Parameters:
valueId - the primary key of the expando value to find
Returns:
the expando value, or null if a expando value with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByTableId

public static List<ExpandoValue> findByTableId(long tableId)
                                        throws SystemException
Finds all the expando values where tableId = ?.

Parameters:
tableId - the table id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByTableId

public static List<ExpandoValue> findByTableId(long tableId,
                                               int start,
                                               int end)
                                        throws SystemException
Finds a range of all the expando values where tableId = ?.

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.

Parameters:
tableId - the table id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByTableId

public static List<ExpandoValue> findByTableId(long tableId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Finds an ordered range of all the expando values where tableId = ?.

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.

Parameters:
tableId - the table id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByTableId_First

public static ExpandoValue findByTableId_First(long tableId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchValueException
Finds the first expando value in the ordered set where tableId = ?.

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.

Parameters:
tableId - the table id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByTableId_Last

public static ExpandoValue findByTableId_Last(long tableId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchValueException
Finds the last expando value in the ordered set where tableId = ?.

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.

Parameters:
tableId - the table id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByTableId_PrevAndNext

public static ExpandoValue[] findByTableId_PrevAndNext(long valueId,
                                                       long tableId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where tableId = ?.

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.

Parameters:
valueId - the primary key of the current expando value
tableId - the table id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByColumnId

public static List<ExpandoValue> findByColumnId(long columnId)
                                         throws SystemException
Finds all the expando values where columnId = ?.

Parameters:
columnId - the column id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByColumnId

public static List<ExpandoValue> findByColumnId(long columnId,
                                                int start,
                                                int end)
                                         throws SystemException
Finds a range of all the expando values where columnId = ?.

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.

Parameters:
columnId - the column id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByColumnId

public static List<ExpandoValue> findByColumnId(long columnId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Finds an ordered range of all the expando values where columnId = ?.

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.

Parameters:
columnId - the column id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByColumnId_First

public static ExpandoValue findByColumnId_First(long columnId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchValueException
Finds the first expando value in the ordered set where columnId = ?.

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.

Parameters:
columnId - the column id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByColumnId_Last

public static ExpandoValue findByColumnId_Last(long columnId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchValueException
Finds the last expando value in the ordered set where columnId = ?.

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.

Parameters:
columnId - the column id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByColumnId_PrevAndNext

public static ExpandoValue[] findByColumnId_PrevAndNext(long valueId,
                                                        long columnId,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where columnId = ?.

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.

Parameters:
valueId - the primary key of the current expando value
columnId - the column id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByRowId

public static List<ExpandoValue> findByRowId(long rowId)
                                      throws SystemException
Finds all the expando values where rowId = ?.

Parameters:
rowId - the row id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByRowId

public static List<ExpandoValue> findByRowId(long rowId,
                                             int start,
                                             int end)
                                      throws SystemException
Finds a range of all the expando values where rowId = ?.

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.

Parameters:
rowId - the row id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByRowId

public static List<ExpandoValue> findByRowId(long rowId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Finds an ordered range of all the expando values where rowId = ?.

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.

Parameters:
rowId - the row id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByRowId_First

public static ExpandoValue findByRowId_First(long rowId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchValueException
Finds the first expando value in the ordered set where rowId = ?.

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.

Parameters:
rowId - the row id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByRowId_Last

public static ExpandoValue findByRowId_Last(long rowId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchValueException
Finds the last expando value in the ordered set where rowId = ?.

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.

Parameters:
rowId - the row id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByRowId_PrevAndNext

public static ExpandoValue[] findByRowId_PrevAndNext(long valueId,
                                                     long rowId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where rowId = ?.

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.

Parameters:
valueId - the primary key of the current expando value
rowId - the row id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByT_C

public static List<ExpandoValue> findByT_C(long tableId,
                                           long columnId)
                                    throws SystemException
Finds all the expando values where tableId = ? and columnId = ?.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C

public static List<ExpandoValue> findByT_C(long tableId,
                                           long columnId,
                                           int start,
                                           int end)
                                    throws SystemException
Finds a range of all the expando values where tableId = ? and columnId = ?.

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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C

public static List<ExpandoValue> findByT_C(long tableId,
                                           long columnId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the expando values where tableId = ? and columnId = ?.

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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C_First

public static ExpandoValue findByT_C_First(long tableId,
                                           long columnId,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchValueException
Finds the first expando value in the ordered set where tableId = ? and columnId = ?.

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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_C_Last

public static ExpandoValue findByT_C_Last(long tableId,
                                          long columnId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchValueException
Finds the last expando value in the ordered set where tableId = ? and columnId = ?.

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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_C_PrevAndNext

public static ExpandoValue[] findByT_C_PrevAndNext(long valueId,
                                                   long tableId,
                                                   long columnId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ?.

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.

Parameters:
valueId - the primary key of the current expando value
tableId - the table id to search with
columnId - the column id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByT_CPK

public static List<ExpandoValue> findByT_CPK(long tableId,
                                             long classPK)
                                      throws SystemException
Finds all the expando values where tableId = ? and classPK = ?.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_CPK

public static List<ExpandoValue> findByT_CPK(long tableId,
                                             long classPK,
                                             int start,
                                             int end)
                                      throws SystemException
Finds a range of all the expando values where tableId = ? and classPK = ?.

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.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_CPK

public static List<ExpandoValue> findByT_CPK(long tableId,
                                             long classPK,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Finds an ordered range of all the expando values where tableId = ? and classPK = ?.

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.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_CPK_First

public static ExpandoValue findByT_CPK_First(long tableId,
                                             long classPK,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchValueException
Finds the first expando value in the ordered set where tableId = ? and classPK = ?.

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.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_CPK_Last

public static ExpandoValue findByT_CPK_Last(long tableId,
                                            long classPK,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchValueException
Finds the last expando value in the ordered set where tableId = ? and classPK = ?.

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.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_CPK_PrevAndNext

public static ExpandoValue[] findByT_CPK_PrevAndNext(long valueId,
                                                     long tableId,
                                                     long classPK,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where tableId = ? and classPK = ?.

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.

Parameters:
valueId - the primary key of the current expando value
tableId - the table id to search with
classPK - the class p k to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByT_R

public static List<ExpandoValue> findByT_R(long tableId,
                                           long rowId)
                                    throws SystemException
Finds all the expando values where tableId = ? and rowId = ?.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_R

public static List<ExpandoValue> findByT_R(long tableId,
                                           long rowId,
                                           int start,
                                           int end)
                                    throws SystemException
Finds a range of all the expando values where tableId = ? and rowId = ?.

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.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_R

public static List<ExpandoValue> findByT_R(long tableId,
                                           long rowId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the expando values where tableId = ? and rowId = ?.

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.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_R_First

public static ExpandoValue findByT_R_First(long tableId,
                                           long rowId,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchValueException
Finds the first expando value in the ordered set where tableId = ? and rowId = ?.

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.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_R_Last

public static ExpandoValue findByT_R_Last(long tableId,
                                          long rowId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchValueException
Finds the last expando value in the ordered set where tableId = ? and rowId = ?.

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.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_R_PrevAndNext

public static ExpandoValue[] findByT_R_PrevAndNext(long valueId,
                                                   long tableId,
                                                   long rowId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where tableId = ? and rowId = ?.

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.

Parameters:
valueId - the primary key of the current expando value
tableId - the table id to search with
rowId - the row id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByC_R

public static ExpandoValue findByC_R(long columnId,
                                     long rowId)
                              throws SystemException,
                                     NoSuchValueException
Finds the expando value where columnId = ? and rowId = ? or throws a NoSuchValueException if it could not be found.

Parameters:
columnId - the column id to search with
rowId - the row id to search with
Returns:
the matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByC_R

public static ExpandoValue fetchByC_R(long columnId,
                                      long rowId)
                               throws SystemException
Finds the expando value where columnId = ? and rowId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
columnId - the column id to search with
rowId - the row id to search with
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

fetchByC_R

public static ExpandoValue fetchByC_R(long columnId,
                                      long rowId,
                                      boolean retrieveFromCache)
                               throws SystemException
Finds the expando value where columnId = ? and rowId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
columnId - the column id to search with
rowId - the row id to search with
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByC_C

public static List<ExpandoValue> findByC_C(long classNameId,
                                           long classPK)
                                    throws SystemException
Finds all the expando values where classNameId = ? and classPK = ?.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByC_C

public static List<ExpandoValue> findByC_C(long classNameId,
                                           long classPK,
                                           int start,
                                           int end)
                                    throws SystemException
Finds a range of all the expando values where classNameId = ? and classPK = ?.

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.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByC_C

public static List<ExpandoValue> findByC_C(long classNameId,
                                           long classPK,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the expando values where classNameId = ? and classPK = ?.

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.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByC_C_First

public static ExpandoValue findByC_C_First(long classNameId,
                                           long classPK,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchValueException
Finds the first expando value in the ordered set where classNameId = ? and classPK = ?.

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.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByC_C_Last

public static ExpandoValue findByC_C_Last(long classNameId,
                                          long classPK,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchValueException
Finds the last expando value in the ordered set where classNameId = ? and classPK = ?.

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.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByC_C_PrevAndNext

public static ExpandoValue[] findByC_C_PrevAndNext(long valueId,
                                                   long classNameId,
                                                   long classPK,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where classNameId = ? and classPK = ?.

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.

Parameters:
valueId - the primary key of the current expando value
classNameId - the class name id to search with
classPK - the class p k to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByT_C_C

public static ExpandoValue findByT_C_C(long tableId,
                                       long columnId,
                                       long classPK)
                                throws SystemException,
                                       NoSuchValueException
Finds the expando value where tableId = ? and columnId = ? and classPK = ? or throws a NoSuchValueException if it could not be found.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
classPK - the class p k to search with
Returns:
the matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByT_C_C

public static ExpandoValue fetchByT_C_C(long tableId,
                                        long columnId,
                                        long classPK)
                                 throws SystemException
Finds the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
classPK - the class p k to search with
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

fetchByT_C_C

public static ExpandoValue fetchByT_C_C(long tableId,
                                        long columnId,
                                        long classPK,
                                        boolean retrieveFromCache)
                                 throws SystemException
Finds the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
classPK - the class p k to search with
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_C_D

public static List<ExpandoValue> findByT_C_D(long tableId,
                                             long columnId,
                                             String data)
                                      throws SystemException
Finds all the expando values where tableId = ? and columnId = ? and data = ?.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C_D

public static List<ExpandoValue> findByT_C_D(long tableId,
                                             long columnId,
                                             String data,
                                             int start,
                                             int end)
                                      throws SystemException
Finds 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 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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C_D

public static List<ExpandoValue> findByT_C_D(long tableId,
                                             long columnId,
                                             String data,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Finds 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 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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C_D_First

public static ExpandoValue findByT_C_D_First(long tableId,
                                             long columnId,
                                             String data,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchValueException
Finds the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.

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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_C_D_Last

public static ExpandoValue findByT_C_D_Last(long tableId,
                                            long columnId,
                                            String data,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchValueException
Finds the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.

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.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

findByT_C_D_PrevAndNext

public static ExpandoValue[] findByT_C_D_PrevAndNext(long valueId,
                                                     long tableId,
                                                     long columnId,
                                                     String data,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchValueException
Finds the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ? and data = ?.

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.

Parameters:
valueId - the primary key of the current expando value
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findAll

public static List<ExpandoValue> findAll()
                                  throws SystemException
Finds all the expando values.

Returns:
the expando values
Throws:
SystemException - if a system exception occurred

findAll

public static List<ExpandoValue> findAll(int start,
                                         int end)
                                  throws SystemException
Finds a range of all the expando values.

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.

Parameters:
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
Returns:
the range of expando values
Throws:
SystemException - if a system exception occurred

findAll

public static List<ExpandoValue> findAll(int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the expando values.

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.

Parameters:
start - the lower bound of the range of expando values to return
end - the upper bound of the range of expando values to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of expando values
Throws:
SystemException - if a system exception occurred

removeByTableId

public static void removeByTableId(long tableId)
                            throws SystemException
Removes all the expando values where tableId = ? from the database.

Parameters:
tableId - the table id to search with
Throws:
SystemException - if a system exception occurred

removeByColumnId

public static void removeByColumnId(long columnId)
                             throws SystemException
Removes all the expando values where columnId = ? from the database.

Parameters:
columnId - the column id to search with
Throws:
SystemException - if a system exception occurred

removeByRowId

public static void removeByRowId(long rowId)
                          throws SystemException
Removes all the expando values where rowId = ? from the database.

Parameters:
rowId - the row id to search with
Throws:
SystemException - if a system exception occurred

removeByT_C

public static void removeByT_C(long tableId,
                               long columnId)
                        throws SystemException
Removes all the expando values where tableId = ? and columnId = ? from the database.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
Throws:
SystemException - if a system exception occurred

removeByT_CPK

public static void removeByT_CPK(long tableId,
                                 long classPK)
                          throws SystemException
Removes all the expando values where tableId = ? and classPK = ? from the database.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
Throws:
SystemException - if a system exception occurred

removeByT_R

public static void removeByT_R(long tableId,
                               long rowId)
                        throws SystemException
Removes all the expando values where tableId = ? and rowId = ? from the database.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
Throws:
SystemException - if a system exception occurred

removeByC_R

public static void removeByC_R(long columnId,
                               long rowId)
                        throws SystemException,
                               NoSuchValueException
Removes the expando value where columnId = ? and rowId = ? from the database.

Parameters:
columnId - the column id to search with
rowId - the row id to search with
Throws:
SystemException - if a system exception occurred
NoSuchValueException

removeByC_C

public static void removeByC_C(long classNameId,
                               long classPK)
                        throws SystemException
Removes all the expando values where classNameId = ? and classPK = ? from the database.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Throws:
SystemException - if a system exception occurred

removeByT_C_C

public static void removeByT_C_C(long tableId,
                                 long columnId,
                                 long classPK)
                          throws SystemException,
                                 NoSuchValueException
Removes the expando value where tableId = ? and columnId = ? and classPK = ? from the database.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
classPK - the class p k to search with
Throws:
SystemException - if a system exception occurred
NoSuchValueException

removeByT_C_D

public static void removeByT_C_D(long tableId,
                                 long columnId,
                                 String data)
                          throws SystemException
Removes all the expando values where tableId = ? and columnId = ? and data = ? from the database.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
Throws:
SystemException - if a system exception occurred

removeAll

public static void removeAll()
                      throws SystemException
Removes all the expando values from the database.

Throws:
SystemException - if a system exception occurred

countByTableId

public static int countByTableId(long tableId)
                          throws SystemException
Counts all the expando values where tableId = ?.

Parameters:
tableId - the table id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByColumnId

public static int countByColumnId(long columnId)
                           throws SystemException
Counts all the expando values where columnId = ?.

Parameters:
columnId - the column id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByRowId

public static int countByRowId(long rowId)
                        throws SystemException
Counts all the expando values where rowId = ?.

Parameters:
rowId - the row id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByT_C

public static int countByT_C(long tableId,
                             long columnId)
                      throws SystemException
Counts all the expando values where tableId = ? and columnId = ?.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByT_CPK

public static int countByT_CPK(long tableId,
                               long classPK)
                        throws SystemException
Counts all the expando values where tableId = ? and classPK = ?.

Parameters:
tableId - the table id to search with
classPK - the class p k to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByT_R

public static int countByT_R(long tableId,
                             long rowId)
                      throws SystemException
Counts all the expando values where tableId = ? and rowId = ?.

Parameters:
tableId - the table id to search with
rowId - the row id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByC_R

public static int countByC_R(long columnId,
                             long rowId)
                      throws SystemException
Counts all the expando values where columnId = ? and rowId = ?.

Parameters:
columnId - the column id to search with
rowId - the row id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByC_C

public static int countByC_C(long classNameId,
                             long classPK)
                      throws SystemException
Counts all the expando values where classNameId = ? and classPK = ?.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByT_C_C

public static int countByT_C_C(long tableId,
                               long columnId,
                               long classPK)
                        throws SystemException
Counts all the expando values where tableId = ? and columnId = ? and classPK = ?.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
classPK - the class p k to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByT_C_D

public static int countByT_C_D(long tableId,
                               long columnId,
                               String data)
                        throws SystemException
Counts all the expando values where tableId = ? and columnId = ? and data = ?.

Parameters:
tableId - the table id to search with
columnId - the column id to search with
data - the data to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Counts all the expando values.

Returns:
the number of expando values
Throws:
SystemException - if a system exception occurred

getPersistence

public static ExpandoValuePersistence getPersistence()

setPersistence

public void setPersistence(ExpandoValuePersistence persistence)

Liferay 6.0.5