Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ExpandoValue>
      extended by com.liferay.portlet.expando.service.persistence.ExpandoValuePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<ExpandoValue>, ExpandoValuePersistence

public class ExpandoValuePersistenceImpl
extends BasePersistenceImpl<ExpandoValue>
implements ExpandoValuePersistence

The persistence implementation for the expando value service.

Never modify or reference this class directly. Always use ExpandoValueUtil to access the expando value persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

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

Field Summary
protected  ExpandoColumnPersistence expandoColumnPersistence
           
protected  ExpandoRowPersistence expandoRowPersistence
           
protected  ExpandoTablePersistence expandoTablePersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_C_R
           
static FinderPath FINDER_PATH_COUNT_BY_COLUMNID
           
static FinderPath FINDER_PATH_COUNT_BY_ROWID
           
static FinderPath FINDER_PATH_COUNT_BY_T_C
           
static FinderPath FINDER_PATH_COUNT_BY_T_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_T_C_D
           
static FinderPath FINDER_PATH_COUNT_BY_T_CPK
           
static FinderPath FINDER_PATH_COUNT_BY_T_R
           
static FinderPath FINDER_PATH_COUNT_BY_TABLEID
           
static FinderPath FINDER_PATH_FETCH_BY_C_R
           
static FinderPath FINDER_PATH_FETCH_BY_T_C_C
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_C_C
           
static FinderPath FINDER_PATH_FIND_BY_COLUMNID
           
static FinderPath FINDER_PATH_FIND_BY_ROWID
           
static FinderPath FINDER_PATH_FIND_BY_T_C
           
static FinderPath FINDER_PATH_FIND_BY_T_C_D
           
static FinderPath FINDER_PATH_FIND_BY_T_CPK
           
static FinderPath FINDER_PATH_FIND_BY_T_R
           
static FinderPath FINDER_PATH_FIND_BY_TABLEID
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
ExpandoValuePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the expando value persistence.
 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.
 void clearCache()
          Clears the cache for all expando values.
 void clearCache(ExpandoValue expandoValue)
          Clears the cache for the expando value.
 int countAll()
          Counts all the expando values.
 int countByC_C(long classNameId, long classPK)
          Counts all the expando values where classNameId = ? and classPK = ?.
 int countByC_R(long columnId, long rowId)
          Counts all the expando values where columnId = ? and rowId = ?.
 int countByColumnId(long columnId)
          Counts all the expando values where columnId = ?.
 int countByRowId(long rowId)
          Counts all the expando values where rowId = ?.
 int countByT_C_C(long tableId, long columnId, long classPK)
          Counts all the expando values where tableId = ? and columnId = ? and classPK = ?.
 int countByT_C_D(long tableId, long columnId, String data)
          Counts all the expando values where tableId = ? and columnId = ? and data = ?.
 int countByT_C(long tableId, long columnId)
          Counts all the expando values where tableId = ? and columnId = ?.
 int countByT_CPK(long tableId, long classPK)
          Counts all the expando values where tableId = ? and classPK = ?.
 int countByT_R(long tableId, long rowId)
          Counts all the expando values where tableId = ? and rowId = ?.
 int countByTableId(long tableId)
          Counts all the expando values where tableId = ?.
 ExpandoValue create(long valueId)
          Creates a new expando value with the primary key.
 ExpandoValue fetchByC_R(long columnId, long rowId)
          Finds 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)
          Finds the expando value where columnId = ? and rowId = ? or returns null if it could not be found, optionally using the finder cache.
 ExpandoValue fetchByPrimaryKey(long valueId)
          Finds the expando value with the primary key or returns null if it could not be found.
 ExpandoValue fetchByPrimaryKey(Serializable primaryKey)
          Finds the expando value with the primary key or returns null if it could not be found.
 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.
 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.
 List<ExpandoValue> findAll()
          Finds all the expando values.
 List<ExpandoValue> findAll(int start, int end)
          Finds a range of all the expando values.
 List<ExpandoValue> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values.
 ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where classNameId = ? and classPK = ?.
 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 = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK)
          Finds all the expando values where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where classNameId = ? and classPK = ?.
 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.
 ExpandoValue findByColumnId_First(long columnId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where columnId = ?.
 ExpandoValue findByColumnId_Last(long columnId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where columnId = ?.
 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 = ?.
 List<ExpandoValue> findByColumnId(long columnId)
          Finds all the expando values where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId, int start, int end)
          Finds a range of all the expando values where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values where columnId = ?.
 ExpandoValue findByPrimaryKey(long valueId)
          Finds the expando value with the primary key or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByPrimaryKey(Serializable primaryKey)
          Finds the expando value with the primary key or throws a NoSuchModelException if it could not be found.
 ExpandoValue findByRowId_First(long rowId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where rowId = ?.
 ExpandoValue findByRowId_Last(long rowId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where rowId = ?.
 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 = ?.
 List<ExpandoValue> findByRowId(long rowId)
          Finds all the expando values where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId, int start, int end)
          Finds a range of all the expando values where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values where rowId = ?.
 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.
 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 = ?.
 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 = ?.
 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 = ?.
 List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?.
 ExpandoValue findByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where tableId = ? and columnId = ?.
 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 = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId)
          Finds all the expando values where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and columnId = ?.
 ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where tableId = ? and classPK = ?.
 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 = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK)
          Finds all the expando values where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and classPK = ?.
 ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where tableId = ? and rowId = ?.
 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 = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId)
          Finds all the expando values where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end)
          Finds 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)
          Finds an ordered range of all the expando values where tableId = ? and rowId = ?.
 ExpandoValue findByTableId_First(long tableId, OrderByComparator orderByComparator)
          Finds the first expando value in the ordered set where tableId = ?.
 ExpandoValue findByTableId_Last(long tableId, OrderByComparator orderByComparator)
          Finds the last expando value in the ordered set where tableId = ?.
 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 = ?.
 List<ExpandoValue> findByTableId(long tableId)
          Finds all the expando values where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId, int start, int end)
          Finds a range of all the expando values where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the expando values where tableId = ?.
protected  ExpandoValue getByC_C_PrevAndNext(Session session, ExpandoValue expandoValue, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByColumnId_PrevAndNext(Session session, ExpandoValue expandoValue, long columnId, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByRowId_PrevAndNext(Session session, ExpandoValue expandoValue, long rowId, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByT_C_D_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long columnId, String data, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByT_C_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long columnId, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByT_CPK_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long classPK, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByT_R_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long rowId, OrderByComparator orderByComparator, boolean previous)
           
protected  ExpandoValue getByTableId_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, OrderByComparator orderByComparator, boolean previous)
           
 ExpandoValue remove(long valueId)
          Removes the expando value with the primary key from the database.
 ExpandoValue remove(Serializable primaryKey)
          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.
 void 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.
 void 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.
protected  ExpandoValue removeImpl(ExpandoValue expandoValue)
          Removes the model instance from the database.
protected  ExpandoValue toUnwrappedModel(ExpandoValue expandoValue)
           
 ExpandoValue updateImpl(ExpandoValue expandoValue, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_TABLEID

public static final FinderPath FINDER_PATH_FIND_BY_TABLEID

FINDER_PATH_COUNT_BY_TABLEID

public static final FinderPath FINDER_PATH_COUNT_BY_TABLEID

FINDER_PATH_FIND_BY_COLUMNID

public static final FinderPath FINDER_PATH_FIND_BY_COLUMNID

FINDER_PATH_COUNT_BY_COLUMNID

public static final FinderPath FINDER_PATH_COUNT_BY_COLUMNID

FINDER_PATH_FIND_BY_ROWID

public static final FinderPath FINDER_PATH_FIND_BY_ROWID

FINDER_PATH_COUNT_BY_ROWID

public static final FinderPath FINDER_PATH_COUNT_BY_ROWID

FINDER_PATH_FIND_BY_T_C

public static final FinderPath FINDER_PATH_FIND_BY_T_C

FINDER_PATH_COUNT_BY_T_C

public static final FinderPath FINDER_PATH_COUNT_BY_T_C

FINDER_PATH_FIND_BY_T_CPK

public static final FinderPath FINDER_PATH_FIND_BY_T_CPK

FINDER_PATH_COUNT_BY_T_CPK

public static final FinderPath FINDER_PATH_COUNT_BY_T_CPK

FINDER_PATH_FIND_BY_T_R

public static final FinderPath FINDER_PATH_FIND_BY_T_R

FINDER_PATH_COUNT_BY_T_R

public static final FinderPath FINDER_PATH_COUNT_BY_T_R

FINDER_PATH_FETCH_BY_C_R

public static final FinderPath FINDER_PATH_FETCH_BY_C_R

FINDER_PATH_COUNT_BY_C_R

public static final FinderPath FINDER_PATH_COUNT_BY_C_R

FINDER_PATH_FIND_BY_C_C

public static final FinderPath FINDER_PATH_FIND_BY_C_C

FINDER_PATH_COUNT_BY_C_C

public static final FinderPath FINDER_PATH_COUNT_BY_C_C

FINDER_PATH_FETCH_BY_T_C_C

public static final FinderPath FINDER_PATH_FETCH_BY_T_C_C

FINDER_PATH_COUNT_BY_T_C_C

public static final FinderPath FINDER_PATH_COUNT_BY_T_C_C

FINDER_PATH_FIND_BY_T_C_D

public static final FinderPath FINDER_PATH_FIND_BY_T_C_D

FINDER_PATH_COUNT_BY_T_C_D

public static final FinderPath FINDER_PATH_COUNT_BY_T_C_D

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

expandoColumnPersistence

@BeanReference(type=ExpandoColumnPersistence.class)
protected ExpandoColumnPersistence expandoColumnPersistence

expandoRowPersistence

@BeanReference(type=ExpandoRowPersistence.class)
protected ExpandoRowPersistence expandoRowPersistence

expandoTablePersistence

@BeanReference(type=ExpandoTablePersistence.class)
protected ExpandoTablePersistence expandoTablePersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence
Constructor Detail

ExpandoValuePersistenceImpl

public ExpandoValuePersistenceImpl()
Method Detail

cacheResult

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

Specified by:
cacheResult in interface ExpandoValuePersistence
Parameters:
expandoValue - the expando value to cache

cacheResult

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

Specified by:
cacheResult in interface ExpandoValuePersistence
Parameters:
expandoValues - the expando values to cache

clearCache

public void clearCache()
Clears the cache for all expando values.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<ExpandoValue>
Overrides:
clearCache in class BasePersistenceImpl<ExpandoValue>

clearCache

public void clearCache(ExpandoValue expandoValue)
Clears the cache for the expando value.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<ExpandoValue>
Overrides:
clearCache in class BasePersistenceImpl<ExpandoValue>
Parameters:
expandoValue - the instance of this model to clear the cache for

create

public ExpandoValue create(long valueId)
Creates a new expando value with the primary key. Does not add the expando value to the database.

Specified by:
create in interface ExpandoValuePersistence
Parameters:
valueId - the primary key for the new expando value
Returns:
the new expando value

remove

public ExpandoValue remove(Serializable primaryKey)
                    throws NoSuchModelException,
                           SystemException
Removes the expando value with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<ExpandoValue>
Overrides:
remove in class BasePersistenceImpl<ExpandoValue>
Parameters:
primaryKey - the primary key of the expando value to remove
Returns:
the expando value that was removed
Throws:
NoSuchModelException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

remove

public ExpandoValue remove(long valueId)
                    throws NoSuchValueException,
                           SystemException
Removes the expando value with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface ExpandoValuePersistence
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

removeImpl

protected ExpandoValue removeImpl(ExpandoValue expandoValue)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<ExpandoValue>
Parameters:
expandoValue - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public ExpandoValue updateImpl(ExpandoValue expandoValue,
                               boolean merge)
                        throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface ExpandoValuePersistence
Overrides:
updateImpl in class BasePersistenceImpl<ExpandoValue>
Parameters:
expandoValue - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected ExpandoValue toUnwrappedModel(ExpandoValue expandoValue)

findByPrimaryKey

public ExpandoValue findByPrimaryKey(Serializable primaryKey)
                              throws NoSuchModelException,
                                     SystemException
Finds the expando value with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<ExpandoValue>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<ExpandoValue>
Parameters:
primaryKey - the primary key of the expando value to find
Returns:
the expando value
Throws:
NoSuchModelException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface ExpandoValuePersistence
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 ExpandoValue fetchByPrimaryKey(Serializable primaryKey)
                               throws SystemException
Finds the expando value with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<ExpandoValue>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<ExpandoValue>
Parameters:
primaryKey - 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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface ExpandoValuePersistence
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 List<ExpandoValue> findByTableId(long tableId)
                                 throws SystemException
Finds all the expando values where tableId = ?.

Specified by:
findByTableId in interface ExpandoValuePersistence
Parameters:
tableId - the table id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByTableId

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

Specified by:
findByTableId in interface ExpandoValuePersistence
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 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.

Specified by:
findByTableId in interface ExpandoValuePersistence
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 ExpandoValue findByTableId_First(long tableId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchValueException,
                                        SystemException
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.

Specified by:
findByTableId_First in interface ExpandoValuePersistence
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 ExpandoValue findByTableId_Last(long tableId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchValueException,
                                       SystemException
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.

Specified by:
findByTableId_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByTableId_PrevAndNext(long valueId,
                                                long tableId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchValueException,
                                                SystemException
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.

Specified by:
findByTableId_PrevAndNext in interface ExpandoValuePersistence
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

getByTableId_PrevAndNext

protected ExpandoValue getByTableId_PrevAndNext(Session session,
                                                ExpandoValue expandoValue,
                                                long tableId,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByColumnId

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

Specified by:
findByColumnId in interface ExpandoValuePersistence
Parameters:
columnId - the column id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByColumnId

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

Specified by:
findByColumnId in interface ExpandoValuePersistence
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 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.

Specified by:
findByColumnId in interface ExpandoValuePersistence
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 ExpandoValue findByColumnId_First(long columnId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchValueException,
                                         SystemException
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.

Specified by:
findByColumnId_First in interface ExpandoValuePersistence
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 ExpandoValue findByColumnId_Last(long columnId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchValueException,
                                        SystemException
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.

Specified by:
findByColumnId_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByColumnId_PrevAndNext(long valueId,
                                                 long columnId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchValueException,
                                                 SystemException
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.

Specified by:
findByColumnId_PrevAndNext in interface ExpandoValuePersistence
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

getByColumnId_PrevAndNext

protected ExpandoValue getByColumnId_PrevAndNext(Session session,
                                                 ExpandoValue expandoValue,
                                                 long columnId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

findByRowId

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

Specified by:
findByRowId in interface ExpandoValuePersistence
Parameters:
rowId - the row id to search with
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByRowId

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

Specified by:
findByRowId in interface ExpandoValuePersistence
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 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.

Specified by:
findByRowId in interface ExpandoValuePersistence
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 ExpandoValue findByRowId_First(long rowId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchValueException,
                                      SystemException
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.

Specified by:
findByRowId_First in interface ExpandoValuePersistence
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 ExpandoValue findByRowId_Last(long rowId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchValueException,
                                     SystemException
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.

Specified by:
findByRowId_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByRowId_PrevAndNext(long valueId,
                                              long rowId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchValueException,
                                              SystemException
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.

Specified by:
findByRowId_PrevAndNext in interface ExpandoValuePersistence
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

getByRowId_PrevAndNext

protected ExpandoValue getByRowId_PrevAndNext(Session session,
                                              ExpandoValue expandoValue,
                                              long rowId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByT_C

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

Specified by:
findByT_C in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_C in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_C in interface ExpandoValuePersistence
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 ExpandoValue findByT_C_First(long tableId,
                                    long columnId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchValueException,
                                    SystemException
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.

Specified by:
findByT_C_First in interface ExpandoValuePersistence
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 ExpandoValue findByT_C_Last(long tableId,
                                   long columnId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchValueException,
                                   SystemException
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.

Specified by:
findByT_C_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByT_C_PrevAndNext(long valueId,
                                            long tableId,
                                            long columnId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchValueException,
                                            SystemException
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.

Specified by:
findByT_C_PrevAndNext in interface ExpandoValuePersistence
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

getByT_C_PrevAndNext

protected ExpandoValue getByT_C_PrevAndNext(Session session,
                                            ExpandoValue expandoValue,
                                            long tableId,
                                            long columnId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByT_CPK

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

Specified by:
findByT_CPK in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_CPK in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_CPK in interface ExpandoValuePersistence
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 ExpandoValue findByT_CPK_First(long tableId,
                                      long classPK,
                                      OrderByComparator orderByComparator)
                               throws NoSuchValueException,
                                      SystemException
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.

Specified by:
findByT_CPK_First in interface ExpandoValuePersistence
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 ExpandoValue findByT_CPK_Last(long tableId,
                                     long classPK,
                                     OrderByComparator orderByComparator)
                              throws NoSuchValueException,
                                     SystemException
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.

Specified by:
findByT_CPK_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByT_CPK_PrevAndNext(long valueId,
                                              long tableId,
                                              long classPK,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchValueException,
                                              SystemException
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.

Specified by:
findByT_CPK_PrevAndNext in interface ExpandoValuePersistence
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

getByT_CPK_PrevAndNext

protected ExpandoValue getByT_CPK_PrevAndNext(Session session,
                                              ExpandoValue expandoValue,
                                              long tableId,
                                              long classPK,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByT_R

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

Specified by:
findByT_R in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_R in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_R in interface ExpandoValuePersistence
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 ExpandoValue findByT_R_First(long tableId,
                                    long rowId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchValueException,
                                    SystemException
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.

Specified by:
findByT_R_First in interface ExpandoValuePersistence
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 ExpandoValue findByT_R_Last(long tableId,
                                   long rowId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchValueException,
                                   SystemException
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.

Specified by:
findByT_R_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByT_R_PrevAndNext(long valueId,
                                            long tableId,
                                            long rowId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchValueException,
                                            SystemException
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.

Specified by:
findByT_R_PrevAndNext in interface ExpandoValuePersistence
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

getByT_R_PrevAndNext

protected ExpandoValue getByT_R_PrevAndNext(Session session,
                                            ExpandoValue expandoValue,
                                            long tableId,
                                            long rowId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByC_R

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

Specified by:
findByC_R in interface ExpandoValuePersistence
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 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.

Specified by:
fetchByC_R in interface ExpandoValuePersistence
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 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.

Specified by:
fetchByC_R in interface ExpandoValuePersistence
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 List<ExpandoValue> findByC_C(long classNameId,
                                    long classPK)
                             throws SystemException
Finds all the expando values where classNameId = ? and classPK = ?.

Specified by:
findByC_C in interface ExpandoValuePersistence
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 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.

Specified by:
findByC_C in interface ExpandoValuePersistence
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 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.

Specified by:
findByC_C in interface ExpandoValuePersistence
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 ExpandoValue findByC_C_First(long classNameId,
                                    long classPK,
                                    OrderByComparator orderByComparator)
                             throws NoSuchValueException,
                                    SystemException
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.

Specified by:
findByC_C_First in interface ExpandoValuePersistence
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 ExpandoValue findByC_C_Last(long classNameId,
                                   long classPK,
                                   OrderByComparator orderByComparator)
                            throws NoSuchValueException,
                                   SystemException
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.

Specified by:
findByC_C_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByC_C_PrevAndNext(long valueId,
                                            long classNameId,
                                            long classPK,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchValueException,
                                            SystemException
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.

Specified by:
findByC_C_PrevAndNext in interface ExpandoValuePersistence
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

getByC_C_PrevAndNext

protected ExpandoValue getByC_C_PrevAndNext(Session session,
                                            ExpandoValue expandoValue,
                                            long classNameId,
                                            long classPK,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByT_C_C

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

Specified by:
findByT_C_C in interface ExpandoValuePersistence
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 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.

Specified by:
fetchByT_C_C in interface ExpandoValuePersistence
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 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.

Specified by:
fetchByT_C_C in interface ExpandoValuePersistence
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 List<ExpandoValue> findByT_C_D(long tableId,
                                      long columnId,
                                      String data)
                               throws SystemException
Finds all the expando values where tableId = ? and columnId = ? and data = ?.

Specified by:
findByT_C_D in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_C_D in interface ExpandoValuePersistence
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 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.

Specified by:
findByT_C_D in interface ExpandoValuePersistence
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 ExpandoValue findByT_C_D_First(long tableId,
                                      long columnId,
                                      String data,
                                      OrderByComparator orderByComparator)
                               throws NoSuchValueException,
                                      SystemException
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.

Specified by:
findByT_C_D_First in interface ExpandoValuePersistence
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 ExpandoValue findByT_C_D_Last(long tableId,
                                     long columnId,
                                     String data,
                                     OrderByComparator orderByComparator)
                              throws NoSuchValueException,
                                     SystemException
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.

Specified by:
findByT_C_D_Last in interface ExpandoValuePersistence
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 ExpandoValue[] findByT_C_D_PrevAndNext(long valueId,
                                              long tableId,
                                              long columnId,
                                              String data,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchValueException,
                                              SystemException
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.

Specified by:
findByT_C_D_PrevAndNext in interface ExpandoValuePersistence
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

getByT_C_D_PrevAndNext

protected ExpandoValue getByT_C_D_PrevAndNext(Session session,
                                              ExpandoValue expandoValue,
                                              long tableId,
                                              long columnId,
                                              String data,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findAll

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

Specified by:
findAll in interface ExpandoValuePersistence
Returns:
the expando values
Throws:
SystemException - if a system exception occurred

findAll

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

Specified by:
findAll in interface ExpandoValuePersistence
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 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.

Specified by:
findAll in interface ExpandoValuePersistence
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 void removeByTableId(long tableId)
                     throws SystemException
Removes all the expando values where tableId = ? from the database.

Specified by:
removeByTableId in interface ExpandoValuePersistence
Parameters:
tableId - the table id to search with
Throws:
SystemException - if a system exception occurred

removeByColumnId

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

Specified by:
removeByColumnId in interface ExpandoValuePersistence
Parameters:
columnId - the column id to search with
Throws:
SystemException - if a system exception occurred

removeByRowId

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

Specified by:
removeByRowId in interface ExpandoValuePersistence
Parameters:
rowId - the row id to search with
Throws:
SystemException - if a system exception occurred

removeByT_C

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

Specified by:
removeByT_C in interface ExpandoValuePersistence
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 void removeByT_CPK(long tableId,
                          long classPK)
                   throws SystemException
Removes all the expando values where tableId = ? and classPK = ? from the database.

Specified by:
removeByT_CPK in interface ExpandoValuePersistence
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 void removeByT_R(long tableId,
                        long rowId)
                 throws SystemException
Removes all the expando values where tableId = ? and rowId = ? from the database.

Specified by:
removeByT_R in interface ExpandoValuePersistence
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 void removeByC_R(long columnId,
                        long rowId)
                 throws NoSuchValueException,
                        SystemException
Removes the expando value where columnId = ? and rowId = ? from the database.

Specified by:
removeByC_R in interface ExpandoValuePersistence
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 void removeByC_C(long classNameId,
                        long classPK)
                 throws SystemException
Removes all the expando values where classNameId = ? and classPK = ? from the database.

Specified by:
removeByC_C in interface ExpandoValuePersistence
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 void removeByT_C_C(long tableId,
                          long columnId,
                          long classPK)
                   throws NoSuchValueException,
                          SystemException
Removes the expando value where tableId = ? and columnId = ? and classPK = ? from the database.

Specified by:
removeByT_C_C in interface ExpandoValuePersistence
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 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.

Specified by:
removeByT_C_D in interface ExpandoValuePersistence
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 void removeAll()
               throws SystemException
Removes all the expando values from the database.

Specified by:
removeAll in interface ExpandoValuePersistence
Throws:
SystemException - if a system exception occurred

countByTableId

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

Specified by:
countByTableId in interface ExpandoValuePersistence
Parameters:
tableId - the table id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByColumnId

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

Specified by:
countByColumnId in interface ExpandoValuePersistence
Parameters:
columnId - the column id to search with
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countByRowId

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

Specified by:
countByRowId in interface ExpandoValuePersistence
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 int countByT_C(long tableId,
                      long columnId)
               throws SystemException
Counts all the expando values where tableId = ? and columnId = ?.

Specified by:
countByT_C in interface ExpandoValuePersistence
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 int countByT_CPK(long tableId,
                        long classPK)
                 throws SystemException
Counts all the expando values where tableId = ? and classPK = ?.

Specified by:
countByT_CPK in interface ExpandoValuePersistence
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 int countByT_R(long tableId,
                      long rowId)
               throws SystemException
Counts all the expando values where tableId = ? and rowId = ?.

Specified by:
countByT_R in interface ExpandoValuePersistence
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 int countByC_R(long columnId,
                      long rowId)
               throws SystemException
Counts all the expando values where columnId = ? and rowId = ?.

Specified by:
countByC_R in interface ExpandoValuePersistence
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 int countByC_C(long classNameId,
                      long classPK)
               throws SystemException
Counts all the expando values where classNameId = ? and classPK = ?.

Specified by:
countByC_C in interface ExpandoValuePersistence
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 int countByT_C_C(long tableId,
                        long columnId,
                        long classPK)
                 throws SystemException
Counts all the expando values where tableId = ? and columnId = ? and classPK = ?.

Specified by:
countByT_C_C in interface ExpandoValuePersistence
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 int countByT_C_D(long tableId,
                        long columnId,
                        String data)
                 throws SystemException
Counts all the expando values where tableId = ? and columnId = ? and data = ?.

Specified by:
countByT_C_D in interface ExpandoValuePersistence
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 int countAll()
             throws SystemException
Counts all the expando values.

Specified by:
countAll in interface ExpandoValuePersistence
Returns:
the number of expando values
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the expando value persistence.


Liferay 6.0.5