Liferay 6.1.2-ce-ga3

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.

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 it 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_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
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_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COLUMNID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ROWID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C_D
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_CPK
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_R
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TABLEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COLUMNID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ROWID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C_D
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_CPK
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_R
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TABLEID
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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.
protected  void cacheUniqueFindersCache(ExpandoValue expandoValue)
           
 void clearCache()
          Clears the cache for all expando values.
 void clearCache(ExpandoValue expandoValue)
          Clears the cache for the expando value.
 void clearCache(List<ExpandoValue> expandoValues)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(ExpandoValue expandoValue)
           
 int countAll()
          Returns the number of expando values.
 int countByC_C(long classNameId, long classPK)
          Returns the number of expando values where classNameId = ? and classPK = ?.
 int countByC_R(long columnId, long rowId)
          Returns the number of expando values where columnId = ? and rowId = ?.
 int countByColumnId(long columnId)
          Returns the number of expando values where columnId = ?.
 int countByRowId(long rowId)
          Returns the number of expando values where rowId = ?.
 int countByT_C_C(long tableId, long columnId, long classPK)
          Returns the number of expando values where tableId = ? and columnId = ? and classPK = ?.
 int countByT_C_D(long tableId, long columnId, String data)
          Returns the number of expando values where tableId = ? and columnId = ? and data = ?.
 int countByT_C(long tableId, long columnId)
          Returns the number of expando values where tableId = ? and columnId = ?.
 int countByT_CPK(long tableId, long classPK)
          Returns the number of expando values where tableId = ? and classPK = ?.
 int countByT_R(long tableId, long rowId)
          Returns the number of expando values where tableId = ? and rowId = ?.
 int countByTableId(long tableId)
          Returns the number of expando values where tableId = ?.
 ExpandoValue create(long valueId)
          Creates a new expando value with the primary key.
 void destroy()
           
 ExpandoValue fetchByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue fetchByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue fetchByC_R(long columnId, long rowId)
          Returns the expando value where columnId = ? and rowId = ? or returns null if it could not be found.
 ExpandoValue fetchByC_R(long columnId, long rowId, boolean retrieveFromCache)
          Returns the expando value where columnId = ? and rowId = ? or returns null if it could not be found, optionally using the finder cache.
 ExpandoValue fetchByColumnId_First(long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where columnId = ?.
 ExpandoValue fetchByColumnId_Last(long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where columnId = ?.
 ExpandoValue fetchByPrimaryKey(long valueId)
          Returns the expando value with the primary key or returns null if it could not be found.
 ExpandoValue fetchByPrimaryKey(Serializable primaryKey)
          Returns the expando value with the primary key or returns null if it could not be found.
 ExpandoValue fetchByRowId_First(long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where rowId = ?.
 ExpandoValue fetchByRowId_Last(long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where rowId = ?.
 ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK)
          Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found.
 ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK, boolean retrieveFromCache)
          Returns the expando value where tableId = ? and columnId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
 ExpandoValue fetchByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue fetchByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue fetchByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue fetchByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue fetchByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue fetchByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue fetchByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue fetchByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue fetchByTableId_First(long tableId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ?.
 ExpandoValue fetchByTableId_Last(long tableId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ?.
 List<ExpandoValue> findAll()
          Returns all the expando values.
 List<ExpandoValue> findAll(int start, int end)
          Returns a range of all the expando values.
 List<ExpandoValue> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values.
 ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where classNameId = ? and classPK = ?.
 ExpandoValue[] findByC_C_PrevAndNext(long valueId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK)
          Returns all the expando values where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end)
          Returns a range of all the expando values where classNameId = ? and classPK = ?.
 List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where classNameId = ? and classPK = ?.
 ExpandoValue findByC_R(long columnId, long rowId)
          Returns the expando value where columnId = ? and rowId = ? or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByColumnId_First(long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where columnId = ?.
 ExpandoValue findByColumnId_Last(long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where columnId = ?.
 ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId)
          Returns all the expando values where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId, int start, int end)
          Returns a range of all the expando values where columnId = ?.
 List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where columnId = ?.
 ExpandoValue findByPrimaryKey(long valueId)
          Returns the expando value with the primary key or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByPrimaryKey(Serializable primaryKey)
          Returns the expando value with the primary key or throws a NoSuchModelException if it could not be found.
 ExpandoValue findByRowId_First(long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where rowId = ?.
 ExpandoValue findByRowId_Last(long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where rowId = ?.
 ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId)
          Returns all the expando values where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId, int start, int end)
          Returns a range of all the expando values where rowId = ?.
 List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where rowId = ?.
 ExpandoValue findByT_C_C(long tableId, long columnId, long classPK)
          Returns the expando value where tableId = ? and columnId = ? and classPK = ? or throws a NoSuchValueException if it could not be found.
 ExpandoValue findByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue findByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 ExpandoValue[] findByT_C_D_PrevAndNext(long valueId, long tableId, long columnId, String data, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ? and data = ?.
 List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data)
          Returns all the expando values where tableId = ? and columnId = ? and data = ?.
 List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end)
          Returns a range of all the expando values where tableId = ? and columnId = ? and data = ?.
 List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?.
 ExpandoValue findByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and columnId = ?.
 ExpandoValue[] findByT_C_PrevAndNext(long valueId, long tableId, long columnId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId)
          Returns all the expando values where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end)
          Returns a range of all the expando values where tableId = ? and columnId = ?.
 List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and columnId = ?.
 ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and classPK = ?.
 ExpandoValue[] findByT_CPK_PrevAndNext(long valueId, long tableId, long classPK, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK)
          Returns all the expando values where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end)
          Returns a range of all the expando values where tableId = ? and classPK = ?.
 List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and classPK = ?.
 ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ? and rowId = ?.
 ExpandoValue[] findByT_R_PrevAndNext(long valueId, long tableId, long rowId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId)
          Returns all the expando values where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end)
          Returns a range of all the expando values where tableId = ? and rowId = ?.
 List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ? and rowId = ?.
 ExpandoValue findByTableId_First(long tableId, OrderByComparator orderByComparator)
          Returns the first expando value in the ordered set where tableId = ?.
 ExpandoValue findByTableId_Last(long tableId, OrderByComparator orderByComparator)
          Returns the last expando value in the ordered set where tableId = ?.
 ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, OrderByComparator orderByComparator)
          Returns the expando values before and after the current expando value in the ordered set where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId)
          Returns all the expando values where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId, int start, int end)
          Returns a range of all the expando values where tableId = ?.
 List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the expando values where tableId = ?.
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.
 ExpandoValue removeByC_R(long columnId, long rowId)
          Removes the expando value where columnId = ? and rowId = ? from the database.
 void removeByColumnId(long columnId)
          Removes all the expando values where columnId = ? from the database.
 void removeByRowId(long rowId)
          Removes all the expando values where rowId = ? from the database.
 ExpandoValue removeByT_C_C(long tableId, long columnId, long classPK)
          Removes the expando value where tableId = ? and columnId = ? and classPK = ? from the database.
 void removeByT_C_D(long tableId, long columnId, String data)
          Removes all the expando values where tableId = ? and columnId = ? and data = ? from the database.
 void removeByT_C(long tableId, long columnId)
          Removes all the expando values where tableId = ? and columnId = ? from the database.
 void removeByT_CPK(long tableId, long classPK)
          Removes all the expando values where tableId = ? and classPK = ? from the database.
 void removeByT_R(long tableId, long rowId)
          Removes all the expando values where tableId = ? and rowId = ? from the database.
 void removeByTableId(long tableId)
          Removes all the expando values where tableId = ? from the database.
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, getClassLoader, getDataSource, getDB, 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
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_TABLEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TABLEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TABLEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TABLEID

