|
Liferay 7.0-ce-b4 | |||||||||
| 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.impl.ExpandoValuePersistenceImpl
@ProviderType 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 |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(ExpandoValueModelImpl expandoValueModelImpl,
boolean isNew)
|
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(ExpandoValueModelImpl expandoValueModelImpl)
|
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<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where classNameId = ? and classPK = ?. |
ExpandoValue |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where columnId = ?. |
ExpandoValue |
fetchByColumnId_Last(long columnId,
OrderByComparator<ExpandoValue> 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. |
Map<Serializable,ExpandoValue> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
ExpandoValue |
fetchByRowId_First(long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where rowId = ?. |
ExpandoValue |
fetchByRowId_Last(long rowId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and columnId = ?. |
ExpandoValue |
fetchByT_C_Last(long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and columnId = ?. |
ExpandoValue |
fetchByT_CPK_First(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and classPK = ?. |
ExpandoValue |
fetchByT_CPK_Last(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and classPK = ?. |
ExpandoValue |
fetchByT_R_First(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and rowId = ?. |
ExpandoValue |
fetchByT_R_Last(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the last expando value in the ordered set where tableId = ? and rowId = ?. |
ExpandoValue |
fetchByTableId_First(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ?. |
ExpandoValue |
fetchByTableId_Last(long tableId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values. |
List<ExpandoValue> |
findAll(int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the expando values. |
ExpandoValue |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where classNameId = ? and classPK = ?. |
ExpandoValue |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where classNameId = ? and classPK = ?. |
List<ExpandoValue> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where columnId = ?. |
ExpandoValue |
findByColumnId_Last(long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the last expando value in the ordered set where columnId = ?. |
ExpandoValue[] |
findByColumnId_PrevAndNext(long valueId,
long columnId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where columnId = ?. |
List<ExpandoValue> |
findByColumnId(long columnId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where rowId = ?. |
ExpandoValue |
findByRowId_Last(long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the last expando value in the ordered set where rowId = ?. |
ExpandoValue[] |
findByRowId_PrevAndNext(long valueId,
long rowId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where rowId = ?. |
List<ExpandoValue> |
findByRowId(long rowId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered 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<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the expando values where tableId = ? and columnId = ? and data = ?. |
ExpandoValue |
findByT_C_First(long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and columnId = ?. |
ExpandoValue |
findByT_C_Last(long tableId,
long columnId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and columnId = ?. |
List<ExpandoValue> |
findByT_C(long tableId,
long columnId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the expando values where tableId = ? and columnId = ?. |
ExpandoValue |
findByT_CPK_First(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and classPK = ?. |
ExpandoValue |
findByT_CPK_Last(long tableId,
long classPK,
OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and classPK = ?. |
List<ExpandoValue> |
findByT_CPK(long tableId,
long classPK,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the expando values where tableId = ? and classPK = ?. |
ExpandoValue |
findByT_R_First(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ? and rowId = ?. |
ExpandoValue |
findByT_R_Last(long tableId,
long rowId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where tableId = ? and rowId = ?. |
List<ExpandoValue> |
findByT_R(long tableId,
long rowId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the expando values where tableId = ? and rowId = ?. |
ExpandoValue |
findByTableId_First(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the first expando value in the ordered set where tableId = ?. |
ExpandoValue |
findByTableId_Last(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
Returns the last expando value in the ordered set where tableId = ?. |
ExpandoValue[] |
findByTableId_PrevAndNext(long valueId,
long tableId,
OrderByComparator<ExpandoValue> 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<ExpandoValue> orderByComparator)
Returns an ordered range of all the expando values where tableId = ?. |
List<ExpandoValue> |
findByTableId(long tableId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the expando values where tableId = ?. |
Set<String> |
getBadColumnNames()
|
protected ExpandoValue |
getByC_C_PrevAndNext(Session session,
ExpandoValue expandoValue,
long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByColumnId_PrevAndNext(Session session,
ExpandoValue expandoValue,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByRowId_PrevAndNext(Session session,
ExpandoValue expandoValue,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByT_C_D_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByT_C_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByT_CPK_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByT_R_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected ExpandoValue |
getByTableId_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
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, getColumnName, 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_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_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_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
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public ExpandoValuePersistenceImpl()
| Method Detail |
|---|
public List<ExpandoValue> findByTableId(long tableId)
findByTableId in interface ExpandoValuePersistencetableId - the table ID
public List<ExpandoValue> findByTableId(long tableId,
int start,
int end)
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 ExpandoValuePersistencetableId - the table IDstart - the lower bound of the range of expando valuesend - the upper bound of the range of expando values (not inclusive)
public List<ExpandoValue> findByTableId(long tableId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByTableId(long tableId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencetableId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByTableId_First(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByTableId_First in interface ExpandoValuePersistencetableId - the table IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByTableId_First(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByTableId_First in interface ExpandoValuePersistencetableId - the table IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching expando value could not be found
public ExpandoValue findByTableId_Last(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByTableId_Last in interface ExpandoValuePersistencetableId - the table IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByTableId_Last(long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByTableId_Last in interface ExpandoValuePersistencetableId - the table IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching expando value could not be found
public ExpandoValue[] findByTableId_PrevAndNext(long valueId,
long tableId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByTableId_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByTableId_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByTableId(long tableId)
removeByTableId in interface ExpandoValuePersistencetableId - the table IDpublic int countByTableId(long tableId)
countByTableId in interface ExpandoValuePersistencetableId - the table ID
public List<ExpandoValue> findByColumnId(long columnId)
findByColumnId in interface ExpandoValuePersistencecolumnId - the column ID
public List<ExpandoValue> findByColumnId(long columnId,
int start,
int end)
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 ExpandoValuePersistencecolumnId - the column IDstart - the lower bound of the range of expando valuesend - the upper bound of the range of expando values (not inclusive)
public List<ExpandoValue> findByColumnId(long columnId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencecolumnId - 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)
public List<ExpandoValue> findByColumnId(long columnId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencecolumnId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByColumnId_First(long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByColumnId_First in interface ExpandoValuePersistencecolumnId - the column IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByColumnId_First(long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByColumnId_First in interface ExpandoValuePersistencecolumnId - the column IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching expando value could not be found
public ExpandoValue findByColumnId_Last(long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByColumnId_Last in interface ExpandoValuePersistencecolumnId - the column IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByColumnId_Last(long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByColumnId_Last in interface ExpandoValuePersistencecolumnId - the column IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching expando value could not be found
public ExpandoValue[] findByColumnId_PrevAndNext(long valueId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByColumnId_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByColumnId_PrevAndNext(Session session,
ExpandoValue expandoValue,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByColumnId(long columnId)
removeByColumnId in interface ExpandoValuePersistencecolumnId - the column IDpublic int countByColumnId(long columnId)
countByColumnId in interface ExpandoValuePersistencecolumnId - the column ID
public List<ExpandoValue> findByRowId(long rowId)
findByRowId in interface ExpandoValuePersistencerowId - the row ID
public List<ExpandoValue> findByRowId(long rowId,
int start,
int end)
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 ExpandoValuePersistencerowId - the row IDstart - the lower bound of the range of expando valuesend - the upper bound of the range of expando values (not inclusive)
public List<ExpandoValue> findByRowId(long rowId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencerowId - 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)
public List<ExpandoValue> findByRowId(long rowId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencerowId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByRowId_First(long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByRowId_First in interface ExpandoValuePersistencerowId - the row IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByRowId_First(long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByRowId_First in interface ExpandoValuePersistencerowId - the row IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching expando value could not be found
public ExpandoValue findByRowId_Last(long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByRowId_Last in interface ExpandoValuePersistencerowId - the row IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByRowId_Last(long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByRowId_Last in interface ExpandoValuePersistencerowId - the row IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching expando value could not be found
public ExpandoValue[] findByRowId_PrevAndNext(long valueId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByRowId_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByRowId_PrevAndNext(Session session,
ExpandoValue expandoValue,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByRowId(long rowId)
removeByRowId in interface ExpandoValuePersistencerowId - the row IDpublic int countByRowId(long rowId)
countByRowId in interface ExpandoValuePersistencerowId - the row ID
public List<ExpandoValue> findByT_C(long tableId,
long columnId)
findByT_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column ID
public List<ExpandoValue> findByT_C(long tableId,
long columnId,
int start,
int end)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_C(long tableId,
long columnId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_C(long tableId,
long columnId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencetableId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByT_C_First(long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_C_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_C_First(long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_C_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue findByT_C_Last(long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_C_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_C_Last(long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_C_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue[] findByT_C_PrevAndNext(long valueId,
long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_C_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByT_C_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long columnId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByT_C(long tableId,
long columnId)
removeByT_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column ID
public int countByT_C(long tableId,
long columnId)
countByT_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column ID
public List<ExpandoValue> findByT_R(long tableId,
long rowId)
findByT_R in interface ExpandoValuePersistencetableId - the table IDrowId - the row ID
public List<ExpandoValue> findByT_R(long tableId,
long rowId,
int start,
int end)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_R(long tableId,
long rowId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_R(long tableId,
long rowId,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencetableId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByT_R_First(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_R_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_R_First(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_R_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue findByT_R_Last(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_R_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_R_Last(long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_R_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue[] findByT_R_PrevAndNext(long valueId,
long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_R_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByT_R_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long rowId,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByT_R(long tableId,
long rowId)
removeByT_R in interface ExpandoValuePersistencetableId - the table IDrowId - the row ID
public int countByT_R(long tableId,
long rowId)
countByT_R in interface ExpandoValuePersistencetableId - the table IDrowId - the row ID
public List<ExpandoValue> findByT_CPK(long tableId,
long classPK)
findByT_CPK in interface ExpandoValuePersistencetableId - the table IDclassPK - the class p k
public List<ExpandoValue> findByT_CPK(long tableId,
long classPK,
int start,
int end)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_CPK(long tableId,
long classPK,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_CPK(long tableId,
long classPK,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencetableId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByT_CPK_First(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_CPK_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_CPK_First(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_CPK_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue findByT_CPK_Last(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_CPK_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_CPK_Last(long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_CPK_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue[] findByT_CPK_PrevAndNext(long valueId,
long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_CPK_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByT_CPK_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByT_CPK(long tableId,
long classPK)
removeByT_CPK in interface ExpandoValuePersistencetableId - the table IDclassPK - the class p k
public int countByT_CPK(long tableId,
long classPK)
countByT_CPK in interface ExpandoValuePersistencetableId - the table IDclassPK - the class p k
public ExpandoValue findByC_R(long columnId,
long rowId)
throws NoSuchValueException
NoSuchValueException if it could not be found.
findByC_R in interface ExpandoValuePersistencecolumnId - the column IDrowId - the row ID
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByC_R(long columnId,
long rowId)
null if it could not be found. Uses the finder cache.
fetchByC_R in interface ExpandoValuePersistencecolumnId - the column IDrowId - the row ID
null if a matching expando value could not be found
public ExpandoValue fetchByC_R(long columnId,
long rowId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByC_R in interface ExpandoValuePersistencecolumnId - the column IDrowId - the row IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching expando value could not be found
public ExpandoValue removeByC_R(long columnId,
long rowId)
throws NoSuchValueException
removeByC_R in interface ExpandoValuePersistencecolumnId - the column IDrowId - the row ID
NoSuchValueException
public int countByC_R(long columnId,
long rowId)
countByC_R in interface ExpandoValuePersistencecolumnId - the column IDrowId - the row ID
public List<ExpandoValue> findByC_C(long classNameId,
long classPK)
findByC_C in interface ExpandoValuePersistenceclassNameId - the class name IDclassPK - the class p k
public List<ExpandoValue> findByC_C(long classNameId,
long classPK,
int start,
int end)
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 ExpandoValuePersistenceclassNameId - 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)
public List<ExpandoValue> findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistenceclassNameId - 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)
public List<ExpandoValue> findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistenceclassNameId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByC_C_First(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByC_C_First in interface ExpandoValuePersistenceclassNameId - 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
public ExpandoValue fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByC_C_First in interface ExpandoValuePersistenceclassNameId - 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
public ExpandoValue findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByC_C_Last in interface ExpandoValuePersistenceclassNameId - 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
public ExpandoValue fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByC_C_Last in interface ExpandoValuePersistenceclassNameId - 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
public ExpandoValue[] findByC_C_PrevAndNext(long valueId,
long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByC_C_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByC_C_PrevAndNext(Session session,
ExpandoValue expandoValue,
long classNameId,
long classPK,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByC_C(long classNameId,
long classPK)
removeByC_C in interface ExpandoValuePersistenceclassNameId - the class name IDclassPK - the class p k
public int countByC_C(long classNameId,
long classPK)
countByC_C in interface ExpandoValuePersistenceclassNameId - the class name IDclassPK - the class p k
public ExpandoValue findByT_C_C(long tableId,
long columnId,
long classPK)
throws NoSuchValueException
NoSuchValueException if it could not be found.
findByT_C_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDclassPK - the class p k
NoSuchValueException - if a matching expando value could not be found
public ExpandoValue fetchByT_C_C(long tableId,
long columnId,
long classPK)
null if it could not be found. Uses the finder cache.
fetchByT_C_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDclassPK - the class p k
null if a matching expando value could not be found
public ExpandoValue fetchByT_C_C(long tableId,
long columnId,
long classPK,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByT_C_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDclassPK - the class p kretrieveFromCache - whether to retrieve from the finder cache
null if a matching expando value could not be found
public ExpandoValue removeByT_C_C(long tableId,
long columnId,
long classPK)
throws NoSuchValueException
removeByT_C_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDclassPK - the class p k
NoSuchValueException
public int countByT_C_C(long tableId,
long columnId,
long classPK)
countByT_C_C in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDclassPK - the class p k
public List<ExpandoValue> findByT_C_D(long tableId,
long columnId,
String data)
findByT_C_D in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDdata - the data
public List<ExpandoValue> findByT_C_D(long tableId,
long columnId,
String data,
int start,
int end)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_C_D(long tableId,
long columnId,
String data,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencetableId - 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)
public List<ExpandoValue> findByT_C_D(long tableId,
long columnId,
String data,
int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencetableId - 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)retrieveFromCache - whether to retrieve from the finder cache
public ExpandoValue findByT_C_D_First(long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_C_D_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_C_D_First(long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_C_D_First in interface ExpandoValuePersistencetableId - 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
public ExpandoValue findByT_C_D_Last(long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_C_D_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue fetchByT_C_D_Last(long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator)
fetchByT_C_D_Last in interface ExpandoValuePersistencetableId - 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
public ExpandoValue[] findByT_C_D_PrevAndNext(long valueId,
long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator)
throws NoSuchValueException
findByT_C_D_PrevAndNext in interface ExpandoValuePersistencevalueId - 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
protected ExpandoValue getByT_C_D_PrevAndNext(Session session,
ExpandoValue expandoValue,
long tableId,
long columnId,
String data,
OrderByComparator<ExpandoValue> orderByComparator,
boolean previous)
public void removeByT_C_D(long tableId,
long columnId,
String data)
removeByT_C_D in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDdata - the data
public int countByT_C_D(long tableId,
long columnId,
String data)
countByT_C_D in interface ExpandoValuePersistencetableId - the table IDcolumnId - the column IDdata - the data
public void cacheResult(ExpandoValue expandoValue)
cacheResult in interface ExpandoValuePersistenceexpandoValue - the expando valuepublic void cacheResult(List<ExpandoValue> expandoValues)
cacheResult in interface ExpandoValuePersistenceexpandoValues - 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 for
protected void cacheUniqueFindersCache(ExpandoValueModelImpl expandoValueModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(ExpandoValueModelImpl expandoValueModelImpl)
public ExpandoValue create(long valueId)
create in interface ExpandoValuePersistencevalueId - the primary key for the new expando value
public ExpandoValue remove(long valueId)
throws NoSuchValueException
remove in interface ExpandoValuePersistencevalueId - the primary key of the expando value
NoSuchValueException - if a expando value with the primary key could not be found
public ExpandoValue remove(Serializable primaryKey)
throws NoSuchValueException
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 foundprotected ExpandoValue removeImpl(ExpandoValue expandoValue)
BasePersistenceImplBasePersistenceImpl.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
public ExpandoValue updateImpl(ExpandoValue expandoValue)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface ExpandoValuePersistenceupdateImpl in class BasePersistenceImpl<ExpandoValue>expandoValue - the model instance to update
protected ExpandoValue toUnwrappedModel(ExpandoValue expandoValue)
public ExpandoValue findByPrimaryKey(Serializable primaryKey)
throws NoSuchValueException
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
public ExpandoValue findByPrimaryKey(long valueId)
throws NoSuchValueException
NoSuchValueException if it could not be found.
findByPrimaryKey in interface ExpandoValuePersistencevalueId - the primary key of the expando value
NoSuchValueException - if a expando value with the primary key could not be foundpublic ExpandoValue fetchByPrimaryKey(Serializable primaryKey)
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 foundpublic ExpandoValue fetchByPrimaryKey(long valueId)
null if it could not be found.
fetchByPrimaryKey in interface ExpandoValuePersistencevalueId - the primary key of the expando value
null if a expando value with the primary key could not be foundpublic Map<Serializable,ExpandoValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<ExpandoValue>fetchByPrimaryKeys in interface ExpandoValuePersistencefetchByPrimaryKeys in class BasePersistenceImpl<ExpandoValue>public List<ExpandoValue> findAll()
findAll in interface ExpandoValuePersistence
public List<ExpandoValue> findAll(int start,
int end)
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 ExpandoValuePersistencestart - the lower bound of the range of expando valuesend - the upper bound of the range of expando values (not inclusive)
public List<ExpandoValue> findAll(int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator)
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 ExpandoValuePersistencestart - 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)
public List<ExpandoValue> findAll(int start,
int end,
OrderByComparator<ExpandoValue> orderByComparator,
boolean retrieveFromCache)
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 ExpandoValuePersistencestart - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface ExpandoValuePersistencepublic int countAll()
countAll in interface ExpandoValuePersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<ExpandoValue>getBadColumnNames in interface ExpandoValuePersistencegetBadColumnNames in class BasePersistenceImpl<ExpandoValue>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<ExpandoValue>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||