Liferay 6.2-ce-ga5

com.liferay.portlet.expando.service.persistence
Interface ExpandoValuePersistence

All Superinterfaces:
BasePersistence<ExpandoValue>

@ProviderType
public interface ExpandoValuePersistence
extends BasePersistence<ExpandoValue>

The persistence interface for the expando value service.

Caching information and settings can be found in portal.properties

See Also:
ExpandoValuePersistenceImpl, ExpandoValueUtil

Method Summary
 void cacheResult(ExpandoValue expandoValue)
          Caches the expando value in the entity cache if it is enabled.
 void cacheResult(List<ExpandoValue> expandoValues)
          Caches the expando values in the entity cache if it is enabled.
 int countAll()
          Returns the number of expando values.
 int countByC_C(long classNameId, long classPK)
          Returns the number of expando values where classNameId = ? and classPK = ?.
 int countByC_R(long columnId, long rowId)
          Returns the number of expando values where columnId = ? and rowId = ?.
 int countByColumnId(long columnId)
          Returns the number of expando values where columnId = ?.
 int countByRowId(long rowId)
          Returns the number of expando values where rowId = ?.
 int countByT_C_C(long tableId, long columnId, long classPK)
          Returns the number of expando values where tableId = ? and columnId = ? and classPK = ?.
 int countByT_C_D(long tableId, long columnId, String data)
          Returns the number of expando values where tableId = ? and columnId = ? and data = ?.
 int countByT_C(long tableId, long columnId)
          Returns the number of expando values where tableId = ? and columnId = ?.
 int countByT_CPK(long tableId, long classPK)
          Returns the number of expando values where tableId = ? and classPK = ?.
 int countByT_R(long tableId, long rowId)
          Returns the number of expando values where tableId = ? and rowId = ?.
 int countByTableId(long tableId)
          Returns the number of expando values where tableId = ?.
 ExpandoValue create(long valueId)
          Creates a new expando value with the primary key.
 ExpandoValue fetchByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue fetchByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue fetchByC_R(long columnId, long rowId)
          Returns the expando value where columnId = ? and rowId = ? or returns null if it could not be found.
 ExpandoValue fetchByC_R(long columnId, long rowId, boolean retrieveFromCache)
          Returns the expando value where columnId = ? and rowId = ? or returns null if it could not be found, optionally using the finder cache.
 ExpandoValue fetchByColumnId_First(long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where columnId = ?.
 ExpandoValue fetchByColumnId_Last(long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where columnId = ?.
 ExpandoValue fetchByPrimaryKey(long valueId)
          Returns the expando value with the primary key or returns null if it could not be found.
 ExpandoValue fetchByRowId_First(long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where rowId = ?.
 ExpandoValue fetchByRowId_Last(long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where rowId = ?.
 ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK)
          Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found.
 ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK, boolean retrieveFromCache)
          Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
 ExpandoValue fetchByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue fetchByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue fetchByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue fetchByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue fetchByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue fetchByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue fetchByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue fetchByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue fetchByTableId_First(long tableId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ?.
 ExpandoValue fetchByTableId_Last(long tableId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ?.
 List<ExpandoValue> findAll()
          Returns all the expando values.
 List<ExpandoValue> findAll(int start, int end)
          Returns a range of all the expando values.
 List<ExpandoValue> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values.
 ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue[] findByC_C_PrevAndNext(long valueId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK)
          Returns all the expando values where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end)
          Returns a range of all the expando values where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where classNameId = ? and classPK = ?.
 ExpandoValue findByC_R(long columnId, long rowId)
          Returns the expando value where columnId = ? and rowId = ? or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByColumnId_First(long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where columnId = ?.
 ExpandoValue findByColumnId_Last(long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where columnId = ?.
 ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId)
          Returns all the expando values where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId, int start, int end)
          Returns a range of all the expando values where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where columnId = ?.
 ExpandoValue findByPrimaryKey(long valueId)
          Returns the expando value with the primary key or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByRowId_First(long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where rowId = ?.
 ExpandoValue findByRowId_Last(long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where rowId = ?.
 ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId)
          Returns all the expando values where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId, int start, int end)
          Returns a range of all the expando values where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where rowId = ?.
 ExpandoValue findByT_C_C(long tableId, long columnId, long classPK)
          Returns the expando value where tableId = ? and columnId = ? and classPK = ? or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue findByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue[] findByT_C_D_PrevAndNext(long valueId, long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data)
          Returns all the expando values where tableId = ? and columnId = ? and data = ?.
 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 = ?.
 List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?.
 ExpandoValue findByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue[] findByT_C_PrevAndNext(long valueId, long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId)
          Returns all the expando values where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end)
          Returns a range of all the expando values where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and columnId = ?.
 ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue[] findByT_CPK_PrevAndNext(long valueId, long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK)
          Returns all the expando values where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end)
          Returns a range of all the expando values where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and classPK = ?.
 ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue[] findByT_R_PrevAndNext(long valueId, long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId)
          Returns all the expando values where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end)
          Returns a range of all the expando values where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and rowId = ?.
 ExpandoValue findByTableId_First(long tableId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ?.
 ExpandoValue findByTableId_Last(long tableId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ?.
 ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId)
          Returns all the expando values where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId, int start, int end)
          Returns a range of all the expando values where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ?.
 ExpandoValue remove(long valueId)
          Removes the expando value with the primary key from the database.
 void removeAll()
          Removes all the expando values from the database.
 void removeByC_C(long classNameId, long classPK)
          Removes all the expando values where classNameId = ? and classPK = ? from the database.
 ExpandoValue removeByC_R(long columnId, long rowId)
          Removes the expando value where columnId = ? and rowId = ? from the database.
 void removeByColumnId(long columnId)
          Removes all the expando values where columnId = ? from the database.
 void removeByRowId(long rowId)
          Removes all the expando values where rowId = ? from the database.
 ExpandoValue removeByT_C_C(long tableId, long columnId, long classPK)
          Removes the expando value where tableId = ? and columnId = ? and classPK = ? from the database.
 void removeByT_C_D(long tableId, long columnId, String data)
          Removes all the expando values where tableId = ? and columnId = ? and data = ? from the database.
 void removeByT_C(long tableId, long columnId)
          Removes all the expando values where tableId = ? and columnId = ? from the database.
 void removeByT_CPK(long tableId, long classPK)
          Removes all the expando values where tableId = ? and classPK = ? from the database.
 void removeByT_R(long tableId, long rowId)
          Removes all the expando values where tableId = ? and rowId = ? from the database.
 void removeByTableId(long tableId)
          Removes all the expando values where tableId = ? from the database.
 ExpandoValue updateImpl(ExpandoValue expandoValue)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByTableId

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

Parameters:
tableId - the table ID
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByTableId

List<ExpandoValue> findByTableId(long tableId,
                                 int start,
                                 int end)
                                 throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByTableId

List<ExpandoValue> findByTableId(long tableId,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByTableId_First

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

Parameters:
tableId - the table ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByTableId_First

ExpandoValue fetchByTableId_First(long tableId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first expando value in the ordered set where tableId = ?.

Parameters:
tableId - the table ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByTableId_Last

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

Parameters:
tableId - the table ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByTableId_Last

ExpandoValue fetchByTableId_Last(long tableId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last expando value in the ordered set where tableId = ?.

Parameters:
tableId - the table ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByTableId_PrevAndNext

ExpandoValue[] findByTableId_PrevAndNext(long valueId,
                                         long tableId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                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 value
tableId - the table ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByTableId

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

Parameters:
tableId - the table ID
Throws:
SystemException - if a system exception occurred

countByTableId

int countByTableId(long tableId)
                   throws SystemException
Returns the number of expando values where tableId = ?.

Parameters:
tableId - the table ID
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

findByColumnId

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

Parameters:
columnId - the column ID
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByColumnId

List<ExpandoValue> findByColumnId(long columnId,
                                  int start,
                                  int end)
                                  throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByColumnId

List<ExpandoValue> findByColumnId(long columnId,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByColumnId_First

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

Parameters:
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByColumnId_First

ExpandoValue fetchByColumnId_First(long columnId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns the first expando value in the ordered set where columnId = ?.

Parameters:
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByColumnId_Last

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

Parameters:
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByColumnId_Last

ExpandoValue fetchByColumnId_Last(long columnId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the last expando value in the ordered set where columnId = ?.

Parameters:
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByColumnId_PrevAndNext

ExpandoValue[] findByColumnId_PrevAndNext(long valueId,
                                          long columnId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 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 value
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByColumnId

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

Parameters:
columnId - the column ID
Throws:
SystemException - if a system exception occurred

countByColumnId

int countByColumnId(long columnId)
                    throws SystemException
Returns the number of expando values where columnId = ?.

Parameters:
columnId - the column ID
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

findByRowId

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

Parameters:
rowId - the row ID
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByRowId

List<ExpandoValue> findByRowId(long rowId,
                               int start,
                               int end)
                               throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByRowId

List<ExpandoValue> findByRowId(long rowId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByRowId_First

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

Parameters:
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByRowId_First

ExpandoValue fetchByRowId_First(long rowId,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the first expando value in the ordered set where rowId = ?.

Parameters:
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByRowId_Last

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

Parameters:
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByRowId_Last

ExpandoValue fetchByRowId_Last(long rowId,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the last expando value in the ordered set where rowId = ?.

Parameters:
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByRowId_PrevAndNext

ExpandoValue[] findByRowId_PrevAndNext(long valueId,
                                       long rowId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              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 value
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByRowId

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

Parameters:
rowId - the row ID
Throws:
SystemException - if a system exception occurred

countByRowId

int countByRowId(long rowId)
                 throws SystemException
Returns the number of expando values where rowId = ?.

Parameters:
rowId - the row ID
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C

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

Parameters:
tableId - the table ID
columnId - the column ID
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C

List<ExpandoValue> findByT_C(long tableId,
                             long columnId,
                             int start,
                             int end)
                             throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_C

List<ExpandoValue> findByT_C(long tableId,
                             long columnId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_C_First

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

Parameters:
tableId - the table ID
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByT_C_First

ExpandoValue fetchByT_C_First(long tableId,
                              long columnId,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the first expando value in the ordered set where tableId = ? and columnId = ?.

Parameters:
tableId - the table ID
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_C_Last

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

Parameters:
tableId - the table ID
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByT_C_Last

ExpandoValue fetchByT_C_Last(long tableId,
                             long columnId,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns the last expando value in the ordered set where tableId = ? and columnId = ?.

Parameters:
tableId - the table ID
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_C_PrevAndNext

ExpandoValue[] findByT_C_PrevAndNext(long valueId,
                                     long tableId,
                                     long columnId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            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 value
tableId - the table ID
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByT_C

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
columnId - the column ID
Throws:
SystemException - if a system exception occurred

countByT_C

int countByT_C(long tableId,
               long columnId)
               throws SystemException
Returns the number of expando values where tableId = ? and columnId = ?.

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

findByT_CPK

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

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

findByT_CPK

List<ExpandoValue> findByT_CPK(long tableId,
                               long classPK,
                               int start,
                               int end)
                               throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_CPK

List<ExpandoValue> findByT_CPK(long tableId,
                               long classPK,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_CPK_First

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

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

fetchByT_CPK_First

ExpandoValue fetchByT_CPK_First(long tableId,
                                long classPK,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the first expando value in the ordered set where tableId = ? and classPK = ?.

Parameters:
tableId - the table ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_CPK_Last

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

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

fetchByT_CPK_Last

ExpandoValue fetchByT_CPK_Last(long tableId,
                               long classPK,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the last expando value in the ordered set where tableId = ? and classPK = ?.

Parameters:
tableId - the table ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_CPK_PrevAndNext

ExpandoValue[] findByT_CPK_PrevAndNext(long valueId,
                                       long tableId,
                                       long classPK,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              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 value
tableId - the table ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
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

removeByT_CPK

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
classPK - the class p k
Throws:
SystemException - if a system exception occurred

countByT_CPK

int countByT_CPK(long tableId,
                 long classPK)
                 throws SystemException
Returns the number of expando values where tableId = ? and classPK = ?.

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

findByT_R

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

Parameters:
tableId - the table ID
rowId - the row ID
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_R

List<ExpandoValue> findByT_R(long tableId,
                             long rowId,
                             int start,
                             int end)
                             throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_R

List<ExpandoValue> findByT_R(long tableId,
                             long rowId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_R_First

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

Parameters:
tableId - the table ID
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByT_R_First

ExpandoValue fetchByT_R_First(long tableId,
                              long rowId,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the first expando value in the ordered set where tableId = ? and rowId = ?.

Parameters:
tableId - the table ID
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_R_Last

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

Parameters:
tableId - the table ID
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByT_R_Last

ExpandoValue fetchByT_R_Last(long tableId,
                             long rowId,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns the last expando value in the ordered set where tableId = ? and rowId = ?.

Parameters:
tableId - the table ID
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_R_PrevAndNext

ExpandoValue[] findByT_R_PrevAndNext(long valueId,
                                     long tableId,
                                     long rowId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            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 value
tableId - the table ID
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
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

removeByT_R

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
rowId - the row ID
Throws:
SystemException - if a system exception occurred

countByT_R

int countByT_R(long tableId,
               long rowId)
               throws SystemException
Returns the number of expando values where tableId = ? and rowId = ?.

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

findByC_R

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

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

fetchByC_R

ExpandoValue fetchByC_R(long columnId,
                        long rowId)
                        throws SystemException
Returns 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
rowId - the row ID
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

ExpandoValue fetchByC_R(long columnId,
                        long rowId,
                        boolean retrieveFromCache)
                        throws SystemException
Returns 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
rowId - the row ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

removeByC_R

ExpandoValue 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
rowId - the row ID
Returns:
the expando value that was removed
Throws:
SystemException - if a system exception occurred
NoSuchValueException

countByC_R

int countByC_R(long columnId,
               long rowId)
               throws SystemException
Returns the number of expando values where columnId = ? and rowId = ?.

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

findByC_C

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

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

findByC_C

List<ExpandoValue> findByC_C(long classNameId,
                             long classPK,
                             int start,
                             int end)
                             throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByC_C

List<ExpandoValue> findByC_C(long classNameId,
                             long classPK,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByC_C_First

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

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

fetchByC_C_First

ExpandoValue fetchByC_C_First(long classNameId,
                              long classPK,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.

Parameters:
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByC_C_Last

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

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

fetchByC_C_Last

ExpandoValue fetchByC_C_Last(long classNameId,
                             long classPK,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.

Parameters:
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByC_C_PrevAndNext

ExpandoValue[] findByC_C_PrevAndNext(long valueId,
                                     long classNameId,
                                     long classPK,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            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 value
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
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

removeByC_C

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
classPK - the class p k
Throws:
SystemException - if a system exception occurred

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws SystemException
Returns the number of expando values where classNameId = ? and classPK = ?.

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

findByT_C_C

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

Parameters:
tableId - the table ID
columnId - the column ID
classPK - the class p k
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

ExpandoValue fetchByT_C_C(long tableId,
                          long columnId,
                          long classPK)
                          throws SystemException
Returns 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
columnId - the column ID
classPK - the class p k
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

ExpandoValue fetchByT_C_C(long tableId,
                          long columnId,
                          long classPK,
                          boolean retrieveFromCache)
                          throws SystemException
Returns 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
columnId - the column ID
classPK - the class p k
retrieveFromCache - whether to use the finder cache
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

removeByT_C_C

ExpandoValue 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
columnId - the column ID
classPK - the class p k
Returns:
the expando value that was removed
Throws:
SystemException - if a system exception occurred
NoSuchValueException

countByT_C_C

int countByT_C_C(long tableId,
                 long columnId,
                 long classPK)
                 throws SystemException
Returns the number of expando values where tableId = ? and columnId = ? and classPK = ?.

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

findByT_C_D

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

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

findByT_C_D

List<ExpandoValue> findByT_C_D(long tableId,
                               long columnId,
                               String data,
                               int start,
                               int end)
                               throws SystemException
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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_C_D

List<ExpandoValue> findByT_C_D(long tableId,
                               long columnId,
                               String data,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByT_C_D_First

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

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

fetchByT_C_D_First

ExpandoValue fetchByT_C_D_First(long tableId,
                                long columnId,
                                String data,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.

Parameters:
tableId - the table ID
columnId - the column ID
data - the data
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_C_D_Last

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

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

fetchByT_C_D_Last

ExpandoValue fetchByT_C_D_Last(long tableId,
                               long columnId,
                               String data,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.

Parameters:
tableId - the table ID
columnId - the column ID
data - the data
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_C_D_PrevAndNext

ExpandoValue[] findByT_C_D_PrevAndNext(long valueId,
                                       long tableId,
                                       long columnId,
                                       String data,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              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 value
tableId - the table ID
columnId - the column ID
data - the data
orderByComparator - the comparator to order the set by (optionally null)
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

removeByT_C_D

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
columnId - the column ID
data - the data
Throws:
SystemException - if a system exception occurred

countByT_C_D

int countByT_C_D(long tableId,
                 long columnId,
                 String data)
                 throws SystemException
Returns the number of expando values where tableId = ? and columnId = ? and data = ?.

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

cacheResult

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

Parameters:
expandoValue - the expando value

cacheResult

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

Parameters:
expandoValues - the expando values

create

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

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
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

ExpandoValue updateImpl(ExpandoValue expandoValue)
                        throws SystemException
Throws:
SystemException

findByPrimaryKey

ExpandoValue findByPrimaryKey(long valueId)
                              throws SystemException,
                                     NoSuchValueException
Returns 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
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

ExpandoValue fetchByPrimaryKey(long valueId)
                               throws SystemException
Returns 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
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

findAll

List<ExpandoValue> findAll()
                           throws SystemException
Returns all the expando values.

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

findAll

List<ExpandoValue> findAll(int start,
                           int end)
                           throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findAll

List<ExpandoValue> findAll(int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

removeAll

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

Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of expando values.

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

Liferay 6.2-ce-ga5