FINDER_PATH_COUNT_BY_TABLEID

public static final FinderPath FINDER_PATH_COUNT_BY_TABLEID

FINDER_PATH_WITH_PAGINATION_FIND_BY_COLUMNID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COLUMNID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COLUMNID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COLUMNID

FINDER_PATH_COUNT_BY_COLUMNID

public static final FinderPath FINDER_PATH_COUNT_BY_COLUMNID

FINDER_PATH_WITH_PAGINATION_FIND_BY_ROWID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ROWID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ROWID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ROWID

FINDER_PATH_COUNT_BY_ROWID

public static final FinderPath FINDER_PATH_COUNT_BY_ROWID

FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C

FINDER_PATH_COUNT_BY_T_C

public static final FinderPath FINDER_PATH_COUNT_BY_T_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_T_CPK

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_CPK

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_CPK

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_CPK

FINDER_PATH_COUNT_BY_T_CPK

public static final FinderPath FINDER_PATH_COUNT_BY_T_CPK

FINDER_PATH_WITH_PAGINATION_FIND_BY_T_R

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_R

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_R

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_C_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_T_C_D

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C_D

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C_D

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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

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

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

clearCache

public void clearCache(List<ExpandoValue> expandoValues)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

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

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(ExpandoValue expandoValue)

clearUniqueFindersCache

protected void clearUniqueFindersCache(ExpandoValue expandoValue)

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

remove

public ExpandoValue remove(Serializable primaryKey)
                    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 BasePersistence<ExpandoValue>
Overrides:
remove in class BasePersistenceImpl<ExpandoValue>
Parameters:
primaryKey - the primary key of the expando value
Returns:
the expando value that was removed
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns 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
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
Returns 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
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
Returns 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
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
Returns 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
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
Returns all the expando values where tableId = ?.

Specified by:
findByTableId in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
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
Returns a range of all the expando values where tableId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByTableId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByTableId_First

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

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

fetchByTableId_First

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

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

findByTableId_Last

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

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

fetchByTableId_Last

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

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

findByTableId_PrevAndNext

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

Specified by:
findByTableId_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
tableId - the table ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns all the expando values where columnId = ?.

Specified by:
findByColumnId in interface ExpandoValuePersistence
Parameters:
columnId - the column ID
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
Returns a range of all the expando values where columnId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByColumnId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByColumnId_First

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

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

fetchByColumnId_First

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

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

findByColumnId_Last

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

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

fetchByColumnId_Last

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

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

findByColumnId_PrevAndNext

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

Specified by:
findByColumnId_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns all the expando values where rowId = ?.

Specified by:
findByRowId in interface ExpandoValuePersistence
Parameters:
rowId - the row ID
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
Returns a range of all the expando values where rowId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByRowId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByRowId_First

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

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

fetchByRowId_First

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

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

findByRowId_Last

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

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

fetchByRowId_Last

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

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

findByRowId_PrevAndNext

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

Specified by:
findByRowId_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns all the expando values where tableId = ? and columnId = ?.

Specified by:
findByT_C in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
columnId - the column ID
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
Returns a range of all the expando values where tableId = ? and columnId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_C_First

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

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

fetchByT_C_First

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

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

findByT_C_Last

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

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

fetchByT_C_Last

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

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

findByT_C_PrevAndNext

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

Specified by:
findByT_C_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
tableId - the table ID
columnId - the column ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns all the expando values where tableId = ? and classPK = ?.

Specified by:
findByT_CPK in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
classPK - the class p k
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
Returns a range of all the expando values where tableId = ? and classPK = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_CPK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_CPK_First

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

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

fetchByT_CPK_First

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

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

findByT_CPK_Last

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

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

fetchByT_CPK_Last

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

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

findByT_CPK_PrevAndNext

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

Specified by:
findByT_CPK_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
tableId - the table ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns all the expando values where tableId = ? and rowId = ?.

Specified by:
findByT_R in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
rowId - the row ID
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
Returns a range of all the expando values where tableId = ? and rowId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_R

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_R_First

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

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

fetchByT_R_First

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

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

findByT_R_Last

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

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

fetchByT_R_Last

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

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

findByT_R_PrevAndNext

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

Specified by:
findByT_R_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
tableId - the table ID
rowId - the row ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns 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
rowId - the row ID
Returns:
the matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByC_R

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

Specified by:
fetchByC_R in interface ExpandoValuePersistence
Parameters:
columnId - the column ID
rowId - the row ID
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

fetchByC_R

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

Specified by:
fetchByC_R in interface ExpandoValuePersistence
Parameters:
columnId - the column ID
rowId - the row ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByC_C

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

Specified by:
findByC_C in interface ExpandoValuePersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByC_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByC_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByC_C_First

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

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

fetchByC_C_First

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

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

findByC_C_Last

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

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

fetchByC_C_Last

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

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

findByC_C_PrevAndNext

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

Specified by:
findByC_C_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns 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
columnId - the column ID
classPK - the class p k
Returns:
the matching expando value
Throws:
NoSuchValueException - if a matching expando value could not be found
SystemException - if a system exception occurred

fetchByT_C_C

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

Specified by:
fetchByT_C_C in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
columnId - the column ID
classPK - the class p k
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

fetchByT_C_C

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

Specified by:
fetchByT_C_C in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
columnId - the column ID
classPK - the class p k
retrieveFromCache - whether to use the finder cache
Returns:
the matching expando value, or null if a matching expando value could not be found
Throws:
SystemException - if a system exception occurred

findByT_C_D

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

Specified by:
findByT_C_D in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
columnId - the column ID
data - the data
Returns:
the matching expando values
Throws:
SystemException - if a system exception occurred

findByT_C_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_C_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByT_C_D_First

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

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

fetchByT_C_D_First

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

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

findByT_C_D_Last

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

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

fetchByT_C_D_Last

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

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

findByT_C_D_PrevAndNext

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

Specified by:
findByT_C_D_PrevAndNext in interface ExpandoValuePersistence
Parameters:
valueId - the primary key of the current expando value
tableId - the table ID
columnId - the column ID
data - the data
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next expando value
Throws:
NoSuchValueException - if a expando value with the primary key could not be found
SystemException - if a system exception occurred

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
Returns 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
Returns a range of all the expando values.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

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

removeByC_R

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

removeByT_C_C

public ExpandoValue 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
columnId - the column ID
classPK - the class p k
Returns:
the expando value that was removed
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
columnId - the column ID
data - the data
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
Returns the number of expando values where tableId = ?.

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

countByColumnId

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

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

countByRowId

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

Specified by:
countByRowId in interface ExpandoValuePersistence
Parameters:
rowId - the row ID
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
Returns the number of expando values where tableId = ? and columnId = ?.

Specified by:
countByT_C in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
columnId - the column ID
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
Returns the number of expando values where tableId = ? and classPK = ?.

Specified by:
countByT_CPK in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
classPK - the class p k
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
Returns the number of expando values where tableId = ? and rowId = ?.

Specified by:
countByT_R in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
rowId - the row ID
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
Returns the number of expando values where columnId = ? and rowId = ?.

Specified by:
countByC_R in interface ExpandoValuePersistence
Parameters:
columnId - the column ID
rowId - the row ID
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
Returns the number of expando values where classNameId = ? and classPK = ?.

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

countByT_C_C

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

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

countByT_C_D

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

Specified by:
countByT_C_D in interface ExpandoValuePersistence
Parameters:
tableId - the table ID
columnId - the column ID
data - the data
Returns:
the number of matching expando values
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of 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.


destroy

public void destroy()

Liferay 6.1.2-ce-ga3