|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<ExpandoValue>
com.liferay.portlet.expando.service.persistence.ExpandoValuePersistenceImpl
public class ExpandoValuePersistenceImpl
The persistence implementation for the expando value service.
Caching information and settings can be found in portal.properties
ExpandoValuePersistence
,
ExpandoValueUtil
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 Set<String> |
getBadColumnNames()
|
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)
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, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
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, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TABLEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TABLEID
public static final FinderPath FINDER_PATH_COUNT_BY_TABLEID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COLUMNID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COLUMNID
public static final FinderPath FINDER_PATH_COUNT_BY_COLUMNID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ROWID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ROWID
public static final FinderPath FINDER_PATH_COUNT_BY_ROWID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C
public static final FinderPath FINDER_PATH_COUNT_BY_T_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_CPK
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_CPK
public static final FinderPath FINDER_PATH_COUNT_BY_T_CPK
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_R
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_R
public static final FinderPath FINDER_PATH_COUNT_BY_T_R
public static final FinderPath FINDER_PATH_FETCH_BY_C_R
public static final FinderPath FINDER_PATH_COUNT_BY_C_R
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
public static final FinderPath FINDER_PATH_FETCH_BY_T_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_T_C_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_C_D
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_C_D
public static final FinderPath FINDER_PATH_COUNT_BY_T_C_D
Constructor Detail |
---|
public ExpandoValuePersistenceImpl()
Method Detail |
---|
public List<ExpandoValue> findByTableId(long tableId) throws SystemException
findByTableId
in interface ExpandoValuePersistence
tableId
- the table ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByTableId(long tableId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTableId
in interface ExpandoValuePersistence
tableId
- the table IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTableId
in interface ExpandoValuePersistence
tableId
- the table IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByTableId_First(long tableId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByTableId_First
in interface ExpandoValuePersistence
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByTableId_First(long tableId, OrderByComparator orderByComparator) throws SystemException
fetchByTableId_First
in interface ExpandoValuePersistence
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByTableId_Last(long tableId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByTableId_Last
in interface ExpandoValuePersistence
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByTableId_Last(long tableId, OrderByComparator orderByComparator) throws SystemException
fetchByTableId_Last
in interface ExpandoValuePersistence
tableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByTableId_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuetableId
- the table IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByTableId_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, OrderByComparator orderByComparator, boolean previous)
public void removeByTableId(long tableId) throws SystemException
removeByTableId
in interface ExpandoValuePersistence
tableId
- the table ID
SystemException
- if a system exception occurredpublic int countByTableId(long tableId) throws SystemException
countByTableId
in interface ExpandoValuePersistence
tableId
- the table ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByColumnId(long columnId) throws SystemException
findByColumnId
in interface ExpandoValuePersistence
columnId
- the column ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByColumnId(long columnId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByColumnId
in interface ExpandoValuePersistence
columnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByColumnId(long columnId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByColumnId
in interface ExpandoValuePersistence
columnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByColumnId_First(long columnId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByColumnId_First
in interface ExpandoValuePersistence
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByColumnId_First(long columnId, OrderByComparator orderByComparator) throws SystemException
fetchByColumnId_First
in interface ExpandoValuePersistence
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByColumnId_Last(long columnId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByColumnId_Last
in interface ExpandoValuePersistence
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByColumnId_Last(long columnId, OrderByComparator orderByComparator) throws SystemException
fetchByColumnId_Last
in interface ExpandoValuePersistence
columnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByColumnId_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuecolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByColumnId_PrevAndNext(Session session, ExpandoValue expandoValue, long columnId, OrderByComparator orderByComparator, boolean previous)
public void removeByColumnId(long columnId) throws SystemException
removeByColumnId
in interface ExpandoValuePersistence
columnId
- the column ID
SystemException
- if a system exception occurredpublic int countByColumnId(long columnId) throws SystemException
countByColumnId
in interface ExpandoValuePersistence
columnId
- the column ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByRowId(long rowId) throws SystemException
findByRowId
in interface ExpandoValuePersistence
rowId
- the row ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByRowId(long rowId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByRowId
in interface ExpandoValuePersistence
rowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByRowId(long rowId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByRowId
in interface ExpandoValuePersistence
rowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByRowId_First(long rowId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByRowId_First
in interface ExpandoValuePersistence
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByRowId_First(long rowId, OrderByComparator orderByComparator) throws SystemException
fetchByRowId_First
in interface ExpandoValuePersistence
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByRowId_Last(long rowId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByRowId_Last
in interface ExpandoValuePersistence
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByRowId_Last(long rowId, OrderByComparator orderByComparator) throws SystemException
fetchByRowId_Last
in interface ExpandoValuePersistence
rowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByRowId_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuerowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByRowId_PrevAndNext(Session session, ExpandoValue expandoValue, long rowId, OrderByComparator orderByComparator, boolean previous)
public void removeByRowId(long rowId) throws SystemException
removeByRowId
in interface ExpandoValuePersistence
rowId
- the row ID
SystemException
- if a system exception occurredpublic int countByRowId(long rowId) throws SystemException
countByRowId
in interface ExpandoValuePersistence
rowId
- the row ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_C(long tableId, long columnId) throws SystemException
findByT_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_C(long tableId, long columnId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_C_First
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_C_First(long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException
fetchByT_C_First
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_C_Last
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_C_Last(long tableId, long columnId, OrderByComparator orderByComparator) throws SystemException
fetchByT_C_Last
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByT_C_PrevAndNext(long valueId, long tableId, long columnId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_C_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuetableId
- the table IDcolumnId
- the column IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByT_C_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long columnId, OrderByComparator orderByComparator, boolean previous)
public void removeByT_C(long tableId, long columnId) throws SystemException
removeByT_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column ID
SystemException
- if a system exception occurredpublic int countByT_C(long tableId, long columnId) throws SystemException
countByT_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_CPK(long tableId, long classPK) throws SystemException
findByT_CPK
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_CPK
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_CPK(long tableId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_CPK
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_CPK_First
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_CPK_First(long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException
fetchByT_CPK_First
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_CPK_Last
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_CPK_Last(long tableId, long classPK, OrderByComparator orderByComparator) throws SystemException
fetchByT_CPK_Last
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByT_CPK_PrevAndNext(long valueId, long tableId, long classPK, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_CPK_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuetableId
- the table IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByT_CPK_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long classPK, OrderByComparator orderByComparator, boolean previous)
public void removeByT_CPK(long tableId, long classPK) throws SystemException
removeByT_CPK
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic int countByT_CPK(long tableId, long classPK) throws SystemException
countByT_CPK
in interface ExpandoValuePersistence
tableId
- the table IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_R(long tableId, long rowId) throws SystemException
findByT_R
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_R
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_R
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row IDstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_R_First
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_R_First(long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException
fetchByT_R_First
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_R_Last
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_R_Last(long tableId, long rowId, OrderByComparator orderByComparator) throws SystemException
fetchByT_R_Last
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByT_R_PrevAndNext(long valueId, long tableId, long rowId, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_R_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuetableId
- the table IDrowId
- the row IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByT_R_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long rowId, OrderByComparator orderByComparator, boolean previous)
public void removeByT_R(long tableId, long rowId) throws SystemException
removeByT_R
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row ID
SystemException
- if a system exception occurredpublic int countByT_R(long tableId, long rowId) throws SystemException
countByT_R
in interface ExpandoValuePersistence
tableId
- the table IDrowId
- the row ID
SystemException
- if a system exception occurredpublic ExpandoValue findByC_R(long columnId, long rowId) throws NoSuchValueException, SystemException
NoSuchValueException
if it could not be found.
findByC_R
in interface ExpandoValuePersistence
columnId
- the column IDrowId
- the row ID
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByC_R(long columnId, long rowId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_R
in interface ExpandoValuePersistence
columnId
- the column IDrowId
- the row ID
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByC_R(long columnId, long rowId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_R
in interface ExpandoValuePersistence
columnId
- the column IDrowId
- the row IDretrieveFromCache
- whether to use the finder cache
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue removeByC_R(long columnId, long rowId) throws NoSuchValueException, SystemException
removeByC_R
in interface ExpandoValuePersistence
columnId
- the column IDrowId
- the row ID
SystemException
- if a system exception occurred
NoSuchValueException
public int countByC_R(long columnId, long rowId) throws SystemException
countByC_R
in interface ExpandoValuePersistence
columnId
- the column IDrowId
- the row ID
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByC_C(long classNameId, long classPK) throws SystemException
findByC_C
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByC_C_First
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
fetchByC_C_First
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByC_C_Last
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
fetchByC_C_Last
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByC_C_PrevAndNext(long valueId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByC_C_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valueclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByC_C_PrevAndNext(Session session, ExpandoValue expandoValue, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
public void removeByC_C(long classNameId, long classPK) throws SystemException
removeByC_C
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic int countByC_C(long classNameId, long classPK) throws SystemException
countByC_C
in interface ExpandoValuePersistence
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic ExpandoValue findByT_C_C(long tableId, long columnId, long classPK) throws NoSuchValueException, SystemException
NoSuchValueException
if it could not be found.
findByT_C_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByT_C_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_C_C(long tableId, long columnId, long classPK, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByT_C_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p kretrieveFromCache
- whether to use the finder cache
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue removeByT_C_C(long tableId, long columnId, long classPK) throws NoSuchValueException, SystemException
removeByT_C_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
SystemException
- if a system exception occurred
NoSuchValueException
public int countByT_C_C(long tableId, long columnId, long classPK) throws SystemException
countByT_C_C
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data) throws SystemException
findByT_C_D
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the data
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_C_D
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the datastart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findByT_C_D(long tableId, long columnId, String data, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_C_D
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the datastart
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic ExpandoValue findByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_C_D_First
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_C_D_First(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException
fetchByT_C_D_First
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_C_D_Last
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByT_C_D_Last(long tableId, long columnId, String data, OrderByComparator orderByComparator) throws SystemException
fetchByT_C_D_Last
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching expando value could not be found
SystemException
- if a system exception occurredpublic ExpandoValue[] findByT_C_D_PrevAndNext(long valueId, long tableId, long columnId, String data, OrderByComparator orderByComparator) throws NoSuchValueException, SystemException
findByT_C_D_PrevAndNext
in interface ExpandoValuePersistence
valueId
- the primary key of the current expando valuetableId
- the table IDcolumnId
- the column IDdata
- the dataorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue getByT_C_D_PrevAndNext(Session session, ExpandoValue expandoValue, long tableId, long columnId, String data, OrderByComparator orderByComparator, boolean previous)
public void removeByT_C_D(long tableId, long columnId, String data) throws SystemException
removeByT_C_D
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the data
SystemException
- if a system exception occurredpublic int countByT_C_D(long tableId, long columnId, String data) throws SystemException
countByT_C_D
in interface ExpandoValuePersistence
tableId
- the table IDcolumnId
- the column IDdata
- the data
SystemException
- if a system exception occurredpublic void cacheResult(ExpandoValue expandoValue)
cacheResult
in interface ExpandoValuePersistence
expandoValue
- the expando valuepublic void cacheResult(List<ExpandoValue> expandoValues)
cacheResult
in interface ExpandoValuePersistence
expandoValues
- the expando valuespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<ExpandoValue>
clearCache
in class BasePersistenceImpl<ExpandoValue>
public void clearCache(ExpandoValue expandoValue)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<ExpandoValue>
clearCache
in class BasePersistenceImpl<ExpandoValue>
expandoValue
- the instance of this model to clear the cache forpublic void clearCache(List<ExpandoValue> expandoValues)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<ExpandoValue>
clearCache
in class BasePersistenceImpl<ExpandoValue>
expandoValues
- the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(ExpandoValue expandoValue)
protected void clearUniqueFindersCache(ExpandoValue expandoValue)
public ExpandoValue create(long valueId)
create
in interface ExpandoValuePersistence
valueId
- the primary key for the new expando value
public ExpandoValue remove(long valueId) throws NoSuchValueException, SystemException
remove
in interface ExpandoValuePersistence
valueId
- the primary key of the expando value
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic ExpandoValue remove(Serializable primaryKey) throws NoSuchValueException, SystemException
remove
in interface BasePersistence<ExpandoValue>
remove
in class BasePersistenceImpl<ExpandoValue>
primaryKey
- the primary key of the expando value
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredprotected ExpandoValue removeImpl(ExpandoValue expandoValue) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<ExpandoValue>
expandoValue
- the model instance to remove
SystemException
- if a system exception occurredpublic ExpandoValue updateImpl(ExpandoValue expandoValue) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface ExpandoValuePersistence
updateImpl
in class BasePersistenceImpl<ExpandoValue>
expandoValue
- the model instance to update
SystemException
- if a system exception occurredprotected ExpandoValue toUnwrappedModel(ExpandoValue expandoValue)
public ExpandoValue findByPrimaryKey(Serializable primaryKey) throws NoSuchValueException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<ExpandoValue>
findByPrimaryKey
in class BasePersistenceImpl<ExpandoValue>
primaryKey
- the primary key of the expando value
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic ExpandoValue findByPrimaryKey(long valueId) throws NoSuchValueException, SystemException
NoSuchValueException
if it could not be found.
findByPrimaryKey
in interface ExpandoValuePersistence
valueId
- the primary key of the expando value
NoSuchValueException
- if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<ExpandoValue>
fetchByPrimaryKey
in class BasePersistenceImpl<ExpandoValue>
primaryKey
- the primary key of the expando value
null
if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic ExpandoValue fetchByPrimaryKey(long valueId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface ExpandoValuePersistence
valueId
- the primary key of the expando value
null
if a expando value with the primary key could not be found
SystemException
- if a system exception occurredpublic List<ExpandoValue> findAll() throws SystemException
findAll
in interface ExpandoValuePersistence
SystemException
- if a system exception occurredpublic List<ExpandoValue> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface ExpandoValuePersistence
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)
SystemException
- if a system exception occurredpublic List<ExpandoValue> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExpandoValueModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface ExpandoValuePersistence
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface ExpandoValuePersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface ExpandoValuePersistence
SystemException
- if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames
in class BasePersistenceImpl<ExpandoValue>
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